session-android/res/layout/fragment_new_conversation.xml

59 lines
2.4 KiB
XML
Raw Normal View History

2019-07-18 05:59:41 +00:00
<?xml version="1.0" encoding="utf-8"?>
2019-07-24 06:47:59 +00:00
<ScrollView
2019-07-18 05:59:41 +00:00
xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
android:layout_width="match_parent"
2019-07-26 05:17:12 +00:00
android:layout_height="match_parent">
2019-07-18 05:59:41 +00:00
2019-07-24 06:47:59 +00:00
<LinearLayout
2019-07-18 05:59:41 +00:00
android:layout_width="match_parent"
2019-07-26 05:17:12 +00:00
android:layout_height="wrap_content"
2019-07-24 06:47:59 +00:00
android:layout_marginStart="32dp"
android:layout_marginEnd="32dp"
android:orientation="vertical">
2019-07-18 05:59:41 +00:00
2019-07-24 06:47:59 +00:00
<org.thoughtcrime.securesms.components.LabeledEditText
android:id="@+id/publicKeyEditText"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginTop="32dp"
2019-08-06 23:44:50 +00:00
app:labeledEditText_background="@color/loki_darkest_gray"
2019-08-23 03:22:52 +00:00
app:labeledEditText_label="@string/fragment_new_conversation_public_key_edit_text_label"/>
2019-07-18 05:59:41 +00:00
2019-07-24 06:47:59 +00:00
<TextView
android:id="@+id/explanationTextView"
style="@style/Signal.Text.Body"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginTop="24dp"
2019-08-23 03:22:52 +00:00
android:text="@string/fragment_new_conversation_public_key_explanation" />
2019-07-24 06:47:59 +00:00
2019-08-23 01:46:28 +00:00
<Button
android:id="@+id/qrCodeButton"
android:layout_width="match_parent"
android:layout_height="50dp"
android:layout_marginTop="20dp"
android:background="@color/transparent"
android:textColor="@color/signal_primary"
2019-08-23 03:22:52 +00:00
android:text="@string/fragment_new_conversation_qr_code_button_title"
2019-08-23 01:46:28 +00:00
android:elevation="0dp"
android:stateListAnimator="@null" />
2019-07-24 06:47:59 +00:00
<com.dd.CircularProgressButton
android:id="@+id/nextButton"
android:layout_width="match_parent"
android:layout_height="50dp"
android:layout_marginTop="24dp"
android:layout_marginBottom="32dp"
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-08-23 03:22:52 +00:00
app:cpb_textIdle="@string/fragment_new_conversation_next_button_title" />
2019-07-24 06:47:59 +00:00
</LinearLayout>
2019-07-18 05:59:41 +00:00
2019-07-24 06:47:59 +00:00
</ScrollView>