diff options
author | Dominik Schürmann <dominik@dominikschuermann.de> | 2014-09-20 20:36:37 +0200 |
---|---|---|
committer | Dominik Schürmann <dominik@dominikschuermann.de> | 2014-09-20 20:36:37 +0200 |
commit | b06fe773cf043a97f216dc1073a9c428c4d2f2f8 (patch) | |
tree | 8c44bc51210a3f09aeefc5529ee2e09ce52a2c4e /OpenKeychain/src/main/res/layout/view_key_subkey_item.xml | |
parent | da4a70c5137d37dab41d1ee65627f38ed78204e9 (diff) | |
download | open-keychain-b06fe773cf043a97f216dc1073a9c428c4d2f2f8.tar.gz open-keychain-b06fe773cf043a97f216dc1073a9c428c4d2f2f8.tar.bz2 open-keychain-b06fe773cf043a97f216dc1073a9c428c4d2f2f8.zip |
New key flags icons, subkey adapter redesign, support authanticate flag in database
Diffstat (limited to 'OpenKeychain/src/main/res/layout/view_key_subkey_item.xml')
-rw-r--r-- | OpenKeychain/src/main/res/layout/view_key_subkey_item.xml | 25 |
1 files changed, 18 insertions, 7 deletions
diff --git a/OpenKeychain/src/main/res/layout/view_key_subkey_item.xml b/OpenKeychain/src/main/res/layout/view_key_subkey_item.xml index cf4b82078..b2875b9e6 100644 --- a/OpenKeychain/src/main/res/layout/view_key_subkey_item.xml +++ b/OpenKeychain/src/main/res/layout/view_key_subkey_item.xml @@ -6,6 +6,16 @@ android:orientation="horizontal" android:singleLine="true"> + <ImageView + android:id="@+id/subkey_item_status" + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:layout_gravity="center_horizontal" + android:src="@drawable/status_signature_revoked_cutout" + android:paddingLeft="8dp" + android:layout_centerVertical="true" + android:layout_alignParentStart="true" /> + <FrameLayout android:id="@+id/subkey_item_buttons" android:layout_width="wrap_content" @@ -34,6 +44,7 @@ <LinearLayout android:orientation="vertical" android:layout_toLeftOf="@id/subkey_item_buttons" + android:layout_toRightOf="@id/subkey_item_status" android:layout_centerVertical="true" android:layout_width="match_parent" android:layout_height="wrap_content" @@ -60,31 +71,31 @@ android:id="@+id/subkey_item_ic_certify" android:layout_width="wrap_content" android:layout_height="wrap_content" - android:src="@drawable/certify_small" + android:src="@drawable/key_flag_certify" android:layout_marginLeft="8dp" android:layout_gravity="center_vertical" /> <ImageView - android:id="@+id/subkey_item_ic_encrypt" + android:id="@+id/subkey_item_ic_sign" android:layout_width="wrap_content" android:layout_height="wrap_content" - android:src="@drawable/encrypted_small" + android:src="@drawable/key_flag_sign" android:layout_marginLeft="8dp" android:layout_gravity="center_vertical" /> <ImageView - android:id="@+id/subkey_item_ic_sign" + android:id="@+id/subkey_item_ic_encrypt" android:layout_width="wrap_content" android:layout_height="wrap_content" - android:src="@drawable/signed_small" + android:src="@drawable/key_flag_encrypt" android:layout_marginLeft="8dp" android:layout_gravity="center_vertical" /> <ImageView - android:id="@+id/subkey_item_ic_revoked" + android:id="@+id/subkey_item_ic_authenticate" android:layout_width="wrap_content" android:layout_height="wrap_content" - android:src="@drawable/revoked_key_small" + android:src="@drawable/key_flag_authenticate" android:layout_marginLeft="8dp" android:layout_gravity="center_vertical" /> |