mirror of
https://github.com/oxen-io/session-android.git
synced 2024-11-27 20:15:21 +00:00
75 lines
3.3 KiB
XML
75 lines
3.3 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
|
|
<ScrollView android:id="@+id/ScrollView"
|
|
android:layout_width="fill_parent"
|
|
android:layout_height="fill_parent"
|
|
xmlns:android="http://schemas.android.com/apk/res/android">
|
|
|
|
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
|
android:layout_width="fill_parent"
|
|
android:layout_height="wrap_content"
|
|
android:paddingLeft="16dip"
|
|
android:paddingRight="16dip"
|
|
android:orientation="vertical">
|
|
|
|
<TextView android:text="Please choose a passphrase that will be used to locally encrypt your data. This should be a strong passphrase."
|
|
android:textAppearance="?android:attr/textAppearanceMedium"
|
|
android:layout_width="fill_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginTop="10dip"
|
|
android:layout_marginBottom="10dip"/>
|
|
|
|
<TextView android:text="Passphrase:"
|
|
android:textAppearance="?android:attr/textAppearanceMedium"
|
|
android:layout_width="fill_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_margin="5dip"/>
|
|
|
|
<EditText android:id="@+id/passphrase_edit"
|
|
android:layout_height="wrap_content"
|
|
android:layout_width="fill_parent"
|
|
android:password="true"/>
|
|
|
|
<TextView
|
|
android:layout_width="fill_parent"
|
|
android:layout_height="wrap_content"
|
|
android:id="@+id/repeat_label"
|
|
android:textAppearance="?android:attr/textAppearanceMedium"
|
|
android:layout_marginBottom="5dip"
|
|
android:layout_marginTop="10dip"
|
|
android:text="Repeat:"/>
|
|
|
|
<EditText
|
|
android:layout_height="wrap_content"
|
|
android:layout_width="fill_parent"
|
|
android:password="true"
|
|
android:id="@+id/passphrase_edit_repeat"/>
|
|
|
|
<LinearLayout android:layout_width="fill_parent"
|
|
android:layout_height="wrap_content"
|
|
android:orientation="horizontal"
|
|
android:layout_marginBottom="16dip"
|
|
android:gravity="right">
|
|
|
|
<TableLayout android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:stretchColumns="*">
|
|
<TableRow>
|
|
<Button android:layout_height="wrap_content"
|
|
android:layout_width="wrap_content"
|
|
android:text="Cancel"
|
|
android:id="@+id/cancel_button"
|
|
android:layout_marginRight="15dip"
|
|
android:layout_marginLeft="16dip"/>
|
|
|
|
<Button android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:text="OK"
|
|
android:id="@+id/ok_button"
|
|
android:layout_marginRight="16dip"/>
|
|
</TableRow>
|
|
</TableLayout>
|
|
</LinearLayout>
|
|
</LinearLayout>
|
|
</ScrollView>
|