session-android/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:background="@drawable/default_session_background"
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"
android:textSize="@dimen/large_font_size"
android:textStyle="bold"
android:textColor="@color/text"
android:text="Pick your display name" />
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"
android:text="This will be your name when you use Session." />
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"
android:hint="Enter a display name" />
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/MediumProminentFilledButton"
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"
android:text="Continue" />
2019-06-04 04:39:28 +00:00
2020-02-12 22:28:00 +00:00
</LinearLayout>