2016-09-22 14:02:01 +00:00
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
|
|
|
|
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
2017-06-20 09:30:58 +00:00
|
|
|
xmlns:tools="http://schemas.android.com/tools"
|
|
|
|
|
android:orientation="vertical"
|
|
|
|
|
android:layout_width="match_parent"
|
2016-09-22 14:02:01 +00:00
|
|
|
android:layout_height="match_parent"
|
2021-07-27 09:27:43 +00:00
|
|
|
android:background="@drawable/widget_background"
|
|
|
|
|
android:id="@+id/widget"
|
|
|
|
|
android:clipChildren="true"
|
|
|
|
|
android:clipToPadding="true">
|
2016-09-22 14:02:01 +00:00
|
|
|
<LinearLayout
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="0dp"
|
2017-09-05 14:47:13 +00:00
|
|
|
android:layout_weight="1"
|
|
|
|
|
android:baselineAligned="false">
|
2016-09-22 14:02:01 +00:00
|
|
|
<FrameLayout
|
|
|
|
|
android:id="@+id/btnPlusWrapper"
|
|
|
|
|
android:layout_width="0dp"
|
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
|
android:layout_weight="1">
|
|
|
|
|
<ImageView
|
|
|
|
|
android:id="@+id/btnPlus"
|
|
|
|
|
android:src="@drawable/plus"
|
|
|
|
|
android:scaleType="center"
|
|
|
|
|
android:layout_width="match_parent"
|
2019-08-23 10:24:15 +00:00
|
|
|
android:layout_height="match_parent"
|
|
|
|
|
android:background="@drawable/selection_highlight_brand" />
|
2016-09-22 14:02:01 +00:00
|
|
|
<TextView
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="match_parent"
|
2019-08-23 10:24:15 +00:00
|
|
|
android:background="@drawable/selection_highlight_brand"
|
2020-11-30 11:40:45 +00:00
|
|
|
android:textSize="24sp"
|
2016-09-22 14:02:01 +00:00
|
|
|
/>
|
|
|
|
|
</FrameLayout>
|
|
|
|
|
<FrameLayout
|
|
|
|
|
android:id="@+id/btnMinusWrapper"
|
|
|
|
|
android:layout_width="0dp"
|
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
|
android:layout_weight="1">
|
|
|
|
|
<ImageView
|
|
|
|
|
android:id="@+id/btnMinus"
|
|
|
|
|
android:src="@drawable/minus"
|
|
|
|
|
android:scaleType="center"
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="match_parent"
|
2019-08-23 10:24:15 +00:00
|
|
|
android:background="@drawable/selection_highlight_brand" />
|
2016-09-22 14:02:01 +00:00
|
|
|
<TextView
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="match_parent"
|
2019-08-23 10:24:15 +00:00
|
|
|
android:background="@drawable/selection_highlight_brand"
|
2020-11-30 11:40:45 +00:00
|
|
|
android:textSize="24sp"
|
2016-09-22 14:02:01 +00:00
|
|
|
/>
|
|
|
|
|
</FrameLayout>
|
|
|
|
|
</LinearLayout>
|
|
|
|
|
<TextView
|
|
|
|
|
android:id="@+id/habit_title"
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="wrap_content"
|
2021-07-27 09:27:43 +00:00
|
|
|
android:layout_marginStart="8dp"
|
|
|
|
|
android:layout_marginEnd="8dp"
|
2016-09-22 14:02:01 +00:00
|
|
|
android:layout_marginTop="6dp"
|
2017-06-20 09:30:58 +00:00
|
|
|
android:layout_marginBottom="12dp"
|
2021-07-27 09:27:43 +00:00
|
|
|
android:textColor="@color/text_primary"
|
|
|
|
|
android:textSize="12sp"
|
2017-06-20 09:30:58 +00:00
|
|
|
tools:text="Habit Text"/>
|
2016-09-22 14:02:01 +00:00
|
|
|
</LinearLayout>
|