2015-06-20 18:46:04 +00:00
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
2016-05-10 14:07:12 +00:00
|
|
|
<LinearLayout xmlns:app="http://schemas.android.com/apk/res-auto"
|
2016-05-12 11:44:29 +00:00
|
|
|
xmlns:android="http://schemas.android.com/apk/res/android"
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:background="@color/white"
|
2016-07-22 16:13:24 +00:00
|
|
|
android:orientation="horizontal"
|
|
|
|
|
android:foreground="?selectableItemBackground">
|
2015-08-17 20:32:21 +00:00
|
|
|
<LinearLayout
|
2016-05-12 11:44:29 +00:00
|
|
|
android:layout_width="80dp"
|
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
|
android:orientation="horizontal"
|
|
|
|
|
android:id="@+id/btnLayout"
|
|
|
|
|
android:baselineAligned="false">
|
2015-12-16 13:39:32 +00:00
|
|
|
<FrameLayout
|
2015-11-07 14:27:17 +00:00
|
|
|
android:layout_width="0dp"
|
|
|
|
|
android:layout_height="match_parent"
|
2016-05-10 14:07:12 +00:00
|
|
|
android:layout_weight="1"
|
|
|
|
|
android:id="@+id/btnPlusWrapper">
|
2015-12-16 13:39:32 +00:00
|
|
|
<View
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="match_parent"
|
2016-05-10 14:07:12 +00:00
|
|
|
android:id="@+id/btnPlusBackground"/>
|
2016-08-11 16:06:55 +00:00
|
|
|
<ImageView
|
|
|
|
|
android:id="@+id/btnPlusIconView"
|
|
|
|
|
android:layout_width="40dp"
|
|
|
|
|
android:layout_height="40dp"
|
|
|
|
|
android:src="@drawable/plus"
|
|
|
|
|
android:scaleType="center"
|
|
|
|
|
android:layout_gravity="center" />
|
2015-12-16 13:39:32 +00:00
|
|
|
<Button
|
|
|
|
|
android:id="@+id/btnPlus"
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="match_parent"
|
2016-03-08 19:53:03 +00:00
|
|
|
android:background="@drawable/selection_highlight"
|
2015-12-16 13:39:32 +00:00
|
|
|
style="@style/HabitButton" />
|
|
|
|
|
</FrameLayout>
|
|
|
|
|
<FrameLayout
|
2015-11-07 14:27:17 +00:00
|
|
|
android:layout_width="0dp"
|
|
|
|
|
android:layout_height="match_parent"
|
2016-05-10 14:07:12 +00:00
|
|
|
android:layout_weight="1"
|
|
|
|
|
android:id="@+id/btnMinusWrapper">
|
2015-12-16 13:39:32 +00:00
|
|
|
<View
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="match_parent"
|
2016-05-10 14:07:12 +00:00
|
|
|
android:id="@+id/btnMinusBackground"/>
|
2016-08-11 16:06:55 +00:00
|
|
|
<ImageView
|
|
|
|
|
android:id="@+id/btnMinusIconView"
|
|
|
|
|
android:layout_width="40dp"
|
|
|
|
|
android:layout_height="40dp"
|
|
|
|
|
android:src="@drawable/minus"
|
|
|
|
|
android:scaleType="center"
|
|
|
|
|
android:layout_gravity="center" />
|
2015-12-16 13:39:32 +00:00
|
|
|
<Button
|
|
|
|
|
android:id="@+id/btnMinus"
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="match_parent"
|
2016-03-08 19:53:03 +00:00
|
|
|
android:background="@drawable/selection_highlight"
|
2015-12-16 13:39:32 +00:00
|
|
|
style="@style/HabitButton"/>
|
|
|
|
|
</FrameLayout>
|
2015-08-17 20:32:21 +00:00
|
|
|
</LinearLayout>
|
2015-08-26 19:09:51 +00:00
|
|
|
<LinearLayout
|
2016-05-12 11:44:29 +00:00
|
|
|
android:layout_width="0dp"
|
|
|
|
|
android:layout_weight="1"
|
2015-06-20 18:46:04 +00:00
|
|
|
android:layout_height="wrap_content"
|
2015-08-26 19:09:51 +00:00
|
|
|
android:orientation="vertical"
|
2016-08-11 16:06:55 +00:00
|
|
|
android:paddingLeft="@dimen/task_text_padding"
|
|
|
|
|
android:paddingStart="@dimen/task_text_padding"
|
|
|
|
|
android:paddingRight="@dimen/task_text_padding"
|
|
|
|
|
android:paddingEnd="@dimen/task_text_padding"
|
2015-12-01 18:41:07 +00:00
|
|
|
android:paddingBottom="@dimen/task_top_bottom_padding"
|
|
|
|
|
android:paddingTop="@dimen/task_top_bottom_padding">
|
2016-06-21 09:28:51 +00:00
|
|
|
<net.pherth.android.emoji_library.EmojiTextView
|
2015-08-26 19:09:51 +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" />
|
2015-06-20 18:46:04 +00:00
|
|
|
|
2016-06-21 09:28:51 +00:00
|
|
|
<net.pherth.android.emoji_library.EmojiTextView
|
2015-11-24 20:21:32 +00:00
|
|
|
android:id="@+id/notesTextView"
|
2015-08-26 19:09:51 +00:00
|
|
|
style="@style/CardText"
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="wrap_content"
|
2016-04-21 17:17:07 +00:00
|
|
|
android:maxLines="3" />
|
2015-08-26 19:09:51 +00:00
|
|
|
</LinearLayout>
|
2015-08-17 20:32:21 +00:00
|
|
|
<View
|
|
|
|
|
android:id="@+id/rightBorderView"
|
2016-08-11 16:06:55 +00:00
|
|
|
android:layout_width="@dimen/task_right_border_width"
|
2015-08-17 20:32:21 +00:00
|
|
|
android:layout_height="match_parent"
|
2016-05-12 11:44:29 +00:00
|
|
|
android:gravity="center" />
|
|
|
|
|
</LinearLayout>
|