mirror of
https://github.com/sudoxnym/habitica-android.git
synced 2026-04-14 19:56:32 +00:00
85 lines
4.1 KiB
XML
85 lines
4.1 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
xmlns:tools="http://schemas.android.com/tools"
|
|
android:foreground="?selectableItemBackground"
|
|
android:orientation="vertical">
|
|
|
|
<LinearLayout
|
|
android:id="@+id/main_task_wrapper"
|
|
android:layout_width="match_parent"
|
|
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"
|
|
android:orientation="vertical">
|
|
<LinearLayout
|
|
android:id="@+id/card_view"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
android:orientation="horizontal"
|
|
android:baselineAligned="false"
|
|
android:minHeight="@dimen/task_min_height">
|
|
<FrameLayout
|
|
android:id="@+id/checkBoxHolder"
|
|
android:layout_width="@dimen/button_width"
|
|
android:layout_height="match_parent"
|
|
tools:background="@color/red_10"
|
|
android:foreground="?selectableItemBackground"
|
|
android:focusable="true"
|
|
android:contentDescription="@string/todo_item_checkbox">
|
|
<View
|
|
android:id="@+id/checkBoxBackground"
|
|
android:layout_width="24dp"
|
|
android:layout_height="24dp"
|
|
android:gravity="center"
|
|
android:background="@drawable/todo_unchecked"
|
|
android:layout_gravity="center" />
|
|
<View
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"/>
|
|
<ImageView
|
|
android:id="@+id/checkmark"
|
|
android:layout_width="24dp"
|
|
android:layout_height="24dp"
|
|
android:layout_gravity="center"
|
|
android:scaleType="center"
|
|
android:src="@drawable/checkmark" />
|
|
<ImageView
|
|
android:id="@+id/lock_view"
|
|
android:layout_width="24dp"
|
|
android:layout_height="24dp"
|
|
android:layout_gravity="center"
|
|
android:scaleType="center"
|
|
android:src="@drawable/task_lock" />
|
|
</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_marginStart="@dimen/spacing_small"
|
|
android:layout_marginEnd="@dimen/spacing_small"
|
|
style="@style/Widget.AppCompat.ProgressBar"/>
|
|
<ImageButton
|
|
android:id="@+id/error_icon"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_gravity="center_vertical"
|
|
android:background="@color/transparent"
|
|
android:src="@drawable/ic_warning_black"
|
|
android:layout_marginStart="@dimen/spacing_small"
|
|
android:layout_marginEnd="@dimen/spacing_small"/>
|
|
<include layout="@layout/checklist_indicator" />
|
|
</LinearLayout>
|
|
<LinearLayout
|
|
android:id="@+id/checklistView"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:orientation="vertical" />
|
|
</LinearLayout>
|
|
</FrameLayout>
|