2016-09-12 19:11:35 +00:00
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
|
|
|
|
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
|
|
|
|
android:orientation="vertical" android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
|
android:padding="8dp">
|
|
|
|
|
<LinearLayout
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:orientation="horizontal"
|
2017-09-05 14:47:13 +00:00
|
|
|
android:layout_marginBottom="16dp"
|
|
|
|
|
android:baselineAligned="false">
|
2016-09-12 19:11:35 +00:00
|
|
|
<LinearLayout
|
|
|
|
|
android:id="@+id/add_habit_button"
|
|
|
|
|
android:orientation="vertical" android:layout_width="0dp"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:gravity="center_horizontal"
|
|
|
|
|
android:layout_weight="1">
|
|
|
|
|
<ImageView
|
|
|
|
|
android:layout_width="30dp"
|
|
|
|
|
android:layout_height="30dp"
|
|
|
|
|
android:src="@drawable/fab_add"
|
|
|
|
|
android:background="@drawable/widget_add_habit_background" />
|
|
|
|
|
<TextView
|
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:text="@string/add_habit"
|
|
|
|
|
android:layout_marginTop="2dp" />
|
|
|
|
|
</LinearLayout>
|
|
|
|
|
<LinearLayout
|
|
|
|
|
android:id="@+id/add_daily_button"
|
|
|
|
|
android:orientation="vertical" android:layout_width="0dp"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:gravity="center_horizontal"
|
|
|
|
|
android:layout_weight="1">
|
|
|
|
|
<ImageView
|
|
|
|
|
android:layout_width="30dp"
|
|
|
|
|
android:layout_height="30dp"
|
|
|
|
|
android:src="@drawable/fab_add"
|
|
|
|
|
android:background="@drawable/widget_add_daily_background" />
|
|
|
|
|
<TextView
|
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:text="@string/add_daily"
|
|
|
|
|
android:layout_marginTop="2dp" />
|
|
|
|
|
</LinearLayout>
|
|
|
|
|
</LinearLayout>
|
|
|
|
|
<LinearLayout
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="wrap_content"
|
2017-09-05 14:47:13 +00:00
|
|
|
android:orientation="horizontal"
|
|
|
|
|
android:baselineAligned="false">
|
2016-09-12 19:11:35 +00:00
|
|
|
<LinearLayout
|
|
|
|
|
android:id="@+id/add_todo_button"
|
|
|
|
|
android:orientation="vertical" android:layout_width="0dp"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:gravity="center_horizontal"
|
|
|
|
|
android:layout_weight="1">
|
|
|
|
|
<ImageView
|
|
|
|
|
android:layout_width="30dp"
|
|
|
|
|
android:layout_height="30dp"
|
|
|
|
|
android:src="@drawable/fab_add"
|
|
|
|
|
android:background="@drawable/widget_add_todo_background" />
|
|
|
|
|
<TextView
|
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:text="@string/add_todo"
|
|
|
|
|
android:layout_marginTop="2dp" />
|
|
|
|
|
</LinearLayout>
|
|
|
|
|
<LinearLayout
|
|
|
|
|
android:id="@+id/add_reward_button"
|
|
|
|
|
android:orientation="vertical" android:layout_width="0dp"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:gravity="center_horizontal"
|
|
|
|
|
android:layout_weight="1">
|
|
|
|
|
<ImageView
|
|
|
|
|
android:layout_width="30dp"
|
|
|
|
|
android:layout_height="30dp"
|
|
|
|
|
android:src="@drawable/fab_add"
|
|
|
|
|
android:background="@drawable/widget_add_reward_background" />
|
|
|
|
|
<TextView
|
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:text="@string/add_reward"
|
|
|
|
|
android:layout_marginTop="2dp" />
|
|
|
|
|
</LinearLayout>
|
|
|
|
|
</LinearLayout>
|
|
|
|
|
</LinearLayout>
|