Text is not clearly visible in TextView? - android

I am working in android. I am designing a login page.
This is my xml:-
<LinearLayout
android:layout_marginLeft="10dip"
android:layout_height="fill_parent"
android:layout_width="fill_parent"
android:layout_weight="1"
android:layout_marginRight="10dip"
android:id="#+id/loginlayout"
android:orientation="vertical"
android:gravity="center_vertical|center_horizontal"
android:soundEffectsEnabled="false">
<LinearLayout
android:layout_height="wrap_content"
android:layout_width="wrap_content"
android:background="#drawable/rounded_corners_white"
android:padding="20dp"
android:orientation="vertical">
<TextView
android:id="#+id/Text_UID"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="User Id"
android:textColor="#000000"
android:textSize="8pt" />
</TextView>
<EditText
android:layout_height="wrap_content"
android:id="#+id/EditText_UID"
android:layout_width="200dp"
android:background="#drawable/text_box">
</EditText>
<TextView
android:id="#+id/Text_UID"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:textColor="#000000"
android:text="Password"
android:textSize="8pt">
</TextView>
<EditText
android:text=""
android:id="#+id/EditText_Pass"
android:layout_width="200dp"
android:layout_height="wrap_content"
android:background="#drawable/text_box">
</EditText>
<RelativeLayout
android:layout_height="35px"
android:layout_width="fill_parent"
android:layout_marginTop="10dp">
<Button
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="Login"
android:id="#+id/Button_Submit"
android:textColor="#FFFFFF"
android:clickable="true"
android:layout_toRightOf="#id/Button_Register"
android:background="#drawable/button_register_right"
android:layout_alignParentTop="true"
android:textSize="5pt">
</Button>
</RelativeLayout>
</LinearLayout>
</LinearLayout>
whenever i enter user name then it is visible to user, but when i enter password then the entered text is not visible till the android device keyboard is active. When i press back button to remove android device keyboard then it is visible means password dot visible to user.
but when i run this project on system then both userid and password both are visible. please suggest me what should i do for this. is this matter of device dependent ?

Use this attribute in your Password EditText :
android:inputType="textPassword"

Try this layout
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_marginLeft="10dip"
android:layout_height="fill_parent"
android:layout_width="fill_parent"
android:layout_weight="1"
android:layout_marginRight="10dip"
android:id="#+id/loginlayout"
android:orientation="vertical"
android:gravity="center_vertical|center_horizontal"
android:soundEffectsEnabled="false">
<LinearLayout
android:layout_height="wrap_content"
android:layout_width="wrap_content"
android:background="#drawable/rounded_corners_white"
android:padding="20dp"
android:orientation="vertical">
<TextView
android:id="#+id/Text_UID"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="User Id"
android:textColor="#000000"
android:textSize="8pt" />
<EditText
android:layout_height="wrap_content"
android:id="#+id/EditText_UID"
android:layout_width="200dp"
android:background="#drawable/text_box"/>
<TextView
android:id="#+id/Text_UID"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:textColor="#000000"
android:text="Password"
android:textSize="8pt"/>
<EditText
android:text=""
android:id="#+id/EditText_Pass"
android:layout_width="200dp"
android:layout_height="wrap_content"
android:background="#drawable/text_box"
android:inputType="textPassword"/>
<RelativeLayout
android:layout_height="35px"
android:layout_width="fill_parent"
android:layout_marginTop="10dp">
<Button
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="Login"
android:id="#+id/Button_Submit"
android:textColor="#FFFFFF"
android:clickable="true"
android:layout_toRightOf="#id/Button_Register"
android:background="#drawable/button_register_right"
android:layout_alignParentTop="true"
android:textSize="5pt">
</Button>
</RelativeLayout>
</LinearLayout>
</LinearLayout>
you forget to set the input into the password field

Have you tried removing the weight attribute from your outermost LinearLayout, and have you tried wrapping the whole thing in a ScrollView?

Related

Scrollview doesn't show full content [Android]

I have a problem with Scrollview on Android. The problem is showing all content in a register form.
XML Layout
<LinearLayout
xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:orientation="vertical"
android:background="#drawable/app_background"
tools:context=".RegisterActivity"
xmlns:tools="http://schemas.android.com/tools">
<ScrollView
android:layout_width="match_parent"
android:layout_height="fill_parent"
android:paddingLeft="10dp"
android:paddingRight="10dp"
>
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="vertical"
android:layout_gravity="center">
<TextView
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:gravity="center_horizontal"
android:text="#string/register_header"
android:textSize="30sp"
android:textColor="#000000"
android:textStyle="bold"
android:layout_marginBottom="30dp"
/>
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="#string/register_loginField"
android:textColor="#000000"
android:textStyle="bold"
android:textSize="18sp"
android:layout_marginBottom="8dp"
/>
<EditText
android:id="#+id/register_input_email"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:inputType="textEmailAddress"
android:textColor="#000000"
android:hint="#string/hint_login"
android:layout_marginBottom="20dp"
/>
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="#string/register_password"
android:textColor="#000000"
android:textStyle="bold"
android:textSize="18sp"
android:layout_marginBottom="20dp"
/>
<EditText
android:id="#+id/register_input_passw"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:inputType="textPassword"
android:textColor="#000000"
android:hint="#string/hint_passw"
android:layout_marginBottom="20dp"
/>
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="#string/register_repeatpass"
android:textColor="#000000"
android:textStyle="bold"
android:textSize="18sp"
android:layout_marginBottom="20dp"
/>
<EditText
android:id="#+id/register_input_passwre"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:inputType="textPassword"
android:textColor="#000000"
android:hint="#string/hint_passw"
android:layout_marginBottom="20dp"
/>
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="#string/register_gender"
android:textColor="#000000"
android:textStyle="bold"
android:textSize="18sp"
android:layout_marginBottom="20dp"
/>
<RadioGroup
android:id="#+id/register_radiog"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="vertical"
>
<RadioButton
android:id="#+id/register_radioM"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="#string/register_gMale"
android:textSize="16sp"
/>
<RadioButton
android:id="#+id/register_radioF"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="#string/register_gFemale"
android:textSize="16sp"
android:layout_marginBottom="20dp"
/>
</RadioGroup>
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="#string/register_name"
android:textColor="#000000"
android:textStyle="bold"
android:textSize="18sp"
/>
<EditText
android:id="#+id/register_input_name"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:inputType="textPassword"
android:textColor="#000000"
android:hint="#string/hint_name"
/>
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="#string/register_age"
android:textColor="#000000"
android:textStyle="bold"
android:textSize="18sp"
/>
<EditText
android:id="#+id/register_input_date"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:inputType="textPassword"
android:textColor="#000000"
/>
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:gravity="center_horizontal"
android:orientation="horizontal" >
<CheckBox
android:id="#+id/register_input_termsofuse"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginRight="8dp" />
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="#string/register_termsofuse"
android:textSize="16sp"
android:textColor="#000000"
android:textStyle="bold"/>
</LinearLayout>
<RelativeLayout
android:layout_width="match_parent"
android:layout_height="wrap_content">
<Button
android:id="#+id/register_btSignup"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_centerInParent="true"
android:background="#fc9a24"
android:paddingLeft="30dp"
android:paddingRight="30dp"
android:text="#string/register_btSignup"
android:textStyle="bold"
android:textSize="16sp"
android:textColor="#FFFFFF"
/>
</RelativeLayout>
</LinearLayout>
</ScrollView>
</LinearLayout>
But when I execute in my Android device I can't see the register_header textview.
Also when I click on one EditText, my device show keyboard, and all view is pushed up, hidding more items (email textview and edittext).
How can I solve this?
In this first image, as you can see header isn't showing. This is bad...
In this second image, I can scroll and see register button, this is good.
And in this third image, when keyboard appears and I go to top of the scrollview I can't see the register_header, the email input and email textview
How can I, fix layout position (not push up when keyboard appears) and show all content inside Scrollview.
Thx
Add this to your activity in your manifest
<activity android:windowSoftInputMode="adjustPan"> </activity>
The activity's main window is not resized to make room for the soft
keyboard. Rather, the contents of the window are automatically panned
so that the current focus is never obscured by the keyboard and users
can always see what they are typing. This is generally less desirable
than resizing, because the user may need to close the soft keyboard to
get at and interact with obscured parts of the window.

LinearLayout in ScrollView not displaying button

In the following code:
<ScrollView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
xmlns:android="http://schemas.android.com/apk/res/android">
<LinearLayout
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:paddingLeft="16dp"
android:paddingRight="16dp"
android:orientation="vertical">
<TextView
android:layout_marginTop="20dp"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:textSize="27sp"
android:text="#string/create_card_text"/>
<TextView
android:layout_marginTop="20dp"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:textSize="24sp"
android:textColor="#ff949494"
android:text="#string/create_card_info_text_one"/>
<EditText
android:id="#+id/name"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:layout_marginTop="40dp"
android:hint="Name"/>
<EditText
android:id="#+id/email"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:layout_marginTop="20dp"
android:inputType="textEmailAddress"
android:hint="Email"/>
<TextView
android:id="#+id/phone_number"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:textSize="20sp"
android:layout_marginLeft="10dp"
android:layout_marginTop="20dp"
android:hint="Phone Number"/>
<Button
android:id="#+id/next_button"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginTop="20dp"
android:layout_marginLeft="280dp"
android:text="#string/create_card_next_button"
android:onClick="next"/>
</LinearLayout>
</ScrollView>
The button just does not shows up. What could be wrong?
Try like this.
You have set android:layout_marginLeft="280dp" so replace this with
android:layout_marginLeft="20dp" or something else
so basically your button's code will look something like this
<Button
android:id="#+id/next_button"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginTop="20dp"
android:layout_marginLeft="20dp"
android:text="#string/create_card_next_button"
android:onClick="next"/>
I think you have set margin left to 280dp which is causing problem and making it out of your screen set it to 20dp or as per your screen requirement as you have set other and it should work.

moving button bar

I have an activity that allows me to enter content. It consists of edit text and button bar. Whenever I what to input something to the edit text, a keyboard pops up and the button bar is on top if it so I can't see what I'm typing if the content is long(it goes behind the button bar). How can i fix it ?
my code is:
<RelativeLayout
android:id="#+id/toplayout"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:layout_alignParentTop="true"
android:background="#drawable/notetop"
android:paddingBottom="5dp"
android:paddingLeft="5dp"
android:paddingTop="5dp" >
<TextView
android:id="#+id/title_text1"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="#string/title"
android:textColor="#000000"
android:textStyle="bold"
android:textSize="18sp" />
<EditText
android:id="#+id/etTitleJoke"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginLeft="5dp"
android:layout_toRightOf="#+id/title_text1"
android:background="#android:color/transparent"
android:hint="#string/no_title"
android:imeOptions="actionNext"
android:singleLine="true"
android:textColor="#000000"
android:textSize="18sp" >
</EditText>
</RelativeLayout>
<view
xmlns:android="http://schemas.android.com/apk/res/android"
android:id="#+id/etContentJoke"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_below="#+id/toplayout"
class="ie.myjokes.LineEditText"
android:background="#android:color/transparent"
android:capitalize="sentences"
android:scrollHorizontally="true"
android:fadingEdge="vertical"
android:gravity="top"
android:padding="5dp"
android:scrollbars="vertical"
android:textColor="#000000"
android:textSize="22sp" >
<requestFocus />
</view>
<LinearLayout
android:id="#+id/footer"
style="#android:style/ButtonBar"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:layout_alignParentBottom="true"
android:orientation="horizontal" >
<Button
android:id="#+id/btnSave"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_weight="1"
android:onClick="onClickSave"
android:text="#string/btn_save"
android:textColor="#000000" />
<Button
android:id="#+id/btnCancel"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_weight="1"
android:onClick="onClickCancel"
android:text="#string/btn_cancel"
android:textColor="#000000" />
</LinearLayout>
nevermind, I added this line into my activity and its gone now. Thank you
android:windowSoftInputMode="adjustPan"

Button need to move to top of the soft key

I have a login screen as shown in the picture.
When the soft key comes it hides the Login button. I need the button moves to the top of the soft key so that the user can click after entering the id and password.
Below is the layout......
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:orientation="vertical"
android:background="#drawable/background" >
<LinearLayout
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:orientation="vertical"
android:paddingLeft="20dp"
android:paddingRight="20dp"
android:paddingTop="50dp" >
<EditText
android:id="#+id/email_mob_edit"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:hint="E-MAIL"
android:layout_marginBottom="-1dp"
android:singleLine="true"
android:background="#drawable/edit_text_top_boarder"
android:paddingLeft="5dp"
android:textColor="#2c2a29"
android:inputType="textEmailAddress"
android:imeOptions="flagNavigateNext">
</EditText>
<ImageView
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:background="#drawable/table_cell_seperator"/>
<EditText
android:id="#+id/password_edit"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:inputType="textPassword"
android:hint="PASSWORD"
android:singleLine="true"
android:textColor="#2c2a29"
android:background="#drawable/table_cell_bottom"
android:paddingLeft="5dp"
android:imeOptions="actionDone"/>
</LinearLayout>
<TextView
android:id="#+id/forgot_password_text"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginTop="20dp"
android:gravity="center"
android:layout_gravity="center_horizontal"
android:textSize="16sp"
android:text="Glemt Password?"
android:textColor="#ffff"/>
<TextView
android:id="#+id/invalid_alert_text"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:layout_marginTop="10dp"
android:gravity="center"
android:text="Husk at udfylde e-mail/mobilnummer og password"
android:visibility="invisible"
android:textSize="16sp"
android:textColor="#ff0000"/>
<Button
android:id="#+id/login_button"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginTop="10dp"
android:gravity="center"
android:layout_gravity="center"
android:background="#drawable/login_xml"
android:textColor="#ffffff"/>
</LinearLayout>
set softinputmode to adjustpan|adjust-resize by adding following line to activity tag:
android:windowSoftInputMode="adjustResize|adjustPan"

Android: EditText pushes the layout to the top

I have a edit text in the bottom of my activity and when user click on the edit box it pushes the buttons and lables above it to futher top. How can I avoid this? when user clicks and types on the edit text it should not push the layout up.
<EditText android:gravity="top|left" android:hint="#string/description"
android:id="#+id/editText1des" android:layout_below="#+id/buildbtn" android:layout_alignLeft="#+id/buildbtn"
android:layout_alignRight="#+id/buildbtn" android:layout_marginTop="30dp" android:layout_height="fill_parent" android:layout_width="fill_parent"
android:inputType="textFilter|textMultiLine|textNoSuggestions" android:scrollHorizontally="true"></EditText>
Can someone please help me thanks.
full layout
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="fill_parent" android:layout_height="fill_parent"
android:orientation="vertical" android:id="#+id/homepgeaudiobtn"
android:background="#E6E7E2">
<RelativeLayout android:weightSum="1.0"
android:layout_width="fill_parent" android:layout_alignParentBottom="true"
android:background="#cf1616" android:layout_height="50dp">
<Button android:layout_alignParentRight="true"
android:background="#drawable/butonn" android:layout_height="30dp"
android:layout_width="90dp" android:textColor="#FFF" android:text="#string/btnSubmitString" android:id="#+id/sendincidentbtn" android:layout_margin="10dp"/>
<TextView android:id="#+id/textView1"
android:layout_height="wrap_content" android:layout_width="wrap_content"
android:text="RDMS" android:textColor="#FFF" android:textStyle="bold" android:layout_alignParentTop="true" android:layout_centerHorizontal="true" android:layout_alignParentBottom="true" android:textSize="35dp"></TextView>
<Button android:textColor="#FFF" android:layout_height="30dp" android:layout_width="90dp" android:layout_alignParentLeft="true" android:id="#+id/backid" android:background="#drawable/back_button" android:text="#string/gobackString" android:layout_margin="10dp"></Button>
</RelativeLayout>
<LinearLayout android:weightSum="1.0"
android:layout_width="fill_parent" android:layout_marginBottom="20dp"
android:background="#FFF" android:layout_height="65dp">
<Button android:id="#+id/allimagebtn" android:layout_weight=".30"
android:textColor="#FFF"
android:background="#drawable/cam_red" android:text="Images" android:paddingLeft="10dp" android:layout_marginTop="2dp" android:paddingTop="2dp" android:layout_width="100dp" android:layout_margin="2dp" android:layout_height="fill_parent" android:gravity="bottom"/>
<Button android:id="#+id/button2video" android:layout_weight=".30"
android:background="#drawable/vid_red" android:textColor="#FFF" android:text="Video Files" android:gravity="bottom" android:textSize="12dp" android:paddingLeft="10dp" android:paddingTop="2dp" android:layout_width="100dp" android:layout_marginTop="2dp" android:layout_height="fill_parent" android:layout_marginBottom="2dp"/>
<Button android:id="#+id/button3audio" android:layout_weight=".30"
android:textColor="#FFF"
android:background="#drawable/aud_red" android:text="Audio Files" android:gravity="bottom" android:textSize="12dp" android:paddingLeft="10dp" android:paddingTop="2dp" android:layout_marginTop="2dp" android:layout_width="100dp" android:layout_margin="2dp" android:layout_height="fill_parent"/>
</LinearLayout>
<LinearLayout android:layout_height="0px"
android:layout_width="0px" android:id="#+id/linearLayout2993"
android:focusable="true" android:focusableInTouchMode="true"></LinearLayout>
<TextView android:id="#+id/textView2" android:layout_width="wrap_content" android:layout_height="wrap_content" android:textColor="#000" android:textSize="20dp" android:textStyle="bold" android:text="Ipsum Lorem" android:paddingLeft="20dp"></TextView>
<RelativeLayout android:layout_width="fill_parent"
android:id="#+id/relativeLayout4" android:layout_height="fill_parent">
<TextView android:layout_height="0dp" android:text="TextView"
android:id="#+id/allincidentimagecount" android:layout_width="0dp"
android:layout_below="#+id/allimagebtn" android:layout_alignLeft="#+id/allimagebtn"
android:layout_alignRight="#+id/allimagebtn"></TextView>
<Button android:layout_below="#+id/allincidentimagecount"
android:layout_alignLeft="#+id/allincidentimagecount"
android:layout_width="fill_parent" android:text="#string/type"
android:id="#+id/typebtn" android:layout_marginTop="5sp" android:background="#drawable/tab_top" android:layout_height="40dp" android:gravity="left|fill_vertical" android:paddingLeft="10dp" android:textSize="20dp"></Button>
<Button android:text="#string/location"
android:layout_width="wrap_content" android:layout_below="#+id/typebtn"
android:layout_alignLeft="#+id/typebtn" android:layout_alignRight="#+id/typebtn"
android:id="#+id/locbtn" android:background="#drawable/tab_middle" android:layout_height="32dp" android:paddingLeft="10dp" android:gravity="left|fill_vertical" android:textSize="20dp"></Button>
<Button android:text="#string/building"
android:layout_width="wrap_content" android:layout_below="#+id/locbtn"
android:layout_alignLeft="#+id/locbtn" android:layout_alignRight="#+id/locbtn"
android:id="#+id/buildbtn" android:background="#drawable/tab_bottom" android:layout_height="43dp" android:paddingLeft="10dp" android:gravity="left|fill_vertical" android:textSize="20dp"></Button>
<EditText android:gravity="top|left" android:hint="#string/description"
android:id="#+id/editText1des" android:layout_below="#+id/buildbtn" android:layout_alignLeft="#+id/buildbtn"
android:layout_alignRight="#+id/buildbtn" android:layout_marginTop="30dp" android:inputType="textFilter|textMultiLine|textNoSuggestions" android:scrollHorizontally="true" android:layout_height="wrap_content" android:layout_width="wrap_content"></EditText>
<TextView android:layout_height="0dp" android:text="TextView"
android:layout_width="0dp" android:layout_below="#+id/button2video"
android:layout_alignLeft="#+id/button2video"
android:layout_alignRight="#+id/button2video" android:id="#+id/videovounttxt99"></TextView>
<TextView android:id="#+id/audiocounttxtx"
android:layout_height="0dp" android:text="TextView"
android:layout_width="0dp" android:layout_below="#+id/button3audio"
android:layout_alignLeft="#+id/button3audio"
android:layout_alignRight="#+id/button3audio"></TextView>
</RelativeLayout>
<RelativeLayout android:id="#+id/layout02"
android:paddingTop="30dp" android:layout_width="wrap_content"
android:layout_height="wrap_content">
<TextView android:layout_height="wrap_content"
android:layout_alignParentBottom="true" android:layout_width="fill_parent"
android:background="#000" android:gravity="center"></TextView>
</RelativeLayout>
</LinearLayout>
I notice that you have used the same button id for the three attributes namely
android:layout_below="#+id/buildbtn" android:layout_alignLeft="#+id/buildbtn"
android:layout_alignRight="#+id/buildbtn"
wherein lies your problem.
It's because the EditView so far down the screen, that the keyboard will hide it, and you won't be able to see what you are writing? Are you sure you want to hide the EditText field from the user?
Are you using a scrollview?

Categories

Resources