aboutsummaryrefslogtreecommitdiffstats
path: root/OpenKeychain/src/main/res/layout
diff options
context:
space:
mode:
authorDominik Schürmann <dominik@dominikschuermann.de>2014-06-22 18:12:04 +0200
committerDominik Schürmann <dominik@dominikschuermann.de>2014-06-22 18:12:04 +0200
commitb43fb63753bc9be7a1a0b05e7369a2373f65c03f (patch)
tree7c268512c1ad5888ba8d866324e3289f9da8289a /OpenKeychain/src/main/res/layout
parent4db0194e6acd6f89216f08d6a97fa223539f5969 (diff)
downloadopen-keychain-b43fb63753bc9be7a1a0b05e7369a2373f65c03f.tar.gz
open-keychain-b43fb63753bc9be7a1a0b05e7369a2373f65c03f.tar.bz2
open-keychain-b43fb63753bc9be7a1a0b05e7369a2373f65c03f.zip
new edit key: diff for existing user ids
Diffstat (limited to 'OpenKeychain/src/main/res/layout')
-rw-r--r--OpenKeychain/src/main/res/layout/edit_key_fragment.xml22
-rw-r--r--OpenKeychain/src/main/res/layout/view_key_userids_item.xml9
2 files changed, 21 insertions, 10 deletions
diff --git a/OpenKeychain/src/main/res/layout/edit_key_fragment.xml b/OpenKeychain/src/main/res/layout/edit_key_fragment.xml
index 9d63ea38a..f652269e5 100644
--- a/OpenKeychain/src/main/res/layout/edit_key_fragment.xml
+++ b/OpenKeychain/src/main/res/layout/edit_key_fragment.xml
@@ -13,7 +13,6 @@
style="@style/SectionHeader"
android:layout_width="wrap_content"
android:layout_height="0dp"
- android:layout_marginBottom="4dp"
android:layout_marginTop="8dp"
android:text="Passphrase"
android:layout_weight="1" />
@@ -37,7 +36,6 @@
style="@style/SectionHeader"
android:layout_width="wrap_content"
android:layout_height="0dp"
- android:layout_marginBottom="4dp"
android:layout_marginTop="8dp"
android:text="@string/section_user_ids"
android:layout_weight="1" />
@@ -45,9 +43,12 @@
<org.sufficientlysecure.keychain.ui.widget.FixedListView
android:id="@+id/edit_key_user_ids"
android:layout_width="match_parent"
- android:layout_height="0dp"
- android:layout_marginBottom="4dp"
- android:layout_weight="1" />
+ android:layout_height="wrap_content" />
+
+ <org.sufficientlysecure.keychain.ui.widget.FixedListView
+ android:id="@+id/edit_key_user_ids_added"
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content" />
<View
android:layout_width="match_parent"
@@ -55,7 +56,7 @@
android:background="?android:attr/listDivider" />
<TextView
- android:id="@+id/edit_key_add_user_id"
+ android:id="@+id/edit_key_action_add_user_id"
android:paddingLeft="8dp"
android:paddingRight="8dp"
android:textAppearance="?android:attr/textAppearanceMedium"
@@ -73,15 +74,18 @@
style="@style/SectionHeader"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
- android:layout_marginBottom="4dp"
android:layout_marginTop="8dp"
android:text="@string/section_keys" />
<org.sufficientlysecure.keychain.ui.widget.FixedListView
android:id="@+id/edit_key_keys"
android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:layout_marginBottom="8dp" />
+ android:layout_height="wrap_content" />
+
+ <org.sufficientlysecure.keychain.ui.widget.FixedListView
+ android:id="@+id/edit_key_keys_added"
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content" />
<View
android:layout_width="match_parent"
diff --git a/OpenKeychain/src/main/res/layout/view_key_userids_item.xml b/OpenKeychain/src/main/res/layout/view_key_userids_item.xml
index 03e619aff..f812127a9 100644
--- a/OpenKeychain/src/main/res/layout/view_key_userids_item.xml
+++ b/OpenKeychain/src/main/res/layout/view_key_userids_item.xml
@@ -6,10 +6,17 @@
android:orientation="horizontal"
android:singleLine="true">
- <CheckBox
+ <ImageView
+ android:id="@+id/has_changes"
android:layout_width="wrap_content"
android:layout_height="match_parent"
+ android:minWidth="10dp"
+ android:background="@color/emphasis" />
+
+ <CheckBox
android:id="@+id/checkBox"
+ android:layout_width="wrap_content"
+ android:layout_height="match_parent"
android:clickable="false"
android:focusable="false" />