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"
|
|
|
|
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-04 02:26:34 +02:00
|
|
|
<TableRow>
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:id="@+id/label_expiry"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_gravity="center_vertical"
|
|
|
|
android:paddingRight="10dip"
|
|
|
|
android:text="@string/label_expiry" />
|
|
|
|
|
|
|
|
<Button
|
|
|
|
android:id="@+id/expiry"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="40dp"
|
|
|
|
android:text="@string/none"
|
|
|
|
android:background="@drawable/button_edgy" />
|
|
|
|
</TableRow>
|
|
|
|
|
|
|
|
<TableRow android:id="@+id/row_certify">
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:id="@+id/label_usage"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_gravity="center_vertical"
|
|
|
|
android:paddingRight="10dip"
|
|
|
|
android:text="@string/label_usage" />
|
|
|
|
|
|
|
|
<CheckBox
|
|
|
|
android:id="@+id/chkCertify"
|
|
|
|
android:enabled="false"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:text="@string/flag_certify" />
|
|
|
|
</TableRow>
|
|
|
|
|
|
|
|
<TableRow android:id="@+id/row_sign">
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:id="@+id/label_usage2"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_gravity="center_vertical"
|
|
|
|
android:paddingRight="10dip"
|
|
|
|
android:text="@string/label_usage" />
|
|
|
|
|
|
|
|
<CheckBox
|
|
|
|
android:id="@+id/chkSign"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:text="@string/flag_sign" />
|
|
|
|
</TableRow>
|
|
|
|
|
|
|
|
<TableRow android:id="@+id/row_encrypt">
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_gravity="center_vertical"
|
|
|
|
android:paddingRight="10dip" />
|
|
|
|
|
|
|
|
<CheckBox
|
|
|
|
android:id="@+id/chkEncrypt"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:text="@string/flag_encrypt" />
|
|
|
|
</TableRow>
|
|
|
|
|
|
|
|
<TableRow android:id="@+id/row_authenticate">
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_gravity="center_vertical"
|
|
|
|
android:paddingRight="10dip" />
|
|
|
|
|
|
|
|
<CheckBox
|
|
|
|
android:id="@+id/chkAuthenticate"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:text="@string/flag_authenticate" />
|
|
|
|
</TableRow>
|
2010-05-18 15:23:25 +00:00
|
|
|
|
2014-03-18 23:30:42 +01:00
|
|
|
<TextView
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_gravity="center_vertical"
|
|
|
|
android:padding="4dp"
|
2014-08-04 02:26:34 +02:00
|
|
|
android:text="@string/key_creation_el_gamal_info" />
|
2014-03-18 23:30:42 +01: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"
|
|
|
|
android:padding="4dp"
|
|
|
|
android:text="@string/label_algorithm" />
|
2010-05-18 15:23:25 +00:00
|
|
|
|
2012-04-12 19:44:00 +02:00
|
|
|
<Spinner
|
|
|
|
android:id="@+id/create_key_algorithm"
|
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"
|
|
|
|
android:padding="4dp" />
|
|
|
|
</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"
|
|
|
|
android:padding="4dp"
|
2013-10-25 21:46:05 +02:00
|
|
|
android:text="@string/label_key_size" />
|
2010-05-18 15:23:25 +00:00
|
|
|
|
2013-07-22 11:11:41 -05:00
|
|
|
<Spinner
|
2012-04-12 19:44:00 +02:00
|
|
|
android:id="@+id/create_key_size"
|
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"
|
|
|
|
android:gravity="right"
|
2013-07-22 11:11:41 -05:00
|
|
|
android:padding="4dp" />
|
2012-04-12 19:44:00 +02:00
|
|
|
</TableRow>
|
2014-04-07 16:31:38 +02:00
|
|
|
|
|
|
|
<TextView
|
2014-08-04 02:26:34 +02:00
|
|
|
android:id="@+id/custom_key_size_label"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_gravity="center_vertical"
|
|
|
|
android:padding="4dp"
|
|
|
|
android:text="@string/key_size_custom_info"
|
|
|
|
android:visibility="gone" />
|
2014-04-07 16:31:38 +02:00
|
|
|
|
|
|
|
<EditText
|
2014-08-04 02:26:34 +02:00
|
|
|
android:id="@+id/custom_key_size_input"
|
|
|
|
android:layout_width="0dip"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_weight="1"
|
|
|
|
android:inputType="number"
|
|
|
|
android:visibility="gone" />
|
2014-04-07 16:31:38 +02:00
|
|
|
|
2014-04-08 23:59:41 +02:00
|
|
|
<TextView
|
2014-08-04 02:26:34 +02:00
|
|
|
android:id="@+id/custom_key_size_info"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_gravity="center_vertical"
|
|
|
|
android:padding="4dp" />
|
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>
|