mirror of https://github.com/tasks/tasks
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
71 lines
2.6 KiB
XML
71 lines
2.6 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<merge xmlns:android="http://schemas.android.com/apk/res/android">
|
|
|
|
<LinearLayout
|
|
android:id="@+id/timeComponents"
|
|
android:layout_width="fill_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginBottom="4dip"
|
|
android:orientation="horizontal">
|
|
<com.todoroo.astrid.ui.DeadlineNumberPicker
|
|
android:id="@+id/hours"
|
|
android:layout_width="fill_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_weight="1"/>
|
|
<TextView
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="fill_parent"
|
|
android:background="@android:color/transparent"
|
|
android:text=":"
|
|
android:textColor="?attr/asTextColor"
|
|
android:gravity="center"
|
|
/>
|
|
<com.todoroo.astrid.ui.DeadlineNumberPicker
|
|
android:id="@+id/minutes"
|
|
android:layout_width="fill_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_weight="1"/>
|
|
</LinearLayout>
|
|
|
|
<LinearLayout
|
|
android:id="@+id/am_pm_container"
|
|
android:layout_width="fill_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginBottom="4dip">
|
|
<ToggleButton
|
|
android:id="@+id/am_button"
|
|
android:layout_width="fill_parent"
|
|
android:layout_height="wrap_content"
|
|
android:paddingTop="8dip"
|
|
android:paddingBottom="8dip"
|
|
android:textSize="18sp"
|
|
android:background="@drawable/timepicker_am_btn"
|
|
android:gravity="center"
|
|
android:textColor="@color/task_edit_toggle_button_text"
|
|
android:layout_weight="1"
|
|
android:layout_marginRight="-1dip"/>
|
|
<ToggleButton
|
|
android:id="@+id/pm_button"
|
|
android:layout_width="fill_parent"
|
|
android:layout_height="wrap_content"
|
|
android:paddingTop="8dip"
|
|
android:paddingBottom="8dip"
|
|
android:textSize="18sp"
|
|
android:background="@drawable/timepicker_pm_btn"
|
|
android:gravity="center"
|
|
android:textColor="@color/task_edit_toggle_button_text"
|
|
android:layout_weight="1"
|
|
android:layout_marginLeft="-1dip"/>
|
|
</LinearLayout>
|
|
|
|
<ToggleButton
|
|
android:id="@+id/hasTime"
|
|
android:layout_width="fill_parent"
|
|
android:layout_height="wrap_content"
|
|
android:paddingTop="8dip"
|
|
android:paddingBottom="8dip"
|
|
android:textSize="18sp"
|
|
android:gravity="center"
|
|
android:textColor="@color/task_edit_toggle_button_text"/>
|
|
|
|
</merge> |