mirror of
https://github.com/sudoxnym/habitica-android.git
synced 2026-04-14 19:56:32 +00:00
39 lines
No EOL
1.6 KiB
XML
39 lines
No EOL
1.6 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
|
android:orientation="horizontal" android:layout_width="match_parent"
|
|
android:layout_height="fill_parent"
|
|
android:minHeight="@dimen/checklist_item_min_height"
|
|
xmlns:tools="http://schemas.android.com/tools">
|
|
<FrameLayout
|
|
android:id="@+id/checkBoxHolder"
|
|
android:layout_width="@dimen/button_width"
|
|
android:layout_height="match_parent"
|
|
tools:background="@color/red_10">
|
|
<View
|
|
android:id="@+id/checkBoxBackground"
|
|
android:layout_width="20dp"
|
|
android:layout_height="20dp"
|
|
android:gravity="center"
|
|
android:background="@drawable/checklist_unchecked"
|
|
android:layout_gravity="center" />
|
|
<View
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"/>
|
|
<ImageView
|
|
android:id="@+id/checkmark"
|
|
android:layout_width="20dp"
|
|
android:layout_height="20dp"
|
|
android:layout_gravity="center"
|
|
android:scaleType="center"
|
|
android:src="@drawable/checkmark" />
|
|
</FrameLayout>
|
|
<com.habitrpg.android.habitica.ui.views.EllipsisTextView
|
|
android:id="@+id/checkedTextView"
|
|
style="@style/Body2"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:paddingVertical="5dp"
|
|
android:layout_marginHorizontal="@dimen/task_text_padding"
|
|
android:layout_gravity="center_vertical"
|
|
tools:text="Example checklist item" />
|
|
</LinearLayout> |