52 lines
1.6 KiB
XML
52 lines
1.6 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<LinearLayout
|
|
xmlns:android="http://schemas.android.com/apk/res/android"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
android:orientation="vertical"
|
|
>
|
|
|
|
<DatePicker
|
|
android:id="@+id/datePicker"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:datePickerMode="spinner"
|
|
android:calendarViewShown="false"
|
|
android:spinnersShown="true"
|
|
android:layout_gravity="center_horizontal"
|
|
/>
|
|
|
|
<TimePicker
|
|
android:id="@+id/timePicker"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:timePickerMode="spinner"
|
|
android:layout_gravity="center_horizontal"
|
|
/>
|
|
|
|
<LinearLayout
|
|
style="?android:attr/buttonBarStyle"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:orientation="horizontal"
|
|
>
|
|
|
|
<Button
|
|
android:id="@+id/btnCancel"
|
|
style="?android:attr/buttonBarButtonStyle"
|
|
android:layout_width="0dp"
|
|
android:layout_height="wrap_content"
|
|
android:layout_weight="1"
|
|
android:text="@string/cancel"
|
|
/>
|
|
|
|
<Button
|
|
android:id="@+id/btnOk"
|
|
style="?android:attr/buttonBarButtonStyle"
|
|
android:layout_width="0dp"
|
|
android:layout_height="wrap_content"
|
|
android:layout_weight="1"
|
|
android:text="@string/ok"
|
|
/>
|
|
</LinearLayout>
|
|
</LinearLayout> |