session-android/res/layout/activity_seed.xml

77 lines
3.0 KiB
XML
Raw Normal View History

2019-06-04 16:37:45 +10:00
<?xml version="1.0" encoding="utf-8"?>
2020-02-13 09:28:00 +11:00
<LinearLayout
2019-06-04 16:37:45 +10:00
xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="match_parent"
2020-02-13 09:28:00 +11:00
android:background="@drawable/default_session_background"
android:gravity="center_horizontal"
android:orientation="vertical">
2019-06-04 16:37:45 +10:00
2020-05-11 16:19:26 +10:00
<org.thoughtcrime.securesms.loki.views.SeedReminderView
2020-02-13 09:28:00 +11:00
android:id="@+id/seedReminderView"
2019-06-04 16:37:45 +10:00
android:layout_width="match_parent"
2020-02-13 09:28:00 +11:00
android:layout_height="wrap_content" />
2019-09-26 11:19:36 +10:00
2020-02-13 09:28:00 +11:00
<View
android:layout_width="match_parent"
android:layout_height="0dp"
android:layout_weight="1"/>
2019-06-04 16:37:45 +10:00
2020-02-13 09:28:00 +11: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-05-18 10:47:28 +10:00
android:textSize="19sp"
2020-02-13 09:28:00 +11:00
android:textStyle="bold"
android:textColor="@color/text"
android:text="Meet your recovery phrase" />
<TextView
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginLeft="@dimen/very_large_spacing"
2020-05-18 10:47:28 +10:00
android:layout_marginTop="4dp"
2020-02-13 09:28:00 +11:00
android:layout_marginRight="@dimen/very_large_spacing"
2020-05-18 10:47:28 +10:00
android:textSize="14sp"
2020-02-13 09:28:00 +11:00
android:textColor="@color/text"
android:text="Your recovery phrase is the master key to your Session ID — you can use it to restore your Session ID if you lose access to your device. Store your recovery phrase in a safe place, and dont give it to anyone. To restore your Session ID, launch Session and tap Continue your Session." />
<TextView
style="@style/SessionIDTextView"
android:id="@+id/seedTextView"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginLeft="@dimen/very_large_spacing"
2020-05-18 10:47:28 +10:00
android:layout_marginTop="10dp"
2020-02-13 09:28:00 +11:00
android:layout_marginRight="@dimen/very_large_spacing"
android:gravity="center"
android:textSize="@dimen/medium_font_size"
android:textAlignment="center"
android:text="nautical novelty populate onion awkward bent etiquette plant submarine itches vipers september axis maximum populate" />
<TextView
android:id="@+id/revealButton"
android:layout_width="match_parent"
android:layout_height="wrap_content"
2020-05-18 10:47:28 +10:00
android:layout_marginTop="6dp"
2020-02-13 09:28:00 +11:00
android:textAlignment="center"
2020-05-18 10:47:28 +10:00
android:textSize="14sp"
2020-02-13 09:28:00 +11:00
android:textColor="@color/text"
android:alpha="0.6"
android:text="Hold to reveal" />
<View
android:layout_width="match_parent"
android:layout_height="0dp"
android:layout_weight="1"/>
<Button
style="@style/MediumProminentOutlineButton"
android:id="@+id/copyButton"
android:layout_width="196dp"
android:layout_height="@dimen/medium_button_height"
android:layout_marginBottom="@dimen/medium_spacing"
android:text="Copy" />
</LinearLayout>