100 lines
3.7 KiB
XML
100 lines
3.7 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
|
android:orientation="vertical"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent">
|
|
|
|
<include layout="@layout/toolbar"/>
|
|
|
|
<ScrollView
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent">
|
|
|
|
<LinearLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:orientation="vertical"
|
|
android:padding="10dp">
|
|
|
|
<include layout="@layout/volume_path_section"/>
|
|
|
|
<LinearLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content">
|
|
|
|
<TextView
|
|
android:layout_width="@dimen/create_activity_label_width"
|
|
android:layout_height="match_parent"
|
|
android:gravity="center_vertical"
|
|
android:text="@string/password"
|
|
android:textSize="@dimen/edit_text_label_text_size" />
|
|
|
|
<EditText
|
|
android:id="@+id/edit_password"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:inputType="textPassword"
|
|
android:maxLines="1"/>
|
|
|
|
</LinearLayout>
|
|
|
|
<LinearLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content">
|
|
|
|
<TextView
|
|
android:layout_width="@dimen/create_activity_label_width"
|
|
android:layout_height="match_parent"
|
|
android:gravity="center_vertical"
|
|
android:text="@string/password_confirm"
|
|
android:textSize="@dimen/edit_text_label_text_size" />
|
|
|
|
<EditText
|
|
android:id="@+id/edit_password_confirm"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:inputType="textPassword"
|
|
android:maxLines="1"
|
|
android:imeOptions="actionDone"/>
|
|
|
|
</LinearLayout>
|
|
|
|
<LinearLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:padding="15dp"
|
|
android:gravity="center_horizontal">
|
|
|
|
<TextView
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:text="@string/encryption_cipher_label"/>
|
|
|
|
<Spinner
|
|
android:id="@+id/spinner_xchacha"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"/>
|
|
|
|
</LinearLayout>
|
|
|
|
<include layout="@layout/checkboxes_section"/>
|
|
|
|
<TextView
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:padding="@dimen/warning_msg_padding"
|
|
android:gravity="center"
|
|
android:text="@string/create_password_warning"/>
|
|
|
|
<androidx.appcompat.widget.AppCompatButton
|
|
android:id="@+id/button_create"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="@dimen/action_activity_button_height"
|
|
android:layout_marginHorizontal="@dimen/action_activity_button_horizontal_margin"
|
|
android:text="@string/create"/>
|
|
|
|
</LinearLayout>
|
|
|
|
</ScrollView>
|
|
|
|
</LinearLayout> |