Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
- xmlns:tools="http://schemas.android.com/tools"
- android:layout_width="match_parent"
- android:layout_height="match_parent"
- android:gravity="center_horizontal"
- android:orientation="vertical"
- android:paddingBottom="@dimen/activity_vertical_margin"
- android:paddingLeft="@dimen/activity_horizontal_margin"
- android:paddingRight="@dimen/activity_horizontal_margin"
- android:paddingTop="@dimen/activity_vertical_margin"
- tools:context="com.gmail.tigerjack89.pervasive.forum.LoginActivity">
- <!-- Login progress -->
- <ProgressBar
- android:id="@+id/activity_login_progress"
- style="?android:attr/progressBarStyleLarge"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_marginBottom="8dp"
- android:visibility="gone"/>
- <ScrollView
- android:id="@+id/activity_login_scrollview"
- android:layout_width="match_parent"
- android:layout_height="match_parent">
- <LinearLayout
- android:id="@+id/activity_login_form"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:orientation="vertical">
- <AutoCompleteTextView
- android:id="@+id/activity_login_nick"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:hint="@string/activity_login_prompt_nick"
- android:inputType="textEmailAddress"
- android:maxLines="1"
- android:singleLine="true"/>
- <EditText
- android:id="@+id/activity_login_password"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:hint="@string/activity_login_prompt_password"
- android:imeActionId="@+id/activity_login_imeaction"
- android:imeActionLabel="@string/activity_login_action_sign_in_short"
- android:imeOptions="actionUnspecified"
- android:inputType="textPassword"
- android:maxLines="1"
- android:singleLine="true"/>
- <CheckBox
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:text="Remember credentials"
- android:id="@+id/activity_login_remember_checkBox"/>
- <LinearLayout
- android:id="@+id/activity_login_buttons"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:orientation="horizontal">
- <Button
- android:id="@+id/activity_login_sign_in_button"
- style="?android:textAppearanceSmall"
- android:layout_width="0dp"
- android:layout_height="wrap_content"
- android:layout_marginTop="16dp"
- android:layout_weight="1"
- android:text="@string/activity_login_action_sign_in"
- android:textStyle="bold"/>
- <Button
- android:id="@+id/activity_login_register_button"
- style="?android:textAppearanceSmall"
- android:layout_width="0dp"
- android:layout_height="wrap_content"
- android:layout_marginTop="16dp"
- android:layout_weight="1"
- android:text="@string/activity_login_action_register"
- android:textStyle="bold"/>
- </LinearLayout>
- </LinearLayout>
- </ScrollView>
- </LinearLayout>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement