res/layout/create_account.xml
changeset 986 2c85a0f62ab0
parent 952 0867bf998775
child 995 6318bee856fd
equal deleted inserted replaced
985:2a2d82478538 986:2c85a0f62ab0
     1 <?xml version="1.0" encoding="utf-8"?>
     1 <?xml version="1.0" encoding="utf-8"?>
     2 <ScrollView xmlns:android="http://schemas.android.com/apk/res/android"
     2 <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
     3 	android:layout_width="fill_parent" android:layout_height="fill_parent"
     3 	android:layout_width="fill_parent" android:layout_height="fill_parent"
     4 	android:orientation="vertical">
     4 	android:orientation="vertical" >
     5 	<LinearLayout android:orientation="vertical"
     5 	
     6 		android:layout_width="fill_parent" android:layout_height="fill_parent"
     6 	<ScrollView android:layout_width="fill_parent" android:layout_height="0dip"
     7 		android:padding="10dip">
     7 	    android:layout_weight="1" >
     8 		<TextView android:id="@+id/create_account_label_username"
     8 	<LinearLayout android:layout_height="wrap_content" android:layout_width="fill_parent"
       
     9 	    android:orientation="vertical" >
       
    10 	    <ImageView android:id="@+id/logo"
       
    11 		android:layout_width="fill_parent" android:layout_height="wrap_content"
       
    12 		android:layout_marginTop="15dp"
       
    13 		android:layout_marginBottom="30dp"
       
    14 		android:src="@drawable/logo"/>
       
    15 	    
       
    16 		<TextView
     9 			android:layout_width="fill_parent" android:layout_height="wrap_content"
    17 			android:layout_width="fill_parent" android:layout_height="wrap_content"
    10 			android:text="@string/create_account_username" style="@style/Label" />
    18 			android:text="@string/create_account_username" style="@style/Label" />
    11 		<EditText android:id="@+id/create_account_username"
    19 		<EditText android:id="@+id/create_account_username"
    12 			android:inputType="textEmailAddress" android:imeOptions="actionNext"
    20 			android:inputType="textEmailAddress" android:imeOptions="actionNext"
    13 			android:layout_width="fill_parent" android:layout_height="wrap_content"
    21 			android:layout_width="fill_parent" android:layout_height="wrap_content"
    14 			android:singleLine="true"
    22 			android:singleLine="true"
    15 			android:hint="beem@beem-project.com "
    23 			android:hint="beem@beem-project.com "
    16 			android:contentDescription="@string/create_account_username"/>
    24 			android:contentDescription="@string/create_account_username"/>
    17 		<TextView android:id="@+id/create_account_label_password"
    25 		<TextView
    18 			android:layout_width="fill_parent" android:layout_height="wrap_content"
    26 			android:layout_width="fill_parent" android:layout_height="wrap_content"
    19 			android:text="@string/create_account_password" style="@style/Label" />
    27 			android:text="@string/create_account_password" style="@style/Label" />
    20 		<EditText android:id="@+id/create_account_password"
    28 		<EditText android:id="@+id/create_account_password"
    21 			android:layout_width="fill_parent" android:layout_height="wrap_content"
    29 			android:layout_width="fill_parent" android:layout_height="wrap_content"
    22 			android:inputType="textPassword" android:imeOptions="actionNext"
    30 			android:inputType="textPassword" android:imeOptions="actionNext"
    23 			android:password="true" android:singleLine="true"
    31 			android:singleLine="true"
    24 			android:contentDescription="@string/create_account_password"/>
    32 			android:contentDescription="@string/create_account_password"/>
    25 		<TextView android:id="@+id/create_account_label_confirm_password"
    33 		<TextView
    26 			android:layout_width="fill_parent" android:layout_height="wrap_content"
    34 			android:layout_width="fill_parent" android:layout_height="wrap_content"
    27 			android:text="@string/create_account_confirm_password" style="@style/Label" />
    35 			android:text="@string/create_account_confirm_password" style="@style/Label" />
    28 		<EditText android:id="@+id/create_account_confirm_password"
    36 		<EditText android:id="@+id/create_account_confirm_password"
    29 			android:layout_width="fill_parent" android:layout_height="wrap_content"
    37 			android:layout_width="fill_parent" android:layout_height="wrap_content"
    30 			android:inputType="textPassword" android:imeOptions="actionNext"
    38 			android:inputType="textPassword" android:imeOptions="actionNext"
    31 			android:password="true" android:singleLine="true"
    39 			android:singleLine="true"
    32 			android:contentDescription="@string/create_account_confirm_password"/>
    40 			android:contentDescription="@string/create_account_confirm_password"/>
    33 		<View android:layout_width="fill_parent" android:layout_height="wrap_content"
    41 
    34 			android:layout_weight="1" android:layout_marginBottom="18dp" />
       
    35 		<Button android:id="@+id/create_account_button"
       
    36 			android:layout_width="fill_parent" android:layout_height="wrap_content"
       
    37 			android:text="@string/button_create_account"
       
    38 			android:layout_gravity="bottom" />
       
    39 		<Button android:id="@+id/create_account_login_button"
       
    40 			android:layout_width="fill_parent" android:layout_height="wrap_content"
       
    41 			android:text="@string/button_create_login_account"
       
    42 			android:layout_gravity="bottom" />
       
    43 	</LinearLayout>
    42 	</LinearLayout>
    44 </ScrollView>
    43 	</ScrollView>
       
    44 	
       
    45 	<RelativeLayout
       
    46 	android:gravity="right|center_vertical"
       
    47 	android:layout_height="wrap_content"
       
    48 	android:layout_width="fill_parent"
       
    49 	android:background="@drawable/bottombar" >
       
    50 	<Button
       
    51 	    android:id="@+id/next"
       
    52 	    android:text="@string/Continue"
       
    53 	    android:minWidth="100dp"
       
    54 	    android:layout_height="wrap_content"
       
    55 	    android:layout_width="wrap_content"
       
    56 	    android:drawableRight="@drawable/button_indicator_next"
       
    57 	    android:layout_alignParentRight="true"
       
    58 	    android:layout_centerVertical="true"
       
    59 	    android:enabled="false"
       
    60 	    />
       
    61     </RelativeLayout>
       
    62 	
       
    63 </LinearLayout>