| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116 |
- <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
- xmlns:tools="http://schemas.android.com/tools"
- android:layout_width="fill_parent"
- android:layout_height="fill_parent"
- tools:context=".LoginActivity" >
- <!-- Login progress -->
- <LinearLayout
- android:id="@+id/login_status"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_alignTop="@+id/login_form"
- android:layout_centerHorizontal="true"
- android:layout_gravity="center"
- android:gravity="center_horizontal"
- android:orientation="vertical"
- android:visibility="gone" >
- <ProgressBar
- style="?android:attr/progressBarStyleLarge"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_marginBottom="8dp" />
- <TextView
- android:id="@+id/login_status_message"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_marginBottom="16dp"
- android:text="@string/login_progress_signing_in"
- android:textAppearance="?android:attr/textAppearanceMedium" />
- </LinearLayout>
- <!-- Login form -->
- <LinearLayout
- android:id="@+id/login_form"
- style="@style/LoginFormContainer"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:layout_alignParentBottom="true"
- android:orientation="vertical" >
- <EditText
- android:id="@+id/user"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:hint="@string/prompt_user"
- android:inputType="textAutoComplete"
- android:maxLines="1"
- android:singleLine="true"
- android:text="" />
- <EditText
- android:id="@+id/password"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:hint="@string/prompt_password"
- android:imeActionId="@+id/login"
- android:imeActionLabel="@string/action_sign_in_short"
- android:imeOptions="actionUnspecified"
- android:inputType="textPassword"
- android:maxLines="1"
- android:singleLine="true"
- android:text="" />
- <RelativeLayout
- android:layout_width="match_parent"
- android:layout_height="wrap_content" >
- <CheckBox
- android:id="@+id/cb_save"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:text="Save Password"
- android:layout_alignBottom="@+id/sign_in_button"/>
- <Button
- android:id="@+id/sign_in_button"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_alignParentRight="true"
- android:layout_alignParentTop="true"
- android:paddingLeft="32dp"
- android:paddingRight="32dp"
- android:text="@string/action_sign_in_register" />
- </RelativeLayout>
- <TextView
- android:id="@+id/tv_retrieve_pass"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_marginLeft="5dp"
- android:layout_marginTop="5dp"
- android:clickable="true"
- android:focusable="true"
- android:text="Retrieve password"
- android:textAppearance="?android:attr/textAppearanceMedium"
- android:textColor="@android:color/holo_blue_dark" />
- </LinearLayout>
-
- <TextView
- android:id="@+id/tv_ver"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_alignParentLeft="true"
- android:layout_alignParentTop="true"
- android:layout_margin="10dp"
- android:text="TextView" />
- </RelativeLayout>
|