session-android/res/layout/dialog_seed.xml

80 lines
3.0 KiB
XML
Raw Normal View History

2020-01-07 04:59:18 +00:00
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout
xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:background="@drawable/default_dialog_background_inset"
android:gravity="center_horizontal"
android:orientation="vertical"
android:paddingLeft="32dp"
android:paddingTop="@dimen/medium_spacing"
android:paddingRight="32dp"
android:paddingBottom="@dimen/medium_spacing">
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="@string/dialog_seed_title"
2020-01-07 04:59:18 +00:00
android:textColor="@color/text"
android:textStyle="bold"
2020-07-13 01:31:05 +00:00
android:textAlignment="center"
2020-01-07 04:59:18 +00:00
android:textSize="@dimen/medium_font_size" />
2020-09-17 07:06:39 +00:00
<org.thoughtcrime.securesms.loki.views.TapJackingProofTextView
2020-09-04 07:16:54 +00:00
style="@style/SessionIDTextView"
2020-01-07 04:59:18 +00:00
android:id="@+id/seedTextView"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginTop="@dimen/large_spacing"
2020-09-04 07:16:54 +00:00
android:padding="@dimen/small_spacing"
2020-01-07 04:59:18 +00:00
android:text="habitat kiwi amply iceberg dog nerves spiderman soft match partial awakened maximum degrees"
android:textColor="@color/text"
android:textSize="@dimen/small_font_size"
android:textAlignment="center" />
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginTop="@dimen/large_spacing"
android:text="@string/dialog_seed_explanation"
2020-01-07 04:59:18 +00:00
android:textColor="@color/text"
android:textSize="@dimen/small_font_size"
android:textAlignment="center"
android:alpha="0.6" />
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginTop="@dimen/large_spacing"
android:orientation="horizontal">
<Button
style="@style/Widget.Session.Button.Dialog.Unimportant"
2020-01-07 04:59:18 +00:00
android:id="@+id/cancelButton"
android:layout_width="0dp"
android:layout_height="@dimen/small_button_height"
android:layout_weight="1"
android:text="@string/cancel" />
2020-01-07 04:59:18 +00:00
2020-09-17 07:06:39 +00:00
<org.thoughtcrime.securesms.loki.views.TapJackingProofButton
style="@style/Widget.Session.Button.Dialog.Unimportant"
2020-01-07 04:59:18 +00:00
android:id="@+id/copyButton"
android:layout_width="0dp"
android:layout_height="@dimen/small_button_height"
android:layout_weight="1"
2020-07-17 02:10:25 +00:00
android:layout_marginStart="@dimen/medium_spacing"
android:text="@string/copy" />
2020-01-07 04:59:18 +00:00
</LinearLayout>
2020-08-19 03:48:54 +00:00
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginTop="@dimen/large_spacing"
android:text="@string/dialog_seed_disclaimer"
android:textColor="@color/text"
2020-09-04 07:16:54 +00:00
android:alpha="0.6"
android:textSize="10sp"
2020-08-19 03:48:54 +00:00
android:textAlignment="center" />
2020-01-07 04:59:18 +00:00
</LinearLayout>