| <?xml version="1.0" encoding="utf-8"?> |
| <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" |
| xmlns:app="http://schemas.android.com/apk/res-auto" |
| xmlns:tools="http://schemas.android.com/tools" |
| android:layout_width="match_parent" |
| android:layout_height="match_parent"> |
| |
| <cx.ring.views.BoundedScrollView |
| android:id="@+id/scrollview" |
| android:layout_width="match_parent" |
| android:layout_height="match_parent" |
| android:layout_above="@+id/link_button" |
| android:layout_centerInParent="true" |
| app:bounded_width="500dp"> |
| |
| <LinearLayout |
| android:layout_width="match_parent" |
| android:layout_height="wrap_content" |
| android:orientation="vertical" |
| android:paddingBottom="@dimen/activity_vertical_margin" |
| android:paddingEnd="@dimen/activity_horizontal_margin" |
| android:paddingStart="@dimen/activity_horizontal_margin" |
| android:paddingTop="@dimen/activity_vertical_margin"> |
| |
| <TextView |
| android:id="@+id/title" |
| android:layout_width="match_parent" |
| android:layout_height="wrap_content" |
| android:layout_marginTop="24dp" |
| android:layout_marginBottom="24dp" |
| android:paddingStart="4dp" |
| android:text="@string/account_link_archive_button" |
| android:textAppearance="@style/TextAppearance.MaterialComponents.Headline4" /> |
| |
| <TextView |
| android:layout_width="match_parent" |
| android:layout_height="wrap_content" |
| android:paddingStart="4dp" |
| android:paddingTop="16dp" |
| android:paddingEnd="4dp" |
| android:paddingBottom="8dp" |
| android:text="@string/help_password_enter" |
| android:textSize="14sp" /> |
| |
| <com.google.android.material.textfield.TextInputLayout |
| android:id="@+id/password_txt_box" |
| android:layout_width="match_parent" |
| android:layout_height="wrap_content" |
| app:passwordToggleEnabled="true"> |
| |
| <com.google.android.material.textfield.TextInputEditText |
| android:id="@+id/ring_existing_password" |
| android:layout_width="match_parent" |
| android:layout_height="wrap_content" |
| android:hint="@string/prompt_password" |
| android:imeOptions="actionNext" |
| android:inputType="textPassword" /> |
| </com.google.android.material.textfield.TextInputLayout> |
| |
| <TextView |
| android:layout_width="match_parent" |
| android:layout_height="wrap_content" |
| android:paddingStart="4dp" |
| android:paddingTop="16dp" |
| android:paddingEnd="16dp" |
| android:paddingBottom="8dp" |
| android:text="@string/help_pin_enter" |
| android:textSize="14sp" /> |
| |
| <com.google.android.material.textfield.TextInputLayout |
| android:layout_width="match_parent" |
| android:layout_height="wrap_content" |
| app:passwordToggleEnabled="true"> |
| |
| <com.google.android.material.textfield.TextInputEditText |
| android:id="@+id/ring_add_pin" |
| android:layout_width="match_parent" |
| android:layout_height="wrap_content" |
| android:hint="@string/account_link_prompt_pin" |
| android:imeOptions="actionDone" |
| android:inputType="textNoSuggestions" |
| android:singleLine="true" /> |
| |
| </com.google.android.material.textfield.TextInputLayout> |
| |
| </LinearLayout> |
| |
| </cx.ring.views.BoundedScrollView> |
| |
| <com.google.android.material.button.MaterialButton |
| android:id="@+id/link_button" |
| android:layout_width="wrap_content" |
| android:layout_height="wrap_content" |
| android:layout_alignEnd="@id/scrollview" |
| android:layout_alignParentBottom="true" |
| android:layout_marginStart="@dimen/activity_horizontal_margin" |
| android:layout_marginTop="8dp" |
| android:layout_marginEnd="@dimen/activity_horizontal_margin" |
| android:layout_marginBottom="24dp" |
| android:enabled="false" |
| android:text="@string/account_link_button" |
| android:theme="@style/ButtonColoredInverse" /> |
| |
| </RelativeLayout> |