From ff5c1ece483af93efab42438dbefe18aac1d233b Mon Sep 17 00:00:00 2001 From: Phillip Thelen Date: Wed, 2 Dec 2015 18:46:27 +0100 Subject: [PATCH] better display for rewards --- Habitica/res/layout/checklist_item_row.xml | 1 + Habitica/res/layout/reward_item_card.xml | 48 ++++++------------- Habitica/res/menu/menu_task_form.xml | 2 +- Habitica/res/values/dimens.xml | 1 + Habitica/res/values/strings.xml | 2 +- .../adapter/HabitItemRecyclerViewAdapter.java | 15 +++--- 6 files changed, 25 insertions(+), 44 deletions(-) diff --git a/Habitica/res/layout/checklist_item_row.xml b/Habitica/res/layout/checklist_item_row.xml index 6b0f1873f..e0b429523 100644 --- a/Habitica/res/layout/checklist_item_row.xml +++ b/Habitica/res/layout/checklist_item_row.xml @@ -24,6 +24,7 @@ android:layout_width="match_parent" android:layout_height="wrap_content" android:padding="5dp" + android:paddingLeft="16dp" /> - - - + android:layout_weight="1" + android:paddingBottom="@dimen/task_top_bottom_padding" + android:paddingTop="@dimen/task_top_bottom_padding" + android:paddingLeft='16dp' + android:paddingRight="@dimen/reward_spacing"> + android:text="@{reward.text}"/> @@ -79,9 +65,8 @@