2014-01-12 21:33:37 +01:00
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
2014-04-09 19:42: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-01-12 21:33:37 +01:00
|
|
|
android:orientation="horizontal"
|
|
|
|
android:paddingLeft="8dip"
|
2014-04-09 19:42:27 +02:00
|
|
|
android:paddingRight="3dip">
|
2014-01-12 21:33:37 +01:00
|
|
|
|
|
|
|
<ImageView
|
|
|
|
android:id="@+id/ic_masterKey"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_gravity="center_vertical"
|
|
|
|
android:paddingRight="6dip"
|
2014-04-09 19:42:27 +02:00
|
|
|
android:layout_alignParentLeft="true"
|
2014-01-12 21:33:37 +01:00
|
|
|
android:src="@drawable/key_small" />
|
|
|
|
|
2014-04-09 19:42:27 +02:00
|
|
|
<TextView
|
|
|
|
android:id="@+id/keyId"
|
|
|
|
android:layout_toRightOf="@+id/ic_masterKey"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:paddingRight="2dip"
|
|
|
|
android:text="@string/label_key_id"
|
|
|
|
android:textAppearance="?android:attr/textAppearanceSmall"
|
|
|
|
android:typeface="monospace" />
|
2014-03-25 05:26:35 +01:00
|
|
|
|
2014-01-12 21:33:37 +01:00
|
|
|
<LinearLayout
|
2014-03-26 14:45:56 +02:00
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
2014-01-12 21:33:37 +01:00
|
|
|
android:orientation="horizontal"
|
2014-04-09 19:42:27 +02:00
|
|
|
android:layout_alignParentEnd="true"
|
2014-01-12 21:33:37 +01:00
|
|
|
android:paddingBottom="2dip"
|
2014-04-09 19:42:27 +02:00
|
|
|
android:paddingTop="2dip"
|
|
|
|
android:id="@+id/linearLayout">
|
2014-01-12 21:33:37 +01:00
|
|
|
|
2014-04-09 19:42:27 +02:00
|
|
|
<ImageView
|
|
|
|
android:id="@+id/ic_revokedKey"
|
2014-03-18 16:07:17 +01:00
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
2014-04-09 19:42:27 +02:00
|
|
|
android:src="@drawable/revoked_key_small" />
|
|
|
|
|
2014-01-12 21:33:37 +01:00
|
|
|
<ImageView
|
|
|
|
android:id="@+id/ic_certifyKey"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:src="@drawable/certify_small" />
|
|
|
|
|
|
|
|
<ImageView
|
|
|
|
android:id="@+id/ic_encryptKey"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:src="@drawable/encrypted_small" />
|
|
|
|
|
|
|
|
<ImageView
|
|
|
|
android:id="@+id/ic_signKey"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:src="@drawable/signed_small" />
|
|
|
|
</LinearLayout>
|
|
|
|
|
2014-04-09 19:42:27 +02:00
|
|
|
<TextView
|
|
|
|
android:id="@+id/keyDetails"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:paddingRight="5dip"
|
|
|
|
android:text="(RSA, 1024bit)"
|
|
|
|
android:textAppearance="?android:attr/textAppearanceSmall"
|
|
|
|
android:layout_below="@+id/ic_masterKey"
|
|
|
|
android:layout_toRightOf="@+id/ic_masterKey" />
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:id="@+id/keyExpiry"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_gravity="right"
|
|
|
|
android:text="@string/label_expiry"
|
|
|
|
android:textAppearance="?android:attr/textAppearanceSmall"
|
|
|
|
android:layout_alignTop="@+id/keyDetails"
|
|
|
|
android:layout_alignRight="@+id/linearLayout"
|
|
|
|
android:layout_alignEnd="@+id/linearLayout" />
|
|
|
|
|
|
|
|
</RelativeLayout>
|