2010-04-06 19:54:51 +00:00
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
2012-04-12 19:44:00 +02:00
|
|
|
<ScrollView xmlns:android="http://schemas.android.com/apk/res/android"
|
2014-01-12 21:33:37 +01:00
|
|
|
android:layout_width="match_parent"
|
2014-08-04 02:26:34 +02:00
|
|
|
android:layout_height="match_parent">
|
2010-05-18 15:23:25 +00:00
|
|
|
|
2012-04-12 19:44:00 +02:00
|
|
|
<TableLayout
|
2014-01-12 21:33:37 +01:00
|
|
|
android:layout_width="match_parent"
|
2012-04-12 19:44:00 +02:00
|
|
|
android:layout_height="wrap_content"
|
2014-08-05 18:35:48 +02:00
|
|
|
android:paddingTop="8dp"
|
2014-08-05 18:42:55 +02:00
|
|
|
android:paddingBottom="8dp"
|
2012-04-12 19:44:00 +02:00
|
|
|
android:paddingLeft="16dp"
|
|
|
|
android:paddingRight="16dp"
|
2014-08-04 02:26:34 +02:00
|
|
|
android:stretchColumns="1">
|
2010-05-18 15:23:25 +00:00
|
|
|
|
2014-08-05 18:35:48 +02:00
|
|
|
<TextView
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_gravity="center_vertical"
|
2014-08-05 18:42:55 +02:00
|
|
|
android:layout_marginBottom="4dp"
|
2014-08-05 18:35:48 +02:00
|
|
|
android:text="@string/key_creation_el_gamal_info" />
|
|
|
|
|
2014-08-04 02:26:34 +02:00
|
|
|
<TableRow>
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_gravity="center_vertical"
|
2014-08-05 18:35:48 +02:00
|
|
|
android:text="@string/label_algorithm" />
|
2014-08-04 02:26:34 +02:00
|
|
|
|
2014-08-05 18:35:48 +02:00
|
|
|
<Spinner
|
|
|
|
android:id="@+id/add_subkey_algorithm"
|
2014-08-04 02:26:34 +02:00
|
|
|
android:layout_width="match_parent"
|
2014-08-05 18:35:48 +02:00
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:padding="4dp" />
|
2014-08-04 02:26:34 +02:00
|
|
|
</TableRow>
|
|
|
|
|
2014-08-24 05:12:09 +02:00
|
|
|
<TableRow android:id="@+id/add_subkey_row_size">
|
2014-08-04 02:26:34 +02:00
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_gravity="center_vertical"
|
2014-08-05 18:35:48 +02:00
|
|
|
android:text="@string/label_key_size" />
|
2014-08-04 02:26:34 +02:00
|
|
|
|
2014-08-05 18:35:48 +02:00
|
|
|
<Spinner
|
|
|
|
android:id="@+id/add_subkey_size"
|
|
|
|
android:layout_width="match_parent"
|
2014-08-04 02:26:34 +02:00
|
|
|
android:layout_height="wrap_content"
|
2014-08-05 18:35:48 +02:00
|
|
|
android:gravity="right"
|
|
|
|
android:padding="4dp" />
|
2014-08-04 02:26:34 +02:00
|
|
|
</TableRow>
|
|
|
|
|
2014-08-24 05:12:09 +02:00
|
|
|
<TableRow
|
|
|
|
android:id="@+id/add_subkey_row_curve"
|
|
|
|
android:visibility="gone">
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_gravity="center_vertical"
|
|
|
|
android:text="@string/label_ecc_curve"/>
|
|
|
|
|
|
|
|
<Spinner
|
|
|
|
android:id="@+id/add_subkey_curve"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:gravity="right"
|
|
|
|
android:padding="4dp"/>
|
|
|
|
</TableRow>
|
|
|
|
|
2014-08-05 18:35:48 +02:00
|
|
|
<TextView
|
|
|
|
android:id="@+id/add_subkey_custom_key_size_label"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_gravity="center_vertical"
|
|
|
|
android:text="@string/key_size_custom_info"
|
|
|
|
android:visibility="gone" />
|
|
|
|
|
|
|
|
<EditText
|
|
|
|
android:id="@+id/add_subkey_custom_key_size_input"
|
|
|
|
android:layout_width="0dip"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_weight="1"
|
|
|
|
android:inputType="number"
|
|
|
|
android:visibility="gone" />
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:id="@+id/add_subkey_custom_key_size_info"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_gravity="center_vertical" />
|
|
|
|
|
2014-08-05 18:42:55 +02:00
|
|
|
<TableRow
|
|
|
|
android:layout_marginTop="8dp"
|
|
|
|
android:layout_marginBottom="8dp">
|
2014-08-04 02:26:34 +02:00
|
|
|
|
|
|
|
<TextView
|
2014-08-05 18:35:48 +02:00
|
|
|
android:id="@+id/label_expiry"
|
2014-08-04 02:26:34 +02:00
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_gravity="center_vertical"
|
|
|
|
android:paddingRight="10dip"
|
2014-08-05 18:35:48 +02:00
|
|
|
android:text="@string/label_expiry" />
|
2014-08-04 02:26:34 +02:00
|
|
|
|
|
|
|
<CheckBox
|
2014-08-05 18:35:48 +02:00
|
|
|
android:id="@+id/add_subkey_no_expiry"
|
|
|
|
android:checked="true"
|
2014-08-04 02:26:34 +02:00
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
2014-08-05 18:35:48 +02:00
|
|
|
android:text="@string/btn_no_date" />
|
|
|
|
|
2014-08-04 02:26:34 +02:00
|
|
|
</TableRow>
|
|
|
|
|
2014-08-05 18:42:55 +02:00
|
|
|
<TableRow
|
|
|
|
android:id="@+id/add_subkey_expiry_row"
|
|
|
|
android:visibility="gone">
|
2014-08-04 02:26:34 +02:00
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_gravity="center_vertical"
|
|
|
|
android:paddingRight="10dip" />
|
|
|
|
|
2014-08-05 18:35:48 +02:00
|
|
|
<DatePicker
|
|
|
|
android:id="@+id/add_subkey_expiry_date_picker"
|
|
|
|
android:layout_gravity="center_horizontal"
|
2014-08-04 02:26:34 +02:00
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
2014-08-05 18:35:48 +02:00
|
|
|
android:spinnersShown="true"
|
|
|
|
android:calendarViewShown="false" />
|
|
|
|
|
2014-08-04 02:26:34 +02:00
|
|
|
</TableRow>
|
|
|
|
|
2014-08-05 18:35:48 +02:00
|
|
|
<TableRow>
|
2014-08-04 02:26:34 +02:00
|
|
|
|
|
|
|
<TextView
|
2014-08-05 18:35:48 +02:00
|
|
|
android:id="@+id/label_usage"
|
2014-08-04 02:26:34 +02:00
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_gravity="center_vertical"
|
2014-08-05 18:35:48 +02:00
|
|
|
android:paddingRight="10dip"
|
|
|
|
android:text="@string/label_usage" />
|
|
|
|
|
2014-08-04 02:26:34 +02:00
|
|
|
|
|
|
|
<CheckBox
|
2014-08-05 18:35:48 +02:00
|
|
|
android:id="@+id/add_subkey_flag_certify"
|
|
|
|
android:enabled="false"
|
2014-08-04 02:26:34 +02:00
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
2014-08-05 18:35:48 +02:00
|
|
|
android:text="@string/flag_certify" />
|
2014-08-04 02:26:34 +02:00
|
|
|
</TableRow>
|
2010-05-18 15:23:25 +00:00
|
|
|
|
2012-04-12 19:44:00 +02:00
|
|
|
<TableRow>
|
2010-05-18 15:23:25 +00:00
|
|
|
|
2012-04-12 19:44:00 +02:00
|
|
|
<TextView
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_gravity="center_vertical"
|
2014-08-05 18:35:48 +02:00
|
|
|
android:paddingRight="10dip" />
|
2010-05-18 15:23:25 +00:00
|
|
|
|
2014-08-05 18:35:48 +02:00
|
|
|
<CheckBox
|
|
|
|
android:id="@+id/add_subkey_flag_sign"
|
|
|
|
android:layout_width="wrap_content"
|
2012-04-12 19:44:00 +02:00
|
|
|
android:layout_height="wrap_content"
|
2014-08-05 18:35:48 +02:00
|
|
|
android:text="@string/flag_sign" />
|
2012-04-12 19:44:00 +02:00
|
|
|
</TableRow>
|
2010-05-18 15:23:25 +00:00
|
|
|
|
2012-04-12 19:44:00 +02:00
|
|
|
<TableRow>
|
2010-05-18 15:23:25 +00:00
|
|
|
|
2012-04-12 19:44:00 +02:00
|
|
|
<TextView
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_gravity="center_vertical"
|
2014-08-05 18:35:48 +02:00
|
|
|
android:paddingRight="10dip" />
|
2010-05-18 15:23:25 +00:00
|
|
|
|
2014-08-05 18:35:48 +02:00
|
|
|
<CheckBox
|
|
|
|
android:id="@+id/add_subkey_flag_encrypt"
|
|
|
|
android:layout_width="wrap_content"
|
2012-04-12 19:44:00 +02:00
|
|
|
android:layout_height="wrap_content"
|
2014-08-05 18:35:48 +02:00
|
|
|
android:text="@string/flag_encrypt" />
|
2012-04-12 19:44:00 +02:00
|
|
|
</TableRow>
|
2014-04-07 16:31:38 +02:00
|
|
|
|
2014-08-05 18:35:48 +02:00
|
|
|
<TableRow>
|
2014-04-07 16:31:38 +02:00
|
|
|
|
2014-08-05 18:35:48 +02:00
|
|
|
<TextView
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_gravity="center_vertical"
|
|
|
|
android:paddingRight="10dip" />
|
2014-04-07 16:31:38 +02:00
|
|
|
|
2014-08-05 18:35:48 +02:00
|
|
|
<CheckBox
|
|
|
|
android:id="@+id/add_subkey_flag_authenticate"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:text="@string/flag_authenticate" />
|
|
|
|
</TableRow>
|
2014-04-08 23:59:41 +02:00
|
|
|
|
2012-04-12 19:44:00 +02:00
|
|
|
</TableLayout>
|
2010-05-18 15:23:25 +00:00
|
|
|
|
2012-04-12 19:44:00 +02:00
|
|
|
</ScrollView>
|