aboutsummaryrefslogtreecommitdiffstats
path: root/OpenKeychain/src/main/res/layout/two_line_spinner_dropdown_item.xml
diff options
context:
space:
mode:
authorAlex Fong <alexfongg@gmail.com>2016-03-21 21:37:19 +0800
committerAlex Fong <alexfongg@gmail.com>2016-04-01 23:12:11 +0800
commitcb9bdb3cf72ec387e6f34d29a31e701f5f5e7d92 (patch)
tree334ae1c8bb7cb959d61b9b67d1cee9fc8d24a792 /OpenKeychain/src/main/res/layout/two_line_spinner_dropdown_item.xml
parentce5e5f36c56fe14cb4a90a912eece07e4cb92285 (diff)
downloadopen-keychain-cb9bdb3cf72ec387e6f34d29a31e701f5f5e7d92.tar.gz
open-keychain-cb9bdb3cf72ec387e6f34d29a31e701f5f5e7d92.tar.bz2
open-keychain-cb9bdb3cf72ec387e6f34d29a31e701f5f5e7d92.zip
Redesigned subkey creation dialog and changed default key type created to RSA, 3072 bit.
Added code to prevent removal of master subkey when modifying a new key.
Diffstat (limited to 'OpenKeychain/src/main/res/layout/two_line_spinner_dropdown_item.xml')
-rw-r--r--OpenKeychain/src/main/res/layout/two_line_spinner_dropdown_item.xml32
1 files changed, 32 insertions, 0 deletions
diff --git a/OpenKeychain/src/main/res/layout/two_line_spinner_dropdown_item.xml b/OpenKeychain/src/main/res/layout/two_line_spinner_dropdown_item.xml
new file mode 100644
index 000000000..ae325eaab
--- /dev/null
+++ b/OpenKeychain/src/main/res/layout/two_line_spinner_dropdown_item.xml
@@ -0,0 +1,32 @@
+<?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="match_parent"
+ android:orientation="vertical"
+ android:paddingLeft="10dp"
+ android:paddingTop="6dp"
+ android:paddingRight="10dp"
+ android:paddingBottom="6dp"
+ android:background="?android:attr/selectableItemBackground">
+
+ <TextView android:id="@android:id/text1"
+ style="?android:attr/spinnerDropDownItemStyle"
+ android:textStyle="bold"
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:paddingLeft="6dp"
+ android:paddingRight="6dp" />
+
+ <TextView android:id="@android:id/text2"
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:paddingLeft="6dp"
+ android:paddingRight="6dp"
+ android:paddingTop="2dp" />
+
+</LinearLayout>
+
+
+
+