aboutsummaryrefslogtreecommitdiffstats
path: root/OpenKeychain/src/main/res/layout/recipient_selection_list_entry.xml
diff options
context:
space:
mode:
authormar-v-in <github@rvin.mooo.com>2014-07-06 02:10:35 +0200
committermar-v-in <github@rvin.mooo.com>2014-07-06 02:10:35 +0200
commit1b0666e9de5caea14997a3e638a6209b45c97d60 (patch)
tree5062c61342a65aa0c1e49423dc2510ce43cbcf08 /OpenKeychain/src/main/res/layout/recipient_selection_list_entry.xml
parent51a4b0466ba1e1c1c72d9d8112c28628d1efc84b (diff)
downloadopen-keychain-1b0666e9de5caea14997a3e638a6209b45c97d60.tar.gz
open-keychain-1b0666e9de5caea14997a3e638a6209b45c97d60.tar.bz2
open-keychain-1b0666e9de5caea14997a3e638a6209b45c97d60.zip
Many changes to file ... and still incomplete
- Multi file - Reworked UI
Diffstat (limited to 'OpenKeychain/src/main/res/layout/recipient_selection_list_entry.xml')
-rw-r--r--OpenKeychain/src/main/res/layout/recipient_selection_list_entry.xml42
1 files changed, 42 insertions, 0 deletions
diff --git a/OpenKeychain/src/main/res/layout/recipient_selection_list_entry.xml b/OpenKeychain/src/main/res/layout/recipient_selection_list_entry.xml
new file mode 100644
index 000000000..2be37fb4c
--- /dev/null
+++ b/OpenKeychain/src/main/res/layout/recipient_selection_list_entry.xml
@@ -0,0 +1,42 @@
+<?xml version="1.0" encoding="utf-8"?>
+
+<LinearLayout
+ xmlns:android="http://schemas.android.com/apk/res/android"
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:minHeight="48dip"
+ android:orientation="horizontal"
+ android:gravity="center_vertical">
+ <LinearLayout
+ android:layout_width="0dip"
+ android:layout_height="wrap_content"
+ android:gravity="center_vertical"
+ android:orientation="vertical"
+ android:layout_weight="1">
+ <TextView android:id="@android:id/title"
+ android:textColor="?android:attr/textColorSecondary"
+ android:textSize="18sp"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:paddingLeft="8dip"
+ android:singleLine="true"
+ android:ellipsize="end"/>
+ <TextView android:id="@android:id/text1"
+ android:textColor="?android:attr/textColorTertiary"
+ android:textSize="14sp"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:paddingLeft="16dip"
+ android:singleLine="true"
+ android:ellipsize="end"
+ android:layout_marginTop="-4dip"/>
+ </LinearLayout>
+ <ImageView
+ android:id="@android:id/icon"
+ android:layout_width="48dip"
+ android:layout_height="48dip"
+ android:layout_marginLeft="12dip"
+ android:cropToPadding="true"
+ android:background="#ccc"
+ android:scaleType="centerCrop"/>
+</LinearLayout> \ No newline at end of file