session-android/app/src/main/res/layout/activity_display_name.xml

59 lines
2.2 KiB
XML
Raw Normal View History

2019-06-04 04:39:28 +00:00
<?xml version="1.0" encoding="utf-8"?>
2020-02-12 22:28:00 +00:00
<LinearLayout
2019-06-04 04:39:28 +00:00
xmlns:android="http://schemas.android.com/apk/res/android"
2019-06-04 04:59:16 +00:00
android:layout_width="match_parent"
2020-02-12 22:28:00 +00:00
android:layout_height="match_parent"
android:orientation="vertical">
2019-06-04 04:39:28 +00:00
2020-02-12 22:28:00 +00:00
<View
2019-06-04 04:39:28 +00:00
android:layout_width="match_parent"
2020-02-12 22:28:00 +00:00
android:layout_height="0dp"
android:layout_weight="1"/>
2019-06-04 04:59:16 +00:00
2020-02-12 22:28:00 +00:00
<TextView
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginLeft="@dimen/very_large_spacing"
android:layout_marginRight="@dimen/very_large_spacing"
2020-09-03 00:56:10 +00:00
android:textSize="20sp"
2020-02-12 22:28:00 +00:00
android:textStyle="bold"
android:textColor="@color/text"
2020-05-25 05:24:55 +00:00
android:text="@string/activity_display_name_title_2" />
2019-06-04 04:39:28 +00:00
2020-02-12 22:28:00 +00:00
<TextView
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginLeft="@dimen/very_large_spacing"
2020-05-18 00:47:28 +00:00
android:layout_marginTop="4dp"
2020-02-12 22:28:00 +00:00
android:layout_marginRight="@dimen/very_large_spacing"
android:textSize="@dimen/small_font_size"
android:textColor="@color/text"
2020-05-25 05:24:55 +00:00
android:text="@string/activity_display_name_explanation" />
2019-06-04 04:39:28 +00:00
2020-02-12 22:28:00 +00:00
<EditText
style="@style/SmallSessionEditText"
android:id="@+id/displayNameEditText"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginLeft="@dimen/very_large_spacing"
2020-05-18 00:47:28 +00:00
android:layout_marginTop="10dp"
2020-02-12 22:28:00 +00:00
android:layout_marginRight="@dimen/very_large_spacing"
2020-05-29 04:26:11 +00:00
android:inputType="textCapWords"
2020-05-25 05:24:55 +00:00
android:hint="@string/activity_display_name_edit_text_hint" />
2019-06-04 04:39:28 +00:00
2020-02-12 22:28:00 +00:00
<View
android:layout_width="match_parent"
android:layout_height="0dp"
android:layout_weight="1"/>
2019-06-04 04:59:16 +00:00
2020-02-12 22:28:00 +00:00
<Button
style="@style/Widget.Session.Button.Common.ProminentFilled"
2020-02-12 22:28:00 +00:00
android:id="@+id/registerButton"
android:layout_width="match_parent"
android:layout_height="@dimen/medium_button_height"
android:layout_marginLeft="@dimen/massive_spacing"
android:layout_marginRight="@dimen/massive_spacing"
android:layout_marginBottom="@dimen/small_spacing"
2020-05-25 05:24:55 +00:00
android:text="@string/continue_2" />
2019-06-04 04:39:28 +00:00
2020-02-12 22:28:00 +00:00
</LinearLayout>