aboutsummaryrefslogtreecommitdiffstats
path: root/res/layout
diff options
context:
space:
mode:
authorDaniel Gultsch <daniel@gultsch.de>2014-03-06 20:00:46 +0100
committerDaniel Gultsch <daniel@gultsch.de>2014-03-06 20:00:46 +0100
commitc666b086d6be3d993b0b9c52a6aab916cd6942ab (patch)
tree99b6e7376bd9e5b0f5b26c88e3b1cc5d301fc712 /res/layout
parente319dd2cee7dc2597d4e9fcb8b52fe75b96c7b39 (diff)
display keys in contact details
Diffstat (limited to 'res/layout')
-rw-r--r--res/layout/activity_contact_details.xml15
-rw-r--r--res/layout/contact_key.xml22
2 files changed, 37 insertions, 0 deletions
diff --git a/res/layout/activity_contact_details.xml b/res/layout/activity_contact_details.xml
index cd49f1bf..1c38f4a3 100644
--- a/res/layout/activity_contact_details.xml
+++ b/res/layout/activity_contact_details.xml
@@ -91,5 +91,20 @@
android:text="Receive presence updates"
android:textSize="18sp"
android:textColor="#5b5b5b" />
+ <TextView
+ style="@style/sectionHeader"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:padding="8dp"
+ android:text="Keys" />
+ <LinearLayout
+ android:id="@+id/details_contact_keys"
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:orientation="vertical"
+ android:divider="?android:dividerHorizontal"
+ android:showDividers="middle">
+ </LinearLayout>
+
</LinearLayout> \ No newline at end of file
diff --git a/res/layout/contact_key.xml b/res/layout/contact_key.xml
new file mode 100644
index 00000000..dcac42e9
--- /dev/null
+++ b/res/layout/contact_key.xml
@@ -0,0 +1,22 @@
+<?xml version="1.0" encoding="utf-8"?>
+ <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:orientation="vertical"
+ android:padding="8dp" >
+
+ <TextView
+ android:id="@+id/key"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:textSize="18sp"
+ android:textColor="#5b5b5b"
+ android:typeface="monospace"
+ />
+ <TextView
+ android:id="@+id/key_type"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:textColor="#5b5b5b"
+ />
+ </LinearLayout> \ No newline at end of file