diff --git a/Habitica/res/drawable/border_1f000000_white.xml b/Habitica/res/drawable/border_1f000000_white.xml new file mode 100644 index 000000000..d873a2142 --- /dev/null +++ b/Habitica/res/drawable/border_1f000000_white.xml @@ -0,0 +1,10 @@ + + + + + + + diff --git a/Habitica/res/drawable/circle_white.xml b/Habitica/res/drawable/circle_white.xml new file mode 100644 index 000000000..94367b567 --- /dev/null +++ b/Habitica/res/drawable/circle_white.xml @@ -0,0 +1,6 @@ + + + + + diff --git a/Habitica/res/drawable/pill_bg_white.xml b/Habitica/res/drawable/pill_bg_white.xml new file mode 100644 index 000000000..f90c324d3 --- /dev/null +++ b/Habitica/res/drawable/pill_bg_white.xml @@ -0,0 +1,6 @@ + + + + + + \ No newline at end of file diff --git a/Habitica/res/layout/dialog_challenge_detail_daily.xml b/Habitica/res/layout/dialog_challenge_detail_daily.xml index fe8705b6c..18b0b5459 100644 --- a/Habitica/res/layout/dialog_challenge_detail_daily.xml +++ b/Habitica/res/layout/dialog_challenge_detail_daily.xml @@ -1,30 +1,28 @@ - - + xmlns:tools="http://schemas.android.com/tools" + android:layout_width="match_parent" + android:layout_height="wrap_content" + android:background="@drawable/border_1f000000_white" + android:orientation="horizontal" + android:weightSum="3" + android:baselineAligned="false" + android:minHeight="60dp"> + - - - + android:id="@+id/lock_icon" + android:layout_width="32dp" + android:layout_height="32dp" + android:layout_gravity="center" + android:scaleType="center"/> + - - + android:baselineAligned="false" + android:minHeight="60dp"> + - - - - + android:id="@+id/lock_icon_plus" + android:layout_width="32dp" + android:layout_height="32dp" + android:layout_gravity="center" + android:scaleType="center"/> + - - + - - - - + android:id="@+id/lock_icon_minus" + android:layout_width="32dp" + android:layout_height="32dp" + android:layout_gravity="center" + android:scaleType="center"/> + \ No newline at end of file diff --git a/Habitica/res/layout/dialog_challenge_detail_reward.xml b/Habitica/res/layout/dialog_challenge_detail_reward.xml index 83e57dfe1..fdf376c03 100644 --- a/Habitica/res/layout/dialog_challenge_detail_reward.xml +++ b/Habitica/res/layout/dialog_challenge_detail_reward.xml @@ -1,12 +1,13 @@ + xmlns:tools="http://schemas.android.com/tools" + android:layout_width="match_parent" + android:layout_height="wrap_content" + android:orientation="horizontal" + android:background="@drawable/border_1f000000_white" + android:weightSum="3" + android:baselineAligned="false" + android:minHeight="60dp"> - - + android:gravity="center_vertical" + android:layout_marginLeft="@dimen/spacing_large" + android:layout_marginTop="24dp" + android:layout_marginBottom="@dimen/spacing_large" + > + + + diff --git a/Habitica/res/layout/dialog_challenge_detail_todo.xml b/Habitica/res/layout/dialog_challenge_detail_todo.xml index 402ded014..86ca6f1ba 100644 --- a/Habitica/res/layout/dialog_challenge_detail_todo.xml +++ b/Habitica/res/layout/dialog_challenge_detail_todo.xml @@ -1,30 +1,28 @@ - - + xmlns:tools="http://schemas.android.com/tools" + android:layout_width="match_parent" + android:layout_height="wrap_content" + android:background="@drawable/border_1f000000_white" + android:orientation="horizontal" + android:weightSum="3" + android:baselineAligned="false" + android:minHeight="60dp"> + - - - + android:id="@+id/lock_icon" + android:layout_width="32dp" + android:layout_height="32dp" + android:layout_gravity="center" + android:scaleType="center"/> + + + + + + + + + + + + + + + + + + + + + + + +