diff options
author | Andreas Straub <andy@strb.org> | 2015-07-09 14:26:19 +0200 |
---|---|---|
committer | Andreas Straub <andy@strb.org> | 2015-07-19 22:23:25 +0200 |
commit | 23a4e1e6fada4eb5309db35efcf80d6f1f6f4d34 (patch) | |
tree | 283ee426e156e04136b81c0d86734153bdd75187 /src/main/res/layout | |
parent | d173913ebabbf8de2725dd296ae6428defd4b3b3 (diff) |
Display trust status in ContactDetailsActivity
Diffstat (limited to 'src/main/res/layout')
-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 933b72b45..79b9af620 100644 --- a/src/main/res/layout/contact_key.xml +++ b/src/main/res/layout/contact_key.xml @@ -3,12 +3,11 @@ 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 @@ -16,6 +15,7 @@ android:layout_width="wrap_content" android:layout_height="wrap_content" android:textColor="@color/black87" + android:layout_alignParentLeft="true" android:textSize="?attr/TextSizeBody" android:typeface="monospace" /> @@ -24,8 +24,20 @@ android:layout_width="wrap_content" android:layout_height="wrap_content" android:textColor="@color/black54" + android:layout_alignParentLeft="true" + android:layout_below="@+id/key" 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/black54" + android:textSize="?attr/TextSizeInfo"/> + </RelativeLayout> <ImageButton android:id="@+id/button_remove" |