2017-04-20 13:33:33 +00:00
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
2018-11-05 12:57:42 +00:00
|
|
|
<ScrollView xmlns:android="http://schemas.android.com/apk/res/android"
|
2017-04-20 13:33:33 +00:00
|
|
|
xmlns:app="http://schemas.android.com/apk/res-auto"
|
|
|
|
|
xmlns:tools="http://schemas.android.com/tools"
|
2018-11-05 12:57:42 +00:00
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="match_parent"
|
2018-11-07 14:17:25 +00:00
|
|
|
android:fillViewport="true"
|
|
|
|
|
android:background="@color/setup_background">
|
2018-11-05 12:57:42 +00:00
|
|
|
<LinearLayout
|
2017-04-20 13:33:33 +00:00
|
|
|
android:orientation="vertical"
|
|
|
|
|
android:layout_width="match_parent"
|
2019-08-24 10:33:14 +00:00
|
|
|
android:layout_height="wrap_content"
|
2018-11-07 14:17:25 +00:00
|
|
|
android:paddingLeft="@dimen/spacing_large"
|
|
|
|
|
android:paddingRight="@dimen/spacing_large"
|
2018-11-05 12:57:42 +00:00
|
|
|
android:paddingTop="32dp"
|
|
|
|
|
android:paddingBottom="16dp">
|
|
|
|
|
|
|
|
|
|
<ImageView
|
|
|
|
|
android:layout_width="294dp"
|
|
|
|
|
android:layout_height="121dp"
|
|
|
|
|
android:src="@drawable/hello_onboarding"
|
|
|
|
|
android:layout_gravity="center_horizontal"
|
|
|
|
|
android:layout_marginBottom="@dimen/spacing_large"
|
|
|
|
|
/>
|
|
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:textColor="@color/brand_200"
|
|
|
|
|
android:text="@string/welcomeNameTitle"
|
|
|
|
|
android:gravity="center"
|
|
|
|
|
android:textSize="16sp"
|
|
|
|
|
android:textStyle="bold"
|
|
|
|
|
android:layout_marginBottom="@dimen/spacing_large"/>
|
|
|
|
|
|
|
|
|
|
<TableLayout
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:stretchColumns="2"
|
2020-09-04 16:17:34 +00:00
|
|
|
android:background="@drawable/rounded_border_content">
|
2018-11-05 12:57:42 +00:00
|
|
|
<TableRow>
|
|
|
|
|
<TextView
|
|
|
|
|
android:layout_height="42dp"
|
|
|
|
|
android:text="@string/display_name"
|
|
|
|
|
android:paddingLeft="@dimen/spacing_medium"
|
|
|
|
|
android:paddingRight="@dimen/spacing_medium"
|
|
|
|
|
android:layout_marginLeft="1dp"
|
2018-11-07 14:17:25 +00:00
|
|
|
android:background="@color/setup_label_background"
|
2018-11-05 12:57:42 +00:00
|
|
|
android:gravity="center_vertical"
|
2018-11-07 14:17:25 +00:00
|
|
|
android:textSize="14sp"
|
2017-04-20 13:33:33 +00:00
|
|
|
/>
|
2020-09-04 16:17:34 +00:00
|
|
|
<View android:background="@color/offset_background"
|
2018-11-05 12:57:42 +00:00
|
|
|
android:layout_height="42dp"
|
|
|
|
|
android:layout_width="1dp" />
|
|
|
|
|
<EditText android:id="@+id/display_name_edit_text"
|
|
|
|
|
android:background="@color/transparent"
|
|
|
|
|
android:layout_height="42dp"
|
|
|
|
|
android:layout_marginLeft="@dimen/spacing_large"
|
|
|
|
|
android:layout_marginRight="@dimen/spacing_large"
|
2018-11-07 14:17:25 +00:00
|
|
|
android:textSize="14sp"
|
2018-11-05 12:57:42 +00:00
|
|
|
android:lines="1"/>
|
|
|
|
|
</TableRow>
|
|
|
|
|
<TableRow>
|
|
|
|
|
<View android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="1dp"
|
2020-09-04 16:17:34 +00:00
|
|
|
android:background="@color/offset_background" android:layout_span="3" />
|
2018-11-05 12:57:42 +00:00
|
|
|
</TableRow>
|
|
|
|
|
<TableRow>
|
|
|
|
|
<TextView android:text="@string/username"
|
2018-11-07 14:17:25 +00:00
|
|
|
android:background="@color/setup_label_background"
|
2018-11-05 12:57:42 +00:00
|
|
|
android:layout_height="41dp"
|
|
|
|
|
android:paddingLeft="@dimen/spacing_medium"
|
|
|
|
|
android:paddingRight="@dimen/spacing_medium"
|
|
|
|
|
android:layout_marginLeft="1dp"
|
2018-11-07 14:17:25 +00:00
|
|
|
android:gravity="center_vertical"
|
|
|
|
|
android:textSize="14sp"/>
|
2020-09-04 16:17:34 +00:00
|
|
|
<View android:background="@color/offset_background"
|
2018-11-05 12:57:42 +00:00
|
|
|
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"
|
|
|
|
|
android:text="@"
|
|
|
|
|
android:gravity="center_vertical"
|
2020-09-04 16:17:34 +00:00
|
|
|
android:textColor="@color/text_dimmed"
|
2018-11-07 14:17:25 +00:00
|
|
|
android:textSize="14sp"/>
|
2018-11-05 12:57:42 +00:00
|
|
|
<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"
|
2018-11-07 14:17:25 +00:00
|
|
|
android:lines="1"
|
|
|
|
|
android:textSize="14sp"/>
|
2018-11-05 12:57:42 +00:00
|
|
|
</LinearLayout>
|
|
|
|
|
</TableRow>
|
|
|
|
|
</TableLayout>
|
|
|
|
|
|
|
|
|
|
<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"/>
|
|
|
|
|
|
|
|
|
|
<Space
|
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
|
android:layout_height="0dp"
|
|
|
|
|
android:layout_weight="1"
|
|
|
|
|
android:layout_marginTop="@dimen/spacing_large"/>
|
|
|
|
|
|
2017-04-20 13:33:33 +00:00
|
|
|
<com.habitrpg.android.habitica.ui.SpeechBubbleView
|
|
|
|
|
android:id="@+id/speech_bubble"
|
2018-11-05 12:57:42 +00:00
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
app:namePlate="Justin"
|
|
|
|
|
app:npcDrawable="@drawable/justin_textbox"
|
|
|
|
|
android:layout_marginTop="@dimen/spacing_large"/>
|
|
|
|
|
</LinearLayout>
|
|
|
|
|
</ScrollView>
|