diff options
author | Andreas Straub <andy@strb.org> | 2015-07-09 14:26:19 +0200 |
---|---|---|
committer | Andreas Straub <andy@strb.org> | 2015-07-09 14:26:19 +0200 |
commit | 2afb36d89144b692bc7cd2ce3682f9b2b8842854 (patch) | |
tree | 98a6b873cc5cac1a7d937c8ca3bb7f3e1e3217bf /src/main/res/layout/contact_key.xml | |
parent | bdc9f9a44f337ab595a3570833dc6a0558df904c (diff) |
Display trust status in ContactDetailsActivityaxolotl-alpha
Diffstat (limited to 'src/main/res/layout/contact_key.xml')
-rw-r--r-- | src/main/res/layout/contact_key.xml | 18 |
1 files changed, 15 insertions, 3 deletions
diff --git a/src/main/res/layout/contact_key.xml b/src/main/res/layout/contact_key.xml index b7817b38..e8eecf48 100644 --- a/src/main/res/layout/contact_key.xml +++ b/src/main/res/layout/contact_key.xml @@ -3,18 +3,18 @@ android:layout_width="wrap_content" android:layout_height="match_parent" > - <LinearLayout + <RelativeLayout android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_alignParentLeft="true" android:layout_toLeftOf="@+id/button_remove" - android:orientation="vertical" android:padding="8dp" > <TextView android:id="@+id/key" android:layout_width="wrap_content" android:layout_height="wrap_content" + android:layout_alignParentLeft="true" android:textColor="@color/primarytext" android:textSize="?attr/TextSizeBody" android:typeface="monospace" /> @@ -23,9 +23,21 @@ android:id="@+id/key_type" android:layout_width="wrap_content" android:layout_height="wrap_content" + android:layout_alignParentLeft="true" + android:layout_below="@+id/key" android:textColor="@color/secondarytext" android:textSize="?attr/TextSizeInfo"/> - </LinearLayout> + + <TextView + android:id="@+id/key_trust" + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:layout_alignParentRight="true" + android:layout_below="@+id/key" + android:visibility="gone" + android:textColor="@color/secondarytext" + android:textSize="?attr/TextSizeInfo"/> + </RelativeLayout> <ImageButton android:id="@+id/button_remove" |