diff options
Diffstat (limited to 'OpenKeychain/src/main/res/layout/passphrase_wizard_fragment_select_methods.xml')
-rw-r--r-- | OpenKeychain/src/main/res/layout/passphrase_wizard_fragment_select_methods.xml | 89 |
1 files changed, 89 insertions, 0 deletions
diff --git a/OpenKeychain/src/main/res/layout/passphrase_wizard_fragment_select_methods.xml b/OpenKeychain/src/main/res/layout/passphrase_wizard_fragment_select_methods.xml new file mode 100644 index 000000000..42baa6a0d --- /dev/null +++ b/OpenKeychain/src/main/res/layout/passphrase_wizard_fragment_select_methods.xml @@ -0,0 +1,89 @@ +<ScrollView xmlns:android="http://schemas.android.com/apk/res/android" + xmlns:tools="http://schemas.android.com/tools" + android:layout_width="match_parent" + android:layout_height="match_parent" + android:padding="16dp" + tools:context="pSontag.testopenkeychain.SelectMethods"> + + <LinearLayout + android:layout_width="match_parent" + android:layout_height="match_parent" + android:orientation="vertical"> + + <TextView + android:layout_width="match_parent" + android:layout_height="wrap_content" + android:layout_marginBottom="10dp" + android:padding="8dp" + android:text="@string/title_unlock_method" + android:textAppearance="?android:attr/textAppearanceMedium"/> + <View + android:layout_width="match_parent" + android:layout_height="1dip" + android:background="?android:attr/listDivider" /> + + <TextView + android:id="@+id/selectNoPassphrase" + android:layout_width="match_parent" + android:layout_height="wrap_content" + android:gravity="center_vertical" + android:text="@string/noPassphrase" + android:minHeight="?android:attr/listPreferredItemHeight" + android:padding="8dp" + android:textAppearance="?android:attr/textAppearanceMedium" + android:clickable="true" + android:onClick="noPassphrase" + style="@style/SelectableItem"/> + + <View + android:layout_width="match_parent" + android:layout_height="1dip" + android:background="?android:attr/listDivider" /> + + <TextView + android:id="@+id/selectPassphrase" + android:layout_width="match_parent" + android:layout_height="wrap_content" + android:gravity="center_vertical" + android:text="@string/passphrase" + android:minHeight="?android:attr/listPreferredItemHeight" + android:padding="8dp" + android:textAppearance="?android:attr/textAppearanceMedium" + android:clickable="true" + android:onClick="passphrase" + style="@style/SelectableItem"/> + <View + android:layout_width="match_parent" + android:layout_height="1dip" + android:background="?android:attr/listDivider" /> + <TextView + android:id="@+id/selectLockpattern" + android:layout_width="match_parent" + android:layout_height="wrap_content" + android:gravity="center_vertical" + android:text="@string/lockpattern" + android:minHeight="?android:attr/listPreferredItemHeight" + android:padding="8dp" + android:textAppearance="?android:attr/textAppearanceMedium" + android:clickable="true" + android:onClick="startLockpattern" + style="@style/SelectableItem"/> + <View + android:layout_width="match_parent" + android:layout_height="1dip" + android:background="?android:attr/listDivider" /> + <TextView + android:id="@+id/selectLockpatternNFC" + android:layout_width="match_parent" + android:layout_height="wrap_content" + android:gravity="center_vertical" + android:text="@string/lockpatternNFC" + android:minHeight="?android:attr/listPreferredItemHeight" + android:padding="8dp" + android:textAppearance="?android:attr/textAppearanceMedium" + android:clickable="true" + android:onClick="NFC" + style="@style/SelectableItem"/> + + </LinearLayout> +</ScrollView> |