2018-10-12 09:33:58 +00:00
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
|
|
|
|
<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="match_parent"
|
2019-06-03 15:12:29 +00:00
|
|
|
xmlns:tools="http://schemas.android.com/tools"
|
|
|
|
|
android:background="@color/white">
|
2018-11-07 14:17:25 +00:00
|
|
|
<ScrollView
|
2018-10-12 09:33:58 +00:00
|
|
|
android:layout_width="match_parent"
|
2018-11-07 14:17:25 +00:00
|
|
|
android:layout_height="match_parent">
|
2018-10-12 09:33:58 +00:00
|
|
|
<LinearLayout
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:orientation="vertical">
|
2018-11-07 14:17:25 +00:00
|
|
|
<ImageView
|
2018-10-12 09:33:58 +00:00
|
|
|
android:layout_width="match_parent"
|
2018-11-07 14:17:25 +00:00
|
|
|
android:layout_height="98dp"
|
|
|
|
|
android:scaleType="center"
|
|
|
|
|
android:src="@drawable/hello_sign"
|
|
|
|
|
android:layout_marginTop="@dimen/spacing_large"
|
2018-10-12 09:33:58 +00:00
|
|
|
android:layout_marginBottom="@dimen/spacing_large"/>
|
2018-11-07 14:17:25 +00:00
|
|
|
<LinearLayout
|
2018-10-12 09:33:58 +00:00
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="wrap_content"
|
2018-11-07 14:17:25 +00:00
|
|
|
android:padding="@dimen/spacing_large"
|
|
|
|
|
android:background="@color/white"
|
|
|
|
|
android:orientation="vertical">
|
|
|
|
|
<TextView
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="wrap_content"
|
2019-08-07 08:29:58 +00:00
|
|
|
android:textColor="?colorPrimaryOffset"
|
2018-11-07 14:17:25 +00:00
|
|
|
android:text="@string/usernamePromptTitle"
|
|
|
|
|
android:gravity="center"
|
|
|
|
|
android:textSize="16sp"
|
|
|
|
|
android:textStyle="bold"
|
|
|
|
|
android:layout_marginBottom="@dimen/spacing_large"/>
|
|
|
|
|
<TextView
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:textColor="@color/gray_100"
|
|
|
|
|
android:text="@string/usernamePromptBody"
|
|
|
|
|
android:gravity="center"
|
|
|
|
|
android:textSize="14sp"
|
|
|
|
|
android:layout_marginBottom="@dimen/spacing_medium"/>
|
|
|
|
|
<TextView
|
|
|
|
|
android:id="@+id/wiki_text_view"
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:textColor="@color/gray_100"
|
|
|
|
|
android:text="@string/usernamePromptWiki"
|
|
|
|
|
android:gravity="center"
|
|
|
|
|
android:textSize="14sp"
|
|
|
|
|
android:layout_marginBottom="@dimen/spacing_large"/>
|
2018-10-12 09:33:58 +00:00
|
|
|
|
2018-11-07 14:17:25 +00:00
|
|
|
<TableLayout
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:stretchColumns="2"
|
|
|
|
|
android:background="@drawable/rounded_border">
|
|
|
|
|
<TableRow>
|
2018-10-12 09:33:58 +00:00
|
|
|
<TextView
|
2018-11-07 14:17:25 +00:00
|
|
|
android:layout_height="42dp"
|
|
|
|
|
android:text="@string/display_name"
|
|
|
|
|
android:paddingLeft="@dimen/spacing_medium"
|
|
|
|
|
android:paddingRight="@dimen/spacing_medium"
|
|
|
|
|
android:layout_marginLeft="1dp"
|
|
|
|
|
android:background="@color/gray_700"
|
2018-10-12 09:33:58 +00:00
|
|
|
android:gravity="center_vertical"
|
2018-11-07 14:17:25 +00:00
|
|
|
/>
|
|
|
|
|
<View android:background="@color/gray_600"
|
|
|
|
|
android:layout_height="42dp"
|
|
|
|
|
android:layout_width="1dp" />
|
|
|
|
|
<EditText android:id="@+id/display_name_edit_text"
|
2018-10-12 09:33:58 +00:00
|
|
|
android:background="@color/transparent"
|
|
|
|
|
android:layout_height="42dp"
|
2018-11-07 14:17:25 +00:00
|
|
|
android:layout_marginLeft="@dimen/spacing_large"
|
|
|
|
|
android:layout_marginRight="@dimen/spacing_large"
|
2018-10-12 09:33:58 +00:00
|
|
|
android:lines="1"/>
|
2018-11-07 14:17:25 +00:00
|
|
|
</TableRow>
|
|
|
|
|
<TableRow>
|
|
|
|
|
<View android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="1dp"
|
|
|
|
|
android:background="@color/gray_600" android:layout_span="3" />
|
|
|
|
|
</TableRow>
|
|
|
|
|
<TableRow>
|
|
|
|
|
<TextView android:text="@string/username"
|
|
|
|
|
android:background="@color/gray_700"
|
|
|
|
|
android:layout_height="41dp"
|
|
|
|
|
android:paddingLeft="@dimen/spacing_medium"
|
|
|
|
|
android:paddingRight="@dimen/spacing_medium"
|
|
|
|
|
android:layout_marginLeft="1dp"
|
|
|
|
|
android:gravity="center_vertical"/>
|
|
|
|
|
<View android:background="@color/gray_600"
|
|
|
|
|
android:layout_width="1dp"
|
|
|
|
|
android:layout_height="42dp"/>
|
|
|
|
|
<LinearLayout
|
|
|
|
|
android:layout_marginLeft="@dimen/spacing_large"
|
|
|
|
|
android:layout_marginRight="@dimen/spacing_large">
|
|
|
|
|
<TextView
|
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
|
android:layout_height="match_parent"
|
2019-06-03 15:12:29 +00:00
|
|
|
android:text="\@"
|
2018-11-07 14:17:25 +00:00
|
|
|
android:gravity="center_vertical"
|
|
|
|
|
android:textColor="@color/gray_400"/>
|
|
|
|
|
<EditText android:id="@+id/username_edit_text"
|
|
|
|
|
android:background="@color/transparent"
|
|
|
|
|
android:layout_width="0dp"
|
|
|
|
|
android:layout_weight="1"
|
|
|
|
|
android:layout_height="42dp"
|
|
|
|
|
android:layout_marginLeft="@dimen/spacing_small"
|
|
|
|
|
android:lines="1"/>
|
|
|
|
|
</LinearLayout>
|
|
|
|
|
</TableRow>
|
|
|
|
|
</TableLayout>
|
2018-10-12 09:33:58 +00:00
|
|
|
|
2018-11-07 14:17:25 +00:00
|
|
|
<TextView
|
|
|
|
|
android:id="@+id/issues_text_view"
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:layout_marginTop="@dimen/spacing_medium"
|
|
|
|
|
android:textColor="@color/red_50"
|
|
|
|
|
android:textSize="12sp"
|
|
|
|
|
android:gravity="center"
|
|
|
|
|
android:visibility="gone"
|
|
|
|
|
tools:visibility="visible"
|
|
|
|
|
tools:text="Issues go here"/>
|
2018-10-12 09:33:58 +00:00
|
|
|
|
2018-11-07 14:17:25 +00:00
|
|
|
<Button
|
|
|
|
|
android:id="@+id/confirm_username_button"
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:background="@drawable/purchase_button_background"
|
|
|
|
|
android:textColor="@color/white"
|
|
|
|
|
android:text="@string/confirm_username"
|
|
|
|
|
android:layout_marginTop="@dimen/spacing_large"/>
|
2018-11-05 12:57:42 +00:00
|
|
|
|
2018-11-07 14:17:25 +00:00
|
|
|
<TextView
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:text="@string/verification_pet"
|
|
|
|
|
android:gravity="center"
|
|
|
|
|
android:layout_marginTop="@dimen/spacing_large"
|
|
|
|
|
android:layout_marginBottom="@dimen/spacing_medium"
|
|
|
|
|
android:layout_marginLeft="@dimen/spacing_large"
|
|
|
|
|
android:layout_marginRight="@dimen/spacing_large"
|
|
|
|
|
android:textSize="12sp"
|
|
|
|
|
android:textColor="@color/gray_200"/>
|
|
|
|
|
<ImageView
|
|
|
|
|
android:layout_width="121dp"
|
|
|
|
|
android:layout_height="31dp"
|
|
|
|
|
android:layout_gravity="center_horizontal"
|
|
|
|
|
android:src="@drawable/veteranpets2018_promo"/>
|
|
|
|
|
</LinearLayout>
|
2018-11-05 12:57:42 +00:00
|
|
|
<TextView
|
2018-11-07 14:17:25 +00:00
|
|
|
android:id="@+id/footer_text_view"
|
2018-11-05 12:57:42 +00:00
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="wrap_content"
|
2018-11-07 14:17:25 +00:00
|
|
|
android:layout_margin="@dimen/spacing_large"
|
|
|
|
|
android:text="@string/usernamePromptDisclaimer"
|
2018-11-05 12:57:42 +00:00
|
|
|
android:gravity="center"
|
|
|
|
|
android:textSize="12sp"
|
2018-11-07 14:17:25 +00:00
|
|
|
android:textColor="@color/gray_300"/>
|
2018-10-12 09:33:58 +00:00
|
|
|
</LinearLayout>
|
2018-11-07 14:17:25 +00:00
|
|
|
</ScrollView>
|
2018-10-12 09:33:58 +00:00
|
|
|
<FrameLayout
|
|
|
|
|
android:id="@+id/snackbar_view"
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="80dp"
|
|
|
|
|
android:layout_marginBottom="@dimen/spacing_large"
|
2019-06-03 15:12:29 +00:00
|
|
|
android:layout_gravity="bottom"/>
|
2018-10-12 09:33:58 +00:00
|
|
|
</FrameLayout>
|