87 lines
3.1 KiB
XML
87 lines
3.1 KiB
XML
<merge xmlns:android="http://schemas.android.com/apk/res/android"
|
|
xmlns:tools="http://schemas.android.com/tools"
|
|
tools:context=".LoginActivity" >
|
|
|
|
<!-- Login progress -->
|
|
|
|
<AbsoluteLayout
|
|
android:id="@+id/login_background"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
android:background="#FFFFFF" >
|
|
</AbsoluteLayout>
|
|
|
|
<LinearLayout
|
|
android:id="@+id/login_status"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
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:fontFamily="sans-serif-light"
|
|
android:text="@string/login_progress_signing_in"
|
|
android:textAppearance="?android:attr/textAppearanceMedium" />
|
|
</LinearLayout>
|
|
|
|
<!-- Login form -->
|
|
|
|
<ScrollView
|
|
android:id="@+id/login_form"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent" >
|
|
|
|
<LinearLayout
|
|
style="@style/LoginFormContainer"
|
|
android:orientation="vertical" >
|
|
|
|
<EditText
|
|
android:id="@+id/email"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:hint="@string/prompt_email"
|
|
android:inputType="textEmailAddress"
|
|
android:maxLines="1"
|
|
android:singleLine="true"
|
|
android:textColor="#000000"
|
|
android:textColorHint="#000000" />
|
|
|
|
<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:textColor="#000000"
|
|
android:textColorHint="#000000" />
|
|
|
|
<Button
|
|
android:id="@+id/sign_in_button"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_gravity="right"
|
|
android:layout_marginTop="16dp"
|
|
android:paddingLeft="32dp"
|
|
android:paddingRight="32dp"
|
|
android:text="@string/action_sign_in_register" />
|
|
</LinearLayout>
|
|
</ScrollView>
|
|
|
|
</merge> |