2014-02-09 21:17:30 +01:00
|
|
|
<ScrollView xmlns:android="http://schemas.android.com/apk/res/android"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="match_parent">
|
|
|
|
|
2014-02-17 20:16:58 +01:00
|
|
|
<!-- focusable and related properties to workaround http://stackoverflow.com/q/16182331-->
|
2014-02-09 21:17:30 +01:00
|
|
|
<LinearLayout
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
2014-02-17 20:16:58 +01:00
|
|
|
android:focusable="true"
|
|
|
|
android:focusableInTouchMode="true"
|
|
|
|
android:descendantFocusability="beforeDescendants"
|
2014-02-09 21:17:30 +01:00
|
|
|
android:orientation="vertical"
|
|
|
|
android:paddingLeft="16dp"
|
2014-05-08 13:57:46 +02:00
|
|
|
android:paddingRight="16dp">
|
2014-05-06 00:04:37 +02:00
|
|
|
|
2014-02-09 21:17:30 +01:00
|
|
|
<TextView
|
|
|
|
style="@style/SectionHeader"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="0dp"
|
2014-05-06 23:11:10 +02:00
|
|
|
android:layout_marginTop="8dp"
|
2014-05-05 00:58:22 +02:00
|
|
|
android:text="@string/section_user_ids"
|
|
|
|
android:layout_weight="1" />
|
2014-02-09 21:17:30 +01:00
|
|
|
|
2014-05-05 00:58:22 +02:00
|
|
|
<org.sufficientlysecure.keychain.ui.widget.FixedListView
|
|
|
|
android:id="@+id/view_key_user_ids"
|
|
|
|
android:layout_width="match_parent"
|
2014-02-09 21:17:30 +01:00
|
|
|
android:layout_height="0dp"
|
|
|
|
android:layout_marginBottom="4dp"
|
2014-05-05 00:58:22 +02:00
|
|
|
android:layout_weight="1" />
|
2014-02-09 21:17:30 +01:00
|
|
|
|
2014-08-13 21:23:01 +02:00
|
|
|
<TextView
|
|
|
|
style="@style/SectionHeader"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="0dp"
|
|
|
|
android:layout_marginTop="14dp"
|
|
|
|
android:text="@string/section_actions"
|
|
|
|
android:layout_weight="1" />
|
2014-02-09 21:17:30 +01:00
|
|
|
|
2014-07-28 12:24:40 +02:00
|
|
|
<LinearLayout
|
2014-05-05 00:58:22 +02:00
|
|
|
android:id="@+id/view_key_action_certify"
|
2014-02-09 21:17:30 +01:00
|
|
|
android:layout_width="match_parent"
|
2014-07-28 12:24:40 +02:00
|
|
|
android:layout_height="?android:attr/listPreferredItemHeight"
|
2014-05-05 00:58:22 +02:00
|
|
|
android:clickable="true"
|
2014-07-28 12:24:40 +02:00
|
|
|
android:paddingRight="4dp"
|
|
|
|
style="@style/SelectableItem"
|
|
|
|
android:orientation="horizontal">
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:id="@+id/view_key_action_certify_text"
|
|
|
|
android:paddingLeft="8dp"
|
|
|
|
android:textAppearance="?android:attr/textAppearanceMedium"
|
|
|
|
android:layout_width="0dip"
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
android:text="@string/key_view_action_certify"
|
|
|
|
android:layout_weight="1"
|
|
|
|
android:gravity="center_vertical" />
|
|
|
|
|
|
|
|
<ImageView
|
|
|
|
android:id="@+id/view_key_action_certify_image"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
android:padding="8dp"
|
|
|
|
android:src="@drawable/status_signature_verified_cutout"
|
|
|
|
android:layout_gravity="center_vertical" />
|
|
|
|
|
|
|
|
</LinearLayout>
|
2014-02-09 21:17:30 +01:00
|
|
|
|
2014-08-13 21:23:01 +02:00
|
|
|
<View
|
|
|
|
android:id="@+id/view_key_action_certify_divider"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="1dip"
|
|
|
|
android:background="?android:attr/listDivider" />
|
2014-02-17 20:16:58 +01:00
|
|
|
|
2014-05-05 00:58:22 +02:00
|
|
|
<TextView
|
|
|
|
android:id="@+id/view_key_action_edit"
|
|
|
|
android:paddingLeft="8dp"
|
|
|
|
android:paddingRight="8dp"
|
|
|
|
android:textAppearance="?android:attr/textAppearanceMedium"
|
2014-03-08 13:17:52 +01:00
|
|
|
android:layout_width="match_parent"
|
2014-05-05 00:58:22 +02:00
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:minHeight="?android:attr/listPreferredItemHeight"
|
|
|
|
android:clickable="true"
|
|
|
|
style="@style/SelectableItem"
|
2014-03-08 13:17:52 +01:00
|
|
|
android:text="@string/key_view_action_edit"
|
2014-05-05 00:58:22 +02:00
|
|
|
android:layout_weight="1"
|
|
|
|
android:drawableRight="@drawable/ic_action_edit"
|
|
|
|
android:drawablePadding="8dp"
|
|
|
|
android:gravity="center_vertical" />
|
2014-03-08 13:17:52 +01:00
|
|
|
|
2014-05-05 00:58:22 +02:00
|
|
|
<View
|
|
|
|
android:id="@+id/view_key_action_edit_divider"
|
2014-02-17 20:16:58 +01:00
|
|
|
android:layout_width="match_parent"
|
2014-05-05 00:58:22 +02:00
|
|
|
android:layout_height="1dip"
|
|
|
|
android:background="?android:attr/listDivider" />
|
2014-02-17 20:16:58 +01:00
|
|
|
|
2014-05-05 00:58:22 +02:00
|
|
|
<TextView
|
|
|
|
android:id="@+id/view_key_action_encrypt"
|
|
|
|
android:paddingLeft="8dp"
|
|
|
|
android:paddingRight="8dp"
|
|
|
|
android:textAppearance="?android:attr/textAppearanceMedium"
|
2014-03-12 02:58:42 +01:00
|
|
|
android:layout_width="match_parent"
|
2014-05-05 00:58:22 +02:00
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:minHeight="?android:attr/listPreferredItemHeight"
|
|
|
|
android:clickable="true"
|
|
|
|
style="@style/SelectableItem"
|
|
|
|
android:text="@string/key_view_action_encrypt"
|
|
|
|
android:layout_weight="1"
|
|
|
|
android:drawableRight="@drawable/ic_action_secure"
|
|
|
|
android:drawablePadding="8dp"
|
|
|
|
android:gravity="center_vertical" />
|
2014-03-12 02:58:42 +01:00
|
|
|
|
2014-07-31 23:45:19 +02:00
|
|
|
<View
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="1dip"
|
|
|
|
android:background="?android:attr/listDivider" />
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:id="@+id/view_key_action_update"
|
|
|
|
android:paddingLeft="8dp"
|
|
|
|
android:paddingRight="8dp"
|
|
|
|
android:layout_marginBottom="8dp"
|
|
|
|
android:textAppearance="?android:attr/textAppearanceMedium"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:minHeight="?android:attr/listPreferredItemHeight"
|
|
|
|
android:clickable="true"
|
|
|
|
style="@style/SelectableItem"
|
|
|
|
android:text="@string/key_view_action_update"
|
|
|
|
android:layout_weight="1"
|
|
|
|
android:drawableRight="@drawable/ic_action_download"
|
|
|
|
android:drawablePadding="8dp"
|
|
|
|
android:gravity="center_vertical" />
|
|
|
|
|
2014-02-09 21:17:30 +01:00
|
|
|
</LinearLayout>
|
|
|
|
|
2014-03-20 18:34:40 +01:00
|
|
|
</ScrollView>
|