|
|
@@ -1,128 +0,0 @@
|
|
|
-<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"
|
|
|
- >
|
|
|
-
|
|
|
- <!-- 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="1024"
|
|
|
- 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:layout_alignBottom="@+id/tv_login"
|
|
|
- android:checked="true"
|
|
|
- android:text="@string/str_savepass"
|
|
|
- android:visibility="invisible" />
|
|
|
-
|
|
|
- <Button
|
|
|
- android:id="@+id/tv_login"
|
|
|
- android:layout_width="wrap_content"
|
|
|
- android:layout_height="39dp"
|
|
|
- android:layout_alignParentRight="true"
|
|
|
- android:layout_alignParentTop="true"
|
|
|
- android:background="@drawable/btn_bg"
|
|
|
- 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="@string/str_retrievepass"
|
|
|
- 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" />
|
|
|
-
|
|
|
- <ImageView
|
|
|
- android:layout_width="wrap_content"
|
|
|
- android:layout_height="wrap_content"
|
|
|
- android:layout_above="@id/login_form"
|
|
|
- android:layout_below="@id/tv_ver"
|
|
|
- android:layout_centerHorizontal="true"
|
|
|
- android:contentDescription="TODO"
|
|
|
- android:src="@drawable/action_setting" />
|
|
|
-
|
|
|
-</RelativeLayout>
|