aboutsummaryrefslogtreecommitdiffstats
path: root/OpenKeychain/src/main/res/layout/passphrase_dialog.xml
diff options
context:
space:
mode:
authorVincent Breitmoser <valodim@mugenguild.com>2014-09-07 16:54:39 +0200
committerVincent Breitmoser <valodim@mugenguild.com>2014-09-07 16:54:39 +0200
commitfd7bdbf54f4805e0346972700dc2cd3680532059 (patch)
tree94a93a1ba43e8d05883911860c63e808bec64f96 /OpenKeychain/src/main/res/layout/passphrase_dialog.xml
parent02663de191e58d3349628fe4e944147ffdc72bc0 (diff)
downloadopen-keychain-fd7bdbf54f4805e0346972700dc2cd3680532059.tar.gz
open-keychain-fd7bdbf54f4805e0346972700dc2cd3680532059.tar.bz2
open-keychain-fd7bdbf54f4805e0346972700dc2cd3680532059.zip
add proper async check for correct passphrase to passphrasedialog
Diffstat (limited to 'OpenKeychain/src/main/res/layout/passphrase_dialog.xml')
-rw-r--r--OpenKeychain/src/main/res/layout/passphrase_dialog.xml69
1 files changed, 51 insertions, 18 deletions
diff --git a/OpenKeychain/src/main/res/layout/passphrase_dialog.xml b/OpenKeychain/src/main/res/layout/passphrase_dialog.xml
index 4b331f0f2..ebc5615e4 100644
--- a/OpenKeychain/src/main/res/layout/passphrase_dialog.xml
+++ b/OpenKeychain/src/main/res/layout/passphrase_dialog.xml
@@ -1,24 +1,57 @@
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:paddingLeft="16dp"
- android:paddingRight="16dp" >
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:paddingLeft="16dp"
+ android:paddingRight="16dp"
+ android:orientation="vertical">
- <TextView
- android:id="@+id/passphrase_label_passphrase"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_gravity="center_vertical"
- android:padding="4dp"
- android:text="@string/label_passphrase" />
+ <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:paddingLeft="16dp"
+ android:paddingRight="16dp"
+ android:orientation="horizontal"
+ android:id="@+id/input">
- <EditText
- android:id="@+id/passphrase_passphrase"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:imeOptions="actionDone"
- android:inputType="textPassword"
- android:padding="4dp" />
+ <TextView
+ android:id="@+id/passphrase_label_passphrase"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:layout_gravity="center_vertical"
+ android:padding="4dp"
+ android:text="@string/label_passphrase" />
+
+ <EditText
+ android:id="@+id/passphrase_passphrase"
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:imeOptions="actionDone"
+ android:inputType="textPassword"
+ android:padding="4dp" />
+ </LinearLayout>
+
+ <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:paddingLeft="16dp"
+ android:paddingRight="16dp"
+ android:orientation="horizontal"
+ android:id="@+id/progress"
+ android:visibility="gone">
+
+ <TextView
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:padding="4dp"
+ android:text="@string/label_unlock"
+ />
+
+ <ProgressBar
+ style="?android:attr/progressBarStyleSmall"
+ android:layout_width="match_parent"
+ android:layout_height="match_parent"
+ />
+ </LinearLayout>
</LinearLayout> \ No newline at end of file