habitica-android/Habitica/res/layout/daily_item_card.xml

116 lines
5.7 KiB
XML
Raw Normal View History

<?xml version="1.0" encoding="utf-8"?>
2015-08-17 20:06:29 +00:00
<LinearLayout xmlns:app="http://schemas.android.com/apk/res-auto"
2016-05-10 14:07:12 +00:00
xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
2016-03-07 17:21:59 +00:00
android:layout_height="wrap_content"
2015-08-17 20:06:29 +00:00
android:background="@color/white"
android:orientation="vertical">
<LinearLayout
android:layout_width="match_parent"
2016-03-07 17:21:59 +00:00
android:layout_height="wrap_content"
2015-11-07 18:10:03 +00:00
android:orientation="horizontal">
<RelativeLayout
android:id="@+id/checkBoxHolder"
2015-08-17 20:32:21 +00:00
android:layout_width="@dimen/button_width"
2016-05-10 14:07:12 +00:00
android:layout_height="match_parent">
2015-11-07 18:10:03 +00:00
<CheckBox
android:id="@+id/checkBox"
android:layout_width="@dimen/checkbox_size"
android:layout_height="@dimen/checkbox_size"
android:layout_centerInParent="true"
android:gravity="center"
android:button="@drawable/daily_checkbox"
android:layout_gravity="center_horizontal" />
</RelativeLayout>
2015-08-17 20:06:29 +00:00
<RelativeLayout
android:layout_width="match_parent"
android:layout_height="match_parent">
2015-06-29 16:24:44 +00:00
<LinearLayout
android:orientation="vertical"
android:layout_width="wrap_content"
2015-06-29 16:24:44 +00:00
android:layout_height="match_parent"
2015-11-07 18:10:03 +00:00
android:paddingLeft="16dp"
android:paddingRight="16dp"
android:paddingEnd="16dp"
2015-12-01 18:41:07 +00:00
android:paddingBottom="@dimen/task_top_bottom_padding"
android:paddingTop="@dimen/task_top_bottom_padding"
2015-08-17 20:06:29 +00:00
android:id="@+id/linearLayout"
android:layout_alignParentTop="true"
android:layout_alignParentLeft="true"
android:layout_alignParentStart="true"
android:layout_toLeftOf="@+id/checklistIndicatorWrapper"
android:layout_toStartOf="@+id/checklistIndicatorWrapper">
<com.github.data5tream.emojilib.EmojiTextView
2015-06-29 16:24:44 +00:00
android:id="@+id/checkedTextView"
style="@style/CardTitle"
android:layout_width="match_parent"
2016-05-10 14:07:12 +00:00
android:layout_height="wrap_content" />
<com.github.data5tream.emojilib.EmojiTextView
2015-11-24 20:21:32 +00:00
android:id="@+id/notesTextView"
2015-06-29 16:24:44 +00:00
style="@style/CardText"
android:layout_width="match_parent"
2015-11-07 18:10:03 +00:00
android:layout_height="wrap_content"
2016-04-21 17:17:07 +00:00
android:maxLines="3" />
2016-03-08 19:53:03 +00:00
<TextView
android:layout_width="match_parent"
2016-05-10 14:07:12 +00:00
android:layout_height="wrap_content"/>
2015-06-29 16:24:44 +00:00
</LinearLayout>
2015-08-17 20:06:29 +00:00
<RelativeLayout android:orientation="vertical"
android:id="@+id/checklistIndicatorWrapper"
2015-08-17 20:32:21 +00:00
android:layout_width="@dimen/checklist_wrapper_width"
android:layout_height="match_parent"
2015-08-17 20:06:29 +00:00
android:gravity="center"
android:layout_alignParentTop="true"
android:layout_alignParentBottom="true"
android:layout_alignParentRight="true"
android:layout_alignParentEnd="true">
<TextView
2016-05-10 14:07:12 +00:00
android:id="@+id/checkListCompletedTextView"
2015-08-17 20:06:29 +00:00
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:textColor="@color/white"
android:gravity="center"
android:layout_above="@+id/checklistDivider"/>
<View
android:id="@+id/checklistDivider"
2015-08-17 20:32:21 +00:00
android:layout_width="@dimen/checklist_divider_width"
android:layout_height="@dimen/hairline_height"
2015-08-17 20:06:29 +00:00
android:background="@color/white"
android:layout_centerInParent="true"/>
<TextView
2016-05-10 14:07:12 +00:00
android:id="@+id/checkListAllTextView"
2015-08-17 20:06:29 +00:00
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:textColor="@color/white"
android:gravity="center"
android:layout_below="@+id/checklistDivider"/>
</RelativeLayout>
<View
android:id="@+id/rightBorderView"
android:layout_width="5dp"
2015-08-17 20:06:29 +00:00
android:layout_height="match_parent"
android:gravity="center"
android:layout_alignParentTop="true"
android:layout_alignParentRight="true"
android:layout_alignParentEnd="true" />
</RelativeLayout>
</LinearLayout>
<View
2016-05-10 14:07:12 +00:00
android:id="@+id/checklistSeparator"
2015-08-17 20:06:29 +00:00
android:layout_width="match_parent"
2015-08-17 20:32:21 +00:00
android:layout_height="@dimen/hairline_height"
2016-05-10 14:07:12 +00:00
android:background="@color/cell_separator" />
2015-08-31 15:48:56 +00:00
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:id="@+id/checklistView"
2016-05-10 14:07:12 +00:00
android:orientation="vertical" />
2015-08-31 15:48:56 +00:00
<View
2016-05-10 14:07:12 +00:00
android:id="@+id/checklistBottomSpace"
2015-08-31 15:48:56 +00:00
android:layout_width="match_parent"
android:layout_height="10dp"
2016-05-10 14:07:12 +00:00
android:background="@color/checklist_separator" />
2016-03-08 19:53:03 +00:00
2015-08-17 20:06:29 +00:00
</LinearLayout>