aboutsummaryrefslogtreecommitdiffstats
path: root/OpenKeychain/src/main/res/layout/decrypt_files_list_fragment.xml
diff options
context:
space:
mode:
authorVincent Breitmoser <valodim@mugenguild.com>2015-06-01 03:23:51 +0200
committerVincent Breitmoser <valodim@mugenguild.com>2015-06-01 03:23:51 +0200
commitcee1a8c7531904b55d13bda972b79e8b7c7ed67c (patch)
treec81bb97d3f11337387e42b4eec8227fd56b032c8 /OpenKeychain/src/main/res/layout/decrypt_files_list_fragment.xml
parentdbfa55f6b963ff8c5a975c45a2805838eb1781f7 (diff)
downloadopen-keychain-cee1a8c7531904b55d13bda972b79e8b7c7ed67c.tar.gz
open-keychain-cee1a8c7531904b55d13bda972b79e8b7c7ed67c.tar.bz2
open-keychain-cee1a8c7531904b55d13bda972b79e8b7c7ed67c.zip
multi-decrypt: first steps, split up DecryptFilesFragment
Diffstat (limited to 'OpenKeychain/src/main/res/layout/decrypt_files_list_fragment.xml')
-rw-r--r--OpenKeychain/src/main/res/layout/decrypt_files_list_fragment.xml51
1 files changed, 51 insertions, 0 deletions
diff --git a/OpenKeychain/src/main/res/layout/decrypt_files_list_fragment.xml b/OpenKeychain/src/main/res/layout/decrypt_files_list_fragment.xml
new file mode 100644
index 000000000..75e97f867
--- /dev/null
+++ b/OpenKeychain/src/main/res/layout/decrypt_files_list_fragment.xml
@@ -0,0 +1,51 @@
+<?xml version="1.0" encoding="utf-8"?>
+<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
+ xmlns:tools="http://schemas.android.com/tools"
+ android:orientation="vertical"
+ android:layout_width="match_parent"
+ android:layout_height="match_parent">
+
+ <LinearLayout
+ android:id="@+id/decrypt_content"
+ android:layout_width="match_parent"
+ android:layout_height="match_parent"
+ android:orientation="vertical">
+
+ <android.support.v7.widget.RecyclerView
+ android:id="@+id/decrypted_files_list"
+ android:paddingLeft="16dp"
+ android:paddingRight="16dp"
+ android:scrollbars="vertical"
+ android:layout_width="match_parent"
+ android:layout_height="match_parent" />
+
+ </LinearLayout>
+
+ <LinearLayout
+ android:visibility="gone"
+ android:id="@+id/decrypt_error_overlay"
+ android:layout_width="wrap_content"
+ android:layout_height="match_parent"
+ android:orientation="vertical"
+ android:gravity="center_vertical">
+
+ <TextView
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:textAppearance="?android:attr/textAppearanceMedium"
+ android:text="@string/decrypt_invalid_text"
+ android:padding="16dp"
+ android:layout_gravity="center"
+ android:textColor="@color/android_red_light" />
+
+ <Button
+ android:id="@+id/decrypt_error_overlay_button"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:background="@drawable/button_edgy"
+ android:textColor="@color/android_red_light"
+ android:text="@string/decrypt_invalid_button"
+ android:layout_gravity="center_horizontal" />
+ </LinearLayout>
+
+</LinearLayout> \ No newline at end of file