2014-01-12 21:33:37 +01:00
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
2014-07-08 03:34:27 +02:00
|
|
|
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
2014-01-12 21:33:37 +01:00
|
|
|
android:layout_width="match_parent"
|
2014-02-09 21:17:30 +01:00
|
|
|
android:layout_height="wrap_content"
|
2014-05-05 22:06:09 +02:00
|
|
|
android:minHeight="?android:attr/listPreferredItemHeight"
|
2014-01-12 21:33:37 +01:00
|
|
|
android:orientation="horizontal"
|
2014-05-05 22:06:09 +02:00
|
|
|
android:singleLine="true">
|
2014-01-12 21:33:37 +01:00
|
|
|
|
2014-09-20 20:36:37 +02:00
|
|
|
<ImageView
|
|
|
|
android:id="@+id/subkey_item_status"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_gravity="center_horizontal"
|
|
|
|
android:src="@drawable/status_signature_revoked_cutout"
|
|
|
|
android:paddingLeft="8dp"
|
|
|
|
android:layout_centerVertical="true"
|
|
|
|
android:layout_alignParentStart="true" />
|
|
|
|
|
2014-08-04 02:26:34 +02:00
|
|
|
<FrameLayout
|
|
|
|
android:id="@+id/subkey_item_buttons"
|
2014-01-12 21:33:37 +01:00
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
2014-07-08 03:34:27 +02:00
|
|
|
android:layout_centerVertical="true"
|
|
|
|
android:layout_alignParentRight="true"
|
2014-08-04 02:26:34 +02:00
|
|
|
android:layout_alignParentEnd="true">
|
|
|
|
|
|
|
|
<ImageView
|
|
|
|
android:id="@+id/subkey_item_edit_image"
|
|
|
|
android:src="@drawable/ic_action_edit"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:padding="8dp" />
|
|
|
|
|
|
|
|
<ImageButton
|
|
|
|
android:id="@+id/subkey_item_delete_button"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:padding="8dp"
|
|
|
|
android:src="@drawable/ic_action_cancel"
|
|
|
|
style="@style/SelectableItem" />
|
|
|
|
|
|
|
|
</FrameLayout>
|
2014-03-25 05:26:35 +01:00
|
|
|
|
2014-01-12 21:33:37 +01:00
|
|
|
<LinearLayout
|
2014-05-05 22:06:09 +02:00
|
|
|
android:orientation="vertical"
|
2014-08-04 02:26:34 +02:00
|
|
|
android:layout_toLeftOf="@id/subkey_item_buttons"
|
2014-09-20 20:36:37 +02:00
|
|
|
android:layout_toRightOf="@id/subkey_item_status"
|
2014-07-08 03:34:27 +02:00
|
|
|
android:layout_centerVertical="true"
|
|
|
|
android:layout_width="match_parent"
|
2014-03-26 14:45:56 +02:00
|
|
|
android:layout_height="wrap_content"
|
2014-08-04 02:26:34 +02:00
|
|
|
android:layout_marginLeft="8dp"
|
|
|
|
android:layout_marginRight="8dp">
|
2014-01-12 21:33:37 +01:00
|
|
|
|
2014-05-05 22:06:09 +02:00
|
|
|
<LinearLayout
|
2014-07-08 03:34:27 +02:00
|
|
|
android:layout_width="match_parent"
|
2014-03-18 16:07:17 +01:00
|
|
|
android:layout_height="wrap_content"
|
2014-07-08 03:34:27 +02:00
|
|
|
android:layout_gravity="center_vertical"
|
2014-05-05 22:06:09 +02:00
|
|
|
android:orientation="horizontal"
|
|
|
|
android:paddingBottom="2dip"
|
|
|
|
android:paddingTop="2dip">
|
2014-04-09 19:42:27 +02:00
|
|
|
|
2014-05-05 22:06:09 +02:00
|
|
|
<TextView
|
2014-08-04 02:26:34 +02:00
|
|
|
android:id="@+id/subkey_item_key_id"
|
2014-07-08 03:34:27 +02:00
|
|
|
android:layout_width="match_parent"
|
2014-05-05 22:06:09 +02:00
|
|
|
android:layout_height="wrap_content"
|
2014-07-08 03:34:27 +02:00
|
|
|
android:text="0x00000000"
|
2014-05-05 22:06:09 +02:00
|
|
|
android:textAppearance="?android:attr/textAppearanceMedium"
|
|
|
|
android:layout_weight="1" />
|
2014-01-12 21:33:37 +01:00
|
|
|
|
2014-05-05 22:06:09 +02:00
|
|
|
<ImageView
|
2014-08-04 02:26:34 +02:00
|
|
|
android:id="@+id/subkey_item_ic_certify"
|
2014-05-05 22:06:09 +02:00
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
2014-09-20 20:36:37 +02:00
|
|
|
android:src="@drawable/key_flag_certify"
|
2014-05-05 22:06:09 +02:00
|
|
|
android:layout_marginLeft="8dp"
|
|
|
|
android:layout_gravity="center_vertical" />
|
2014-01-12 21:33:37 +01:00
|
|
|
|
2014-05-05 22:06:09 +02:00
|
|
|
<ImageView
|
2014-09-20 20:36:37 +02:00
|
|
|
android:id="@+id/subkey_item_ic_sign"
|
2014-05-05 22:06:09 +02:00
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
2014-09-20 20:36:37 +02:00
|
|
|
android:src="@drawable/key_flag_sign"
|
2014-05-05 22:06:09 +02:00
|
|
|
android:layout_marginLeft="8dp"
|
|
|
|
android:layout_gravity="center_vertical" />
|
2014-01-12 21:33:37 +01:00
|
|
|
|
2014-05-05 22:06:09 +02:00
|
|
|
<ImageView
|
2014-09-20 20:36:37 +02:00
|
|
|
android:id="@+id/subkey_item_ic_encrypt"
|
2014-05-05 22:06:09 +02:00
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
2014-09-20 20:36:37 +02:00
|
|
|
android:src="@drawable/key_flag_encrypt"
|
2014-05-05 22:06:09 +02:00
|
|
|
android:layout_marginLeft="8dp"
|
|
|
|
android:layout_gravity="center_vertical" />
|
2014-04-09 19:42:27 +02:00
|
|
|
|
2014-05-05 22:06:09 +02:00
|
|
|
<ImageView
|
2014-09-20 20:36:37 +02:00
|
|
|
android:id="@+id/subkey_item_ic_authenticate"
|
2014-05-05 22:06:09 +02:00
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
2014-09-20 20:36:37 +02:00
|
|
|
android:src="@drawable/key_flag_authenticate"
|
2014-05-05 22:06:09 +02:00
|
|
|
android:layout_marginLeft="8dp"
|
|
|
|
android:layout_gravity="center_vertical" />
|
|
|
|
|
|
|
|
</LinearLayout>
|
|
|
|
|
|
|
|
<LinearLayout
|
|
|
|
android:orientation="horizontal"
|
2014-07-08 03:34:27 +02:00
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="match_parent">
|
2014-05-05 22:06:09 +02:00
|
|
|
|
|
|
|
<TextView
|
2014-08-04 02:26:34 +02:00
|
|
|
android:id="@+id/subkey_item_details"
|
2014-05-05 22:06:09 +02:00
|
|
|
android:layout_width="0dp"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:paddingRight="5dip"
|
|
|
|
android:text="RSA, 1024bit"
|
|
|
|
android:textAppearance="?android:attr/textAppearanceSmall"
|
|
|
|
android:layout_weight="1" />
|
|
|
|
|
|
|
|
<TextView
|
2014-08-04 02:26:34 +02:00
|
|
|
android:id="@+id/subkey_item_expiry"
|
2014-05-05 22:06:09 +02:00
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:text="Expiry: 4/7/2016"
|
|
|
|
android:textAppearance="?android:attr/textAppearanceSmall"
|
|
|
|
android:layout_gravity="right" />
|
2014-07-08 03:34:27 +02:00
|
|
|
|
2014-05-05 22:06:09 +02:00
|
|
|
</LinearLayout>
|
|
|
|
|
|
|
|
</LinearLayout>
|
2014-04-09 19:42:27 +02:00
|
|
|
|
2014-07-08 03:34:27 +02:00
|
|
|
</RelativeLayout>
|