Add deadline clear button
After Width: | Height: | Size: 397 B |
After Width: | Height: | Size: 414 B |
After Width: | Height: | Size: 517 B |
After Width: | Height: | Size: 536 B |
After Width: | Height: | Size: 721 B |
After Width: | Height: | Size: 751 B |
After Width: | Height: | Size: 291 B |
After Width: | Height: | Size: 304 B |
@ -1,22 +1,47 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_gravity="top"
|
||||
android:orientation="horizontal">
|
||||
|
||||
<Spinner
|
||||
android:id="@+id/due_date"
|
||||
android:layout_width="wrap_content"
|
||||
<LinearLayout
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:background="?attr/textfield_underline" />
|
||||
android:layout_weight="100"
|
||||
android:orientation="horizontal">
|
||||
|
||||
<Spinner
|
||||
android:id="@+id/due_date"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:background="?attr/textfield_underline" />
|
||||
|
||||
<Spinner
|
||||
android:id="@+id/due_time"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginLeft="15dp"
|
||||
android:layout_marginStart="15dp"
|
||||
android:background="?attr/textfield_underline" />
|
||||
|
||||
<Spinner
|
||||
android:id="@+id/due_time"
|
||||
</LinearLayout>
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/clear_due_date"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginLeft="15dp"
|
||||
android:layout_marginStart="15dp"
|
||||
android:background="?attr/textfield_underline" />
|
||||
android:layout_height="fill_parent"
|
||||
android:layout_gravity="center"
|
||||
android:layout_weight="1"
|
||||
android:alpha="@dimen/drawer_icon_alpha"
|
||||
android:background="?attr/selectableItemBackgroundBorderless"
|
||||
android:clickable="true"
|
||||
android:contentDescription="@android:string/cancel"
|
||||
android:paddingEnd="10dp"
|
||||
android:paddingLeft="10dp"
|
||||
android:paddingRight="10dp"
|
||||
android:paddingStart="10dp"
|
||||
android:src="?attr/ic_cancel"
|
||||
android:visibility="gone" />
|
||||
|
||||
</LinearLayout>
|
||||
|