Refactor expiry dialog

This commit is contained in:
Dominik Schürmann
2014-08-05 15:07:11 +02:00
parent e9fccff8bc
commit 369f6e080c
7 changed files with 309 additions and 228 deletions

View 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>

View File

@@ -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>