app/src/main/res/layout/wizard_account_configure.xml
changeset 1040 197a85a35cba
parent 1022 16040c6df950
equal deleted inserted replaced
1039:7d6f2526244a 1040:197a85a35cba
       
     1 <?xml version="1.0" encoding="utf-8"?>
       
     2 <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
       
     3     android:layout_height="fill_parent" android:layout_width="fill_parent"
       
     4     android:orientation="vertical" >
       
     5     <ScrollView android:layout_height="fill_parent" android:layout_width="fill_parent" 
       
     6 	android:layout_weight="1">
       
     7 	<LinearLayout android:layout_height="wrap_content" android:layout_width="fill_parent"
       
     8 	    android:orientation="vertical" >
       
     9 	    <ImageView android:id="@+id/logo"
       
    10 		android:layout_width="fill_parent" android:layout_height="wrap_content"
       
    11 		android:layout_marginTop="15dp"
       
    12 		android:layout_marginBottom="30dp"
       
    13 		android:src="@drawable/logo"/>
       
    14 		<LinearLayout android:id="@+id/account_layout"  
       
    15 		    android:layout_height="wrap_content" android:layout_width="fill_parent"
       
    16 	    	android:orientation="vertical" >
       
    17 		    <TextView
       
    18 			android:layout_width="fill_parent" android:layout_height="wrap_content"
       
    19 			android:text="@string/account_wizard_configure_text_1"
       
    20 			android:textSize="18sp"
       
    21 			android:paddingBottom="10dip" />
       
    22 		    <Button
       
    23 	            android:id="@+id/select_account_btn"
       
    24 	            android:layout_height="wrap_content"
       
    25 	            android:layout_width="wrap_content"
       
    26 	            android:text="@string/account_wizard_select_account_btn"
       
    27 	            android:minWidth="100dp"
       
    28 	            />
       
    29 		    <TextView
       
    30 			android:layout_width="fill_parent" android:layout_height="wrap_content"
       
    31 			android:gravity="center_horizontal"
       
    32 			android:text="@string/account_wizard_configure_text_2"
       
    33 			android:textSize="18sp"
       
    34 			android:paddingBottom="10dip" />
       
    35 		</LinearLayout>
       
    36 	    <TextView
       
    37 		android:layout_width="fill_parent" android:layout_height="wrap_content"
       
    38 		android:text="@string/account_wizard_configure_text_3"
       
    39 		android:textSize="18sp"
       
    40 		android:paddingBottom="10dip" />
       
    41 	    <TextView
       
    42 		android:layout_width="fill_parent" android:layout_height="wrap_content"
       
    43 		android:text="@string/JabberID" style="@style/Label" />
       
    44 	    <EditText android:id="@+id/account_username"
       
    45 		android:inputType="textEmailAddress" android:imeOptions="actionNext"
       
    46 		android:layout_width="fill_parent" android:layout_height="wrap_content"
       
    47 		android:singleLine="true" 
       
    48 		android:hint="beem@beem-project.com "
       
    49 		android:contentDescription="@string/JabberID"/>
       
    50 	    <TextView
       
    51 		android:layout_width="fill_parent" android:layout_height="wrap_content"
       
    52 		android:text="@string/Password" style="@style/Label" />
       
    53 	    <EditText android:id="@+id/account_password"
       
    54 		android:layout_width="fill_parent" android:layout_height="wrap_content"
       
    55 		android:inputType="textPassword" android:imeOptions="actionNext"
       
    56 		android:password="true" android:singleLine="true"
       
    57 		android:contentDescription="@string/Password"/>
       
    58 	    <TextView android:id="@+id/settings_warn_label" style="@style/Label"
       
    59 		android:layout_width="fill_parent" android:layout_height="wrap_content"
       
    60 		android:text="@string/account_wizard_settings_warn"
       
    61 		android:inputType="textMultiLine|textNoSuggestions"
       
    62 		android:textColor="@color/white"
       
    63 		android:textStyle="normal"
       
    64 		android:visibility="gone" />
       
    65 	    <TextView android:id="@+id/error_label" style="@style/Label"
       
    66 		android:layout_width="fill_parent" android:layout_height="wrap_content"
       
    67 		android:text="@string/account_wizard_connection_failed"
       
    68 		android:inputType="textMultiLine|textNoSuggestions"
       
    69 		android:textColor="@color/red"
       
    70 		android:visibility="invisible" />
       
    71 	</LinearLayout>
       
    72     </ScrollView>
       
    73 
       
    74     <RelativeLayout
       
    75 	android:gravity="right"
       
    76 	android:layout_height="wrap_content"
       
    77 	android:layout_width="fill_parent"
       
    78 	android:background="@drawable/bottombar" >
       
    79 
       
    80 	<Button
       
    81             android:id="@+id/manual_setup"
       
    82             android:text="@string/AccountConfigureManualConfiguration"
       
    83             android:minWidth="100dp"
       
    84             android:layout_height="wrap_content"
       
    85             android:layout_width="wrap_content"
       
    86             android:layout_alignParentLeft="true"
       
    87             android:layout_centerVertical="true"
       
    88             />
       
    89 
       
    90 	<Button
       
    91 	    android:id="@+id/next"
       
    92 	    android:text="@string/Continue"
       
    93 	    android:minWidth="100dp"
       
    94 	    android:layout_height="wrap_content"
       
    95 	    android:layout_width="wrap_content"
       
    96 	    android:drawableRight="@drawable/button_indicator_next"
       
    97 	    android:layout_alignParentRight="true"
       
    98 	    android:layout_centerVertical="true"
       
    99 	    android:enabled="false"
       
   100 	    />
       
   101     </RelativeLayout>
       
   102 
       
   103 </LinearLayout>