aboutsummaryrefslogtreecommitdiffstats
path: root/OpenPGP-Keychain/src/main/res/layout/key_list_secret_item.xml
diff options
context:
space:
mode:
authorVincent Breitmoser <valodim@mugenguild.com>2014-03-08 11:19:34 +0100
committerVincent Breitmoser <valodim@mugenguild.com>2014-03-08 11:19:34 +0100
commit8c6cb8b0ab9e89f9d575af829e0dd1dd9e82e401 (patch)
tree2f68c772756535527b30cb629af87fabbf0afacc /OpenPGP-Keychain/src/main/res/layout/key_list_secret_item.xml
parent4851f7f8fc5ca82d60a55e95730bf6c11675979c (diff)
downloadopen-keychain-8c6cb8b0ab9e89f9d575af829e0dd1dd9e82e401.tar.gz
open-keychain-8c6cb8b0ab9e89f9d575af829e0dd1dd9e82e401.tar.bz2
open-keychain-8c6cb8b0ab9e89f9d575af829e0dd1dd9e82e401.zip
working unified list (no actions yet)
Diffstat (limited to 'OpenPGP-Keychain/src/main/res/layout/key_list_secret_item.xml')
-rw-r--r--OpenPGP-Keychain/src/main/res/layout/key_list_secret_item.xml20
1 files changed, 18 insertions, 2 deletions
diff --git a/OpenPGP-Keychain/src/main/res/layout/key_list_secret_item.xml b/OpenPGP-Keychain/src/main/res/layout/key_list_secret_item.xml
index 1ed86f730..77214074d 100644
--- a/OpenPGP-Keychain/src/main/res/layout/key_list_secret_item.xml
+++ b/OpenPGP-Keychain/src/main/res/layout/key_list_secret_item.xml
@@ -7,7 +7,8 @@
android:paddingLeft="8dp"
android:paddingTop="4dp"
android:paddingBottom="4dp"
- android:singleLine="true">
+ android:singleLine="true"
+ android:descendantFocusability="blocksDescendants">
<TextView
android:id="@+id/mainUserId"
@@ -29,4 +30,19 @@
android:layout_alignParentLeft="true"
android:layout_alignParentStart="true" />
-</RelativeLayout> \ No newline at end of file
+ <Button
+ style="@android:style/Widget.DeviceDefault.Button.Borderless.Small"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:text="Edit"
+ android:id="@+id/edit"
+ android:enabled="false"
+ android:focusable="false"
+ android:layout_alignTop="@+id/mainUserId"
+ android:layout_alignParentRight="true"
+ android:layout_alignParentEnd="true"
+ android:layout_alignParentBottom="false"
+ android:layout_alignParentTop="false"
+ android:layout_alignBottom="@+id/mainUserIdRest" />
+
+</RelativeLayout>