2015-06-20 18:46:04 +00:00
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
2017-01-11 22:46:26 +00:00
|
|
|
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
|
|
|
|
xmlns:app="http://schemas.android.com/apk/res-auto"
|
|
|
|
|
xmlns:tools="http://schemas.android.com/tools"
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="wrap_content"
|
2020-09-04 16:17:34 +00:00
|
|
|
android:background="?attr/colorContentBackground"
|
2017-01-11 22:46:26 +00:00
|
|
|
android:foreground="?selectableItemBackground"
|
|
|
|
|
android:orientation="vertical">
|
|
|
|
|
|
2017-01-05 17:19:06 +00:00
|
|
|
<FrameLayout
|
2020-08-25 11:21:27 +00:00
|
|
|
android:id="@+id/main_task_wrapper"
|
2017-01-11 22:46:26 +00:00
|
|
|
android:layout_width="match_parent"
|
2020-08-25 11:21:27 +00:00
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:layout_marginHorizontal="@dimen/task_spacing_horizontal"
|
|
|
|
|
android:layout_marginVertical="@dimen/task_spacing_vertical"
|
|
|
|
|
android:background="@drawable/task_background"
|
|
|
|
|
android:clipChildren="true"
|
|
|
|
|
android:minHeight="@dimen/task_min_height">
|
2017-01-11 22:46:26 +00:00
|
|
|
<LinearLayout
|
2015-08-17 20:06:29 +00:00
|
|
|
android:layout_width="match_parent"
|
2016-03-07 17:21:59 +00:00
|
|
|
android:layout_height="wrap_content"
|
2020-08-25 11:21:27 +00:00
|
|
|
android:orientation="vertical">
|
2017-01-11 22:46:26 +00:00
|
|
|
<LinearLayout
|
2020-08-25 11:21:27 +00:00
|
|
|
android:layout_width="match_parent"
|
2017-01-05 17:19:06 +00:00
|
|
|
android:layout_height="wrap_content"
|
2020-08-25 11:21:27 +00:00
|
|
|
android:orientation="horizontal"
|
|
|
|
|
android:baselineAligned="false"
|
|
|
|
|
android:minHeight="@dimen/task_min_height">
|
|
|
|
|
|
|
|
|
|
<FrameLayout
|
|
|
|
|
android:id="@+id/checkBoxHolder"
|
|
|
|
|
android:layout_width="@dimen/button_width"
|
2020-09-15 07:28:34 +00:00
|
|
|
android:layout_height="match_parent"
|
|
|
|
|
tools:background="@color/red_10">
|
|
|
|
|
<View
|
|
|
|
|
android:id="@+id/checkBoxBackground"
|
|
|
|
|
android:layout_width="24dp"
|
|
|
|
|
android:layout_height="24dp"
|
|
|
|
|
android:gravity="center"
|
2020-09-17 11:23:27 +00:00
|
|
|
android:background="@drawable/daily_checked"
|
2020-09-15 07:28:34 +00:00
|
|
|
android:layout_gravity="center" />
|
|
|
|
|
<View
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
|
android:background="@color/task_tint_overlay"/>
|
|
|
|
|
<ImageView
|
|
|
|
|
android:id="@+id/checkmark"
|
|
|
|
|
android:layout_width="24dp"
|
|
|
|
|
android:layout_height="24dp"
|
2020-08-25 11:21:27 +00:00
|
|
|
android:layout_gravity="center"
|
2020-09-15 07:28:34 +00:00
|
|
|
android:scaleType="center"
|
|
|
|
|
android:src="@drawable/checkmark" />
|
2020-08-25 11:21:27 +00:00
|
|
|
</FrameLayout>
|
|
|
|
|
<include layout="@layout/task_main_content" />
|
|
|
|
|
<ProgressBar
|
|
|
|
|
android:id="@+id/syncing_view"
|
|
|
|
|
android:layout_width="20dp"
|
|
|
|
|
android:layout_height="20dp"
|
|
|
|
|
android:layout_gravity="center_vertical"
|
|
|
|
|
android:layout_marginLeft="@dimen/spacing_small"
|
|
|
|
|
android:layout_marginRight="@dimen/spacing_small"
|
|
|
|
|
style="@style/Widget.AppCompat.ProgressBar"/>
|
|
|
|
|
<ImageButton
|
|
|
|
|
android:id="@+id/error_icon"
|
|
|
|
|
android:layout_width="wrap_content"
|
2016-05-12 11:44:29 +00:00
|
|
|
android:layout_height="wrap_content"
|
2020-08-25 11:21:27 +00:00
|
|
|
android:layout_gravity="center_vertical"
|
|
|
|
|
android:background="@color/transparent"
|
|
|
|
|
android:src="@drawable/ic_warning_black"
|
|
|
|
|
android:layout_marginLeft="@dimen/spacing_small"
|
|
|
|
|
android:layout_marginRight="@dimen/spacing_small"/>
|
|
|
|
|
<include layout="@layout/checklist_indicator" />
|
2017-01-05 17:19:06 +00:00
|
|
|
</LinearLayout>
|
2017-01-11 22:46:26 +00:00
|
|
|
<LinearLayout
|
2020-08-25 11:21:27 +00:00
|
|
|
android:id="@+id/checklistView"
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:orientation="vertical" />
|
2017-01-11 22:46:26 +00:00
|
|
|
</LinearLayout>
|
2017-01-05 17:19:06 +00:00
|
|
|
</FrameLayout>
|
2016-05-12 11:44:29 +00:00
|
|
|
</LinearLayout>
|