Refactor expiry dialog
This commit is contained in:
16
OpenKeychain/src/main/res/layout/expiry_dialog.xml
Normal file
16
OpenKeychain/src/main/res/layout/expiry_dialog.xml
Normal file
@@ -0,0 +1,16 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:orientation="vertical"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent">
|
||||
|
||||
<DatePicker xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:id="@+id/datePicker"
|
||||
android:layout_gravity="center_horizontal"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:spinnersShown="true"
|
||||
android:calendarViewShown="false" />
|
||||
<!-- Hide calendarView in tablets because of the unix warparound bug. -->
|
||||
|
||||
</LinearLayout>
|
||||
@@ -51,7 +51,7 @@
|
||||
<string name="btn_save">Save</string>
|
||||
<string name="btn_do_not_save">Cancel</string>
|
||||
<string name="btn_delete">Delete</string>
|
||||
<string name="btn_no_date">None</string>
|
||||
<string name="btn_no_date">No Expiry</string>
|
||||
<string name="btn_okay">Okay</string>
|
||||
<string name="btn_export_to_server">Upload To Keyserver</string>
|
||||
<string name="btn_next">Next</string>
|
||||
|
||||
Reference in New Issue
Block a user