diff options
Diffstat (limited to 'OpenKeychain/src/main/res/layout/multi_certify_item.xml')
-rw-r--r-- | OpenKeychain/src/main/res/layout/multi_certify_item.xml | 88 |
1 files changed, 88 insertions, 0 deletions
diff --git a/OpenKeychain/src/main/res/layout/multi_certify_item.xml b/OpenKeychain/src/main/res/layout/multi_certify_item.xml new file mode 100644 index 000000000..c578473d3 --- /dev/null +++ b/OpenKeychain/src/main/res/layout/multi_certify_item.xml @@ -0,0 +1,88 @@ +<?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="?android:attr/listPreferredItemHeight" + android:orientation="vertical" + android:singleLine="true"> + + <LinearLayout android:id="@+id/user_id_header" + android:layout_width="match_parent" + android:layout_height="wrap_content" + android:orientation="vertical" + android:clickable="true" + android:layout_marginLeft="8dip" + android:layout_marginTop="16dip"> + + <LinearLayout android:layout_width="match_parent" + android:layout_height="wrap_content" + android:orientation="horizontal"> + + <TextView + android:id="@+id/user_id_header_id" + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:text="ID: 0123 4567 890a bcde" + android:textAppearance="?android:attr/textAppearanceMedium" + /> + + </LinearLayout> + + <View + android:layout_width="match_parent" + android:layout_height="1dip" + android:background="?android:attr/listDivider" + android:paddingLeft="24dip" + android:paddingRight="24dip" + android:layout_marginBottom="4dip"/> + + </LinearLayout> + + <LinearLayout android:id="@+id/user_id_body" + android:layout_width="match_parent" + android:layout_height="wrap_content" + android:orientation="horizontal" + android:singleLine="true" + android:layout_marginLeft="8dip" + android:layout_marginTop="4dip"> + + <CheckBox + android:id="@+id/user_id_item_check_box" + android:layout_width="wrap_content" + android:layout_height="match_parent" + android:clickable="false" + android:focusable="false" /> + + <LinearLayout + android:orientation="vertical" + android:layout_gravity="center_vertical" + android:layout_width="0dip" + android:layout_marginLeft="8dp" + android:layout_marginTop="4dp" + android:layout_marginBottom="4dp" + android:layout_height="wrap_content" + android:layout_weight="1" + android:minHeight="48dip"> + + <TextView + android:id="@+id/user_id_item_name" + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:text="alice@example.com" + android:textAppearance="?android:attr/textAppearanceMedium" + android:layout_weight="1" + android:gravity="center_vertical"/> + + <TextView + android:id="@+id/user_id_item_addresses" + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:text="alice@example.com\na-lyc@example.com" + android:textAppearance="?android:attr/textAppearanceSmall" + android:layout_marginLeft="20dip" + /> + + </LinearLayout> + </LinearLayout> + +</LinearLayout> |