41 lines
1.7 KiB
XML
41 lines
1.7 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
|
xmlns:app="http://schemas.android.com/apk/res-auto"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:orientation="vertical">
|
|
|
|
<com.google.android.material.textview.MaterialTextView
|
|
android:id="@+id/title"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginStart="24dp"
|
|
android:layout_marginTop="24dp"
|
|
android:layout_marginEnd="24dp"
|
|
android:layout_marginBottom="20dp"
|
|
android:text="@string/password_prompt_description"
|
|
android:textColor="?android:attr/colorAccent"
|
|
android:textSize="20sp" />
|
|
|
|
<com.google.android.material.textfield.TextInputLayout
|
|
android:id="@+id/pdf_password_text_input_layout"
|
|
style="@style/Widget.Material3.TextInputLayout.OutlinedBox"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
app:hintEnabled="false"
|
|
app:passwordToggleEnabled="true"
|
|
app:passwordToggleTint="?android:attr/colorAccent">
|
|
|
|
<com.google.android.material.textfield.TextInputEditText
|
|
android:id="@+id/pdf_password_edit_text"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginStart="24dp"
|
|
android:layout_marginEnd="24dp"
|
|
android:layout_marginBottom="24dp"
|
|
android:hint="@string/password_prompt_hint"
|
|
android:inputType="textPassword" />
|
|
|
|
</com.google.android.material.textfield.TextInputLayout>
|
|
</LinearLayout>
|