session-android/res/layout/activity_account_details.xml

61 lines
2.4 KiB
XML
Raw Normal View History

2019-06-04 14:39:28 +10:00
<?xml version="1.0" encoding="utf-8"?>
<ScrollView
xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
xmlns:tools="http://schemas.android.com/tools"
2019-06-04 14:59:16 +10:00
android:layout_width="match_parent"
android:layout_height="match_parent"
tools:context=".loki.AccountDetailsActivity">
2019-06-04 14:39:28 +10:00
2019-06-04 14:59:16 +10:00
<LinearLayout
2019-06-04 14:39:28 +10:00
android:layout_width="match_parent"
2019-06-04 14:59:16 +10:00
android:layout_height="wrap_content"
android:layout_marginStart="32dp"
android:layout_marginEnd="32dp"
android:orientation="vertical">
<TextView
android:id="@+id/titleTextView"
style="@style/Signal.Text.Headline.Registration"
2019-06-04 14:39:28 +10:00
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginTop="40dp"
2019-10-08 10:38:22 +11:00
android:text="@string/activity_display_name_title"
2019-06-04 14:59:16 +10:00
android:textAlignment="center" />
2019-06-04 14:39:28 +10:00
2019-06-04 14:59:16 +10:00
<TextView
android:id="@+id/subtitleTextView"
style="@style/Signal.Text.Body"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginTop="16dp"
2019-10-08 10:38:22 +11:00
android:text="@string/activity_display_name_subtitle"
2019-06-04 14:59:16 +10:00
android:textAlignment="center" />
2019-06-04 14:39:28 +10:00
2019-06-04 14:59:16 +10:00
<org.thoughtcrime.securesms.components.LabeledEditText
android:id="@+id/nameEditText"
android:layout_width="match_parent"
2019-06-04 14:39:28 +10:00
android:layout_height="wrap_content"
android:layout_marginTop="32dp"
2019-08-07 09:44:50 +10:00
app:labeledEditText_background="@color/loki_darkest_gray"
2019-10-08 10:38:22 +11:00
app:labeledEditText_label="@string/activity_display_name_name_edit_text_label"/>
2019-06-04 14:39:28 +10:00
2019-06-04 14:59:16 +10:00
<com.dd.CircularProgressButton
android:id="@+id/nextButton"
android:layout_width="match_parent"
android:layout_height="50dp"
android:layout_marginTop="20dp"
2019-07-24 16:47:59 +10:00
android:layout_marginBottom="40dp"
2019-06-04 14:59:16 +10:00
android:layout_gravity="center_horizontal"
android:background="@color/signal_primary"
android:textColor="@color/white"
app:cpb_colorIndicator="@color/white"
app:cpb_colorProgress="@color/textsecure_primary"
app:cpb_cornerRadius="4dp"
app:cpb_selectorIdle="@drawable/progress_button_state"
2019-10-08 10:38:22 +11:00
app:cpb_textIdle="@string/activity_display_name_button_title" />
2019-06-04 14:59:16 +10:00
</LinearLayout>
2019-06-04 14:39:28 +10:00
</ScrollView>