2010-04-06 15:54:51 -04:00
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
2013-01-16 08:31:16 -05:00
|
|
|
<org.sufficientlysecure.keychain.ui.widget.KeyEditor xmlns:android="http://schemas.android.com/apk/res/android"
|
2014-01-09 09:12:41 -05:00
|
|
|
xmlns:bootstrapbutton="http://schemas.android.com/apk/res-auto"
|
|
|
|
android:layout_width="match_parent"
|
2010-05-18 11:23:25 -04:00
|
|
|
android:layout_height="wrap_content"
|
2012-04-12 13:44:00 -04:00
|
|
|
android:orientation="vertical" >
|
2010-05-18 11:23:25 -04:00
|
|
|
|
|
|
|
<LinearLayout
|
2014-01-09 09:12:41 -05:00
|
|
|
android:layout_width="match_parent"
|
2012-04-12 13:44:00 -04:00
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:orientation="horizontal" >
|
2010-05-18 11:23:25 -04:00
|
|
|
|
|
|
|
<TableLayout
|
|
|
|
android:layout_width="0dip"
|
2012-04-12 13:44:00 -04:00
|
|
|
android:layout_height="wrap_content"
|
2010-05-18 11:23:25 -04:00
|
|
|
android:layout_weight="1"
|
2012-04-12 13:44:00 -04:00
|
|
|
android:stretchColumns="1" >
|
2010-05-18 11:23:25 -04:00
|
|
|
|
|
|
|
<TableRow>
|
|
|
|
|
|
|
|
<TextView
|
2012-04-12 13:44:00 -04:00
|
|
|
android:id="@+id/label_keyId"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_gravity="center_vertical"
|
|
|
|
android:paddingRight="10dip"
|
2013-10-25 15:46:05 -04:00
|
|
|
android:text="@string/label_key_id" />
|
2010-05-18 11:23:25 -04:00
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:id="@+id/keyId"
|
|
|
|
android:layout_width="wrap_content"
|
2012-04-12 13:44:00 -04:00
|
|
|
android:layout_height="wrap_content"
|
2010-05-18 11:23:25 -04:00
|
|
|
android:paddingRight="5dip"
|
2012-04-12 13:44:00 -04:00
|
|
|
android:text="00000000 00000000"
|
|
|
|
android:typeface="monospace" />
|
2010-05-18 11:23:25 -04:00
|
|
|
</TableRow>
|
|
|
|
|
|
|
|
<TableRow>
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:id="@+id/label_algorithm"
|
|
|
|
android:layout_width="wrap_content"
|
2012-04-12 13:44:00 -04:00
|
|
|
android:layout_height="wrap_content"
|
2010-05-18 11:23:25 -04:00
|
|
|
android:layout_gravity="center_vertical"
|
2012-04-12 13:44:00 -04:00
|
|
|
android:paddingRight="10dip"
|
|
|
|
android:text="@string/label_algorithm" />
|
2010-05-18 11:23:25 -04:00
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:id="@+id/algorithm"
|
|
|
|
android:layout_width="wrap_content"
|
2012-04-12 13:44:00 -04:00
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:paddingRight="5dip"
|
|
|
|
android:text="Name" />
|
2010-05-18 11:23:25 -04:00
|
|
|
</TableRow>
|
|
|
|
|
|
|
|
<TableRow>
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:id="@+id/label_creation"
|
|
|
|
android:layout_width="wrap_content"
|
2012-04-12 13:44:00 -04:00
|
|
|
android:layout_height="wrap_content"
|
2010-05-18 11:23:25 -04:00
|
|
|
android:layout_gravity="center_vertical"
|
2012-04-12 13:44:00 -04:00
|
|
|
android:paddingRight="10dip"
|
|
|
|
android:text="@string/label_creation" />
|
2010-05-18 11:23:25 -04:00
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:id="@+id/creation"
|
2014-01-09 09:12:41 -05:00
|
|
|
android:layout_width="match_parent"
|
2012-04-12 13:44:00 -04:00
|
|
|
android:layout_height="wrap_content" />
|
2010-05-18 11:23:25 -04:00
|
|
|
</TableRow>
|
|
|
|
|
|
|
|
<TableRow>
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:id="@+id/label_expiry"
|
|
|
|
android:layout_width="wrap_content"
|
2012-04-12 13:44:00 -04:00
|
|
|
android:layout_height="wrap_content"
|
2010-05-18 11:23:25 -04:00
|
|
|
android:layout_gravity="center_vertical"
|
2012-04-12 13:44:00 -04:00
|
|
|
android:paddingRight="10dip"
|
|
|
|
android:text="@string/label_expiry" />
|
2010-05-18 11:23:25 -04:00
|
|
|
|
2014-01-09 09:12:41 -05:00
|
|
|
<com.beardedhen.androidbootstrap.BootstrapButton
|
2010-05-18 11:23:25 -04:00
|
|
|
android:id="@+id/expiry"
|
2014-01-09 09:12:41 -05:00
|
|
|
android:layout_width="match_parent"
|
2014-01-14 15:19:43 -05:00
|
|
|
android:layout_height="60dp"
|
2014-01-09 09:12:41 -05:00
|
|
|
android:text="@string/none"
|
|
|
|
bootstrapbutton:bb_type="default" />
|
2010-05-18 11:23:25 -04:00
|
|
|
</TableRow>
|
|
|
|
|
|
|
|
<TableRow>
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:id="@+id/label_usage"
|
|
|
|
android:layout_width="wrap_content"
|
2012-04-12 13:44:00 -04:00
|
|
|
android:layout_height="wrap_content"
|
2010-05-18 11:23:25 -04:00
|
|
|
android:layout_gravity="center_vertical"
|
2012-04-12 13:44:00 -04:00
|
|
|
android:paddingRight="10dip"
|
|
|
|
android:text="@string/label_usage" />
|
2010-05-18 11:23:25 -04:00
|
|
|
|
|
|
|
<Spinner
|
|
|
|
android:id="@+id/usage"
|
2014-01-09 09:12:41 -05:00
|
|
|
android:layout_width="match_parent"
|
2012-04-12 13:44:00 -04:00
|
|
|
android:layout_height="wrap_content" />
|
2010-05-18 11:23:25 -04:00
|
|
|
</TableRow>
|
|
|
|
</TableLayout>
|
|
|
|
|
2014-01-09 09:12:41 -05:00
|
|
|
<com.beardedhen.androidbootstrap.BootstrapButton
|
2010-05-18 11:23:25 -04:00
|
|
|
android:id="@+id/delete"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
2014-01-09 09:12:41 -05:00
|
|
|
android:layout_margin="10dp"
|
|
|
|
bootstrapbutton:bb_icon_left="fa-minus"
|
|
|
|
bootstrapbutton:bb_roundedCorners="true"
|
|
|
|
bootstrapbutton:bb_size="small"
|
|
|
|
bootstrapbutton:bb_type="danger" />
|
2010-05-18 11:23:25 -04:00
|
|
|
</LinearLayout>
|
2010-04-06 15:54:51 -04:00
|
|
|
|
2012-04-12 13:44:00 -04:00
|
|
|
<View
|
|
|
|
android:id="@+id/separator"
|
2014-01-09 09:12:41 -05:00
|
|
|
android:layout_width="match_parent"
|
2012-04-12 13:44:00 -04:00
|
|
|
android:layout_height="1dip"
|
|
|
|
android:background="?android:attr/listDivider" />
|
|
|
|
|
2013-01-16 08:31:16 -05:00
|
|
|
</org.sufficientlysecure.keychain.ui.widget.KeyEditor>
|