diff options
Diffstat (limited to 'OpenKeychain/src/main/res/layout/passphrase_wizard_fragment_passphrase.xml')
-rw-r--r-- | OpenKeychain/src/main/res/layout/passphrase_wizard_fragment_passphrase.xml | 109 |
1 files changed, 109 insertions, 0 deletions
diff --git a/OpenKeychain/src/main/res/layout/passphrase_wizard_fragment_passphrase.xml b/OpenKeychain/src/main/res/layout/passphrase_wizard_fragment_passphrase.xml new file mode 100644 index 000000000..61bd4572d --- /dev/null +++ b/OpenKeychain/src/main/res/layout/passphrase_wizard_fragment_passphrase.xml @@ -0,0 +1,109 @@ +<LinearLayout 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" + android:orientation="vertical" + tools:context="pSontag.testopenkeychain.Passphrase"> + + + + <TableLayout + android:layout_width="match_parent" + android:layout_height="wrap_content"> + + <TableRow + android:layout_marginBottom="10dp"> + <TextView + android:id="@+id/passphraseText" + android:layout_width="match_parent" + android:layout_height="wrap_content" + android:layout_span="2" + android:padding="8dp" + android:layout_gravity="center_vertical" + android:textAppearance="?android:attr/textAppearanceMedium" + android:text="@string/passphrase" + android:layout_weight="1"/> + </TableRow> + + <View + android:layout_width="match_parent" + android:layout_height="1dip" + android:background="?android:attr/listDivider" /> + + <TableRow> + <TextView + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:padding="8dp" + android:layout_weight="1" + android:textAppearance="?android:attr/textAppearanceMedium" + android:text="@string/passphrase"/> + <EditText + android:id="@+id/passphrase" + android:layout_width="match_parent" + android:layout_height="wrap_content" + android:inputType="textPassword" + android:padding="8dp" + android:layout_weight="6"/> + + </TableRow> + + <TableRow + android:layout_marginTop="10dp" + android:layout_marginBottom="10dp"> + <TextView + android:id="@+id/passphraseTextAgain" + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:padding="8dp" + android:text="@string/passphrase_again" + android:textAppearance="?android:attr/textAppearanceMedium" + android:layout_weight="1"/> + <EditText + android:id="@+id/passphraseAgain" + android:layout_width="match_parent" + android:layout_height="wrap_content" + android:inputType="textPassword" + android:imeOptions="actionDone" + android:padding="8dp" + android:layout_weight="6"/> + + </TableRow> + </TableLayout> + <View + android:layout_width="match_parent" + android:layout_height="1dip" + android:background="?android:attr/listDivider" /> + + <LinearLayout + android:layout_width="match_parent" + android:layout_height="wrap_content" + android:orientation="horizontal"> + <Button + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:text="Cancel" + android:onClick="cancel" + android:layout_weight="1" + android:textAppearance="?android:attr/textAppearanceMedium" + style="?attr/alp_42447968_button_bar_button_style"/> + <View + android:layout_width="1dip" + android:layout_height="50dip" + android:background="?android:attr/listDivider" /> + <Button + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:text="Ok" + android:onClick="savePassphrase" + android:layout_weight="1" + android:textAppearance="?android:attr/textAppearanceMedium" + style="?attr/alp_42447968_button_bar_button_style"/> + + </LinearLayout> + <View + android:layout_width="match_parent" + android:layout_height="1dip" + android:background="?android:attr/listDivider" /> +</LinearLayout> |