2017-07-16 17:09:35 +02:00
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
|
|
|
<!--
|
|
|
|
Copyright 2017 Thomas Schneider
|
|
|
|
|
2019-05-18 11:10:30 +02:00
|
|
|
This file is a part of Fedilab
|
2017-07-16 17:09:35 +02:00
|
|
|
|
|
|
|
This program is free software; you can redistribute it and/or modify it under the terms of the
|
|
|
|
GNU General Public License as published by the Free Software Foundation; either version 3 of the
|
|
|
|
License, or (at your option) any later version.
|
|
|
|
|
2019-05-18 11:10:30 +02:00
|
|
|
Fedilab is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even
|
2017-07-16 17:09:35 +02:00
|
|
|
the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
|
|
|
|
Public License for more details.
|
|
|
|
|
2019-05-18 11:10:30 +02:00
|
|
|
You should have received a copy of the GNU General Public License along with Fedilab; if not,
|
2017-07-16 17:09:35 +02:00
|
|
|
see <http://www.gnu.org/licenses>.
|
|
|
|
-->
|
2018-12-10 09:22:50 +01:00
|
|
|
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
2017-07-16 17:09:35 +02:00
|
|
|
android:orientation="vertical"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="match_parent">
|
|
|
|
<DatePicker
|
|
|
|
android:id="@+id/date_picker"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:calendarViewShown="true"
|
|
|
|
android:gravity="center"
|
|
|
|
android:spinnersShown="false"
|
|
|
|
android:layout_height="wrap_content" />
|
|
|
|
<TimePicker
|
|
|
|
android:visibility="gone"
|
|
|
|
android:gravity="center"
|
|
|
|
android:id="@+id/time_picker"
|
|
|
|
android:layout_weight="4"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="0dp" />
|
|
|
|
<LinearLayout
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
2017-07-16 19:04:53 +02:00
|
|
|
android:gravity="center"
|
2017-07-16 17:09:35 +02:00
|
|
|
android:orientation="horizontal">
|
|
|
|
<Button
|
|
|
|
android:id="@+id/date_time_cancel"
|
2017-07-16 19:04:53 +02:00
|
|
|
android:layout_width="wrap_content"
|
2017-07-16 17:09:35 +02:00
|
|
|
android:text="@string/cancel"
|
2017-07-16 19:04:53 +02:00
|
|
|
android:layout_height="40dp"
|
2017-10-30 13:04:11 +01:00
|
|
|
style="@style/Base.Widget.AppCompat.Button"
|
|
|
|
/>
|
2017-07-16 19:04:53 +02:00
|
|
|
<ImageButton
|
|
|
|
android:layout_marginStart="10dp"
|
|
|
|
android:layout_marginLeft="10dp"
|
2017-07-16 17:09:35 +02:00
|
|
|
android:visibility="gone"
|
|
|
|
android:id="@+id/date_time_previous"
|
2017-07-16 19:04:53 +02:00
|
|
|
android:layout_width="40dp"
|
|
|
|
android:src="@drawable/ic_skip_previous"
|
|
|
|
android:layout_height="40dp"
|
2017-10-30 13:04:11 +01:00
|
|
|
style="@style/Base.Widget.AppCompat.Button"
|
2018-12-10 09:22:50 +01:00
|
|
|
android:contentDescription="@string/previous" />
|
2017-07-16 19:04:53 +02:00
|
|
|
<ImageButton
|
2017-07-16 17:09:35 +02:00
|
|
|
android:id="@+id/date_time_next"
|
2017-07-16 19:04:53 +02:00
|
|
|
android:layout_marginStart="10dp"
|
|
|
|
android:layout_marginLeft="10dp"
|
|
|
|
android:src="@drawable/ic_skip_next"
|
|
|
|
android:layout_width="40dp"
|
|
|
|
android:layout_height="40dp"
|
2017-10-30 13:04:11 +01:00
|
|
|
style="@style/Base.Widget.AppCompat.Button"
|
2018-12-10 09:22:50 +01:00
|
|
|
android:contentDescription="@string/next"/>
|
2017-07-16 19:04:53 +02:00
|
|
|
<ImageButton
|
2017-07-16 17:09:35 +02:00
|
|
|
android:visibility="gone"
|
2017-07-16 19:04:53 +02:00
|
|
|
android:layout_marginStart="10dp"
|
|
|
|
android:layout_marginLeft="10dp"
|
2017-07-16 17:09:35 +02:00
|
|
|
android:id="@+id/date_time_set"
|
2017-07-16 19:04:53 +02:00
|
|
|
android:src="@drawable/ic_check"
|
|
|
|
android:layout_width="40dp"
|
|
|
|
android:layout_height="40dp"
|
2017-10-30 13:04:11 +01:00
|
|
|
style="@style/Base.Widget.AppCompat.Button"
|
2018-12-10 09:22:50 +01:00
|
|
|
android:contentDescription="@string/validate"/>
|
2017-07-16 17:09:35 +02:00
|
|
|
</LinearLayout>
|
|
|
|
|
|
|
|
</LinearLayout>
|