From e2d4d20e7a8d7c920f8d3444d6017a077b181124 Mon Sep 17 00:00:00 2001 From: Severiano Jaramillo Date: Wed, 13 Mar 2019 20:08:02 -0600 Subject: [PATCH] Improved Settings screen UI by making visible section divisions using Material Cards. --- app/src/main/res/layout/fragment_settings.xml | 301 ++++++++++++------ 1 file changed, 197 insertions(+), 104 deletions(-) diff --git a/app/src/main/res/layout/fragment_settings.xml b/app/src/main/res/layout/fragment_settings.xml index 4d1f021..32c0852 100644 --- a/app/src/main/res/layout/fragment_settings.xml +++ b/app/src/main/res/layout/fragment_settings.xml @@ -11,145 +11,238 @@ - + android:layout_marginTop="@dimen/activity_vertical_margin" + android:layout_marginStart="@dimen/activity_horizontal_margin" + android:layout_marginEnd="@dimen/activity_horizontal_margin" + app:contentPadding="@dimen/activity_vertical_margin" + app:cardElevation="2dp" + app:cardCornerRadius="@dimen/card_radius"> - + - + - + + + + + + + + + - + android:layout_marginTop="@dimen/activity_vertical_margin" + android:layout_marginStart="@dimen/activity_horizontal_margin" + android:layout_marginEnd="@dimen/activity_horizontal_margin" + app:contentPadding="@dimen/activity_vertical_margin" + app:cardElevation="2dp" + app:cardCornerRadius="@dimen/card_radius"> - + - + + + + + + + + + - + android:layout_marginTop="@dimen/activity_vertical_margin" + android:layout_marginStart="@dimen/activity_horizontal_margin" + android:layout_marginEnd="@dimen/activity_horizontal_margin" + app:contentPadding="@dimen/activity_vertical_margin" + app:cardElevation="2dp" + app:cardCornerRadius="@dimen/card_radius"> - + - + + + + + + + + + - + + + android:orientation="vertical"> - + - + + + + + + + - - - + android:layout_marginTop="@dimen/activity_vertical_margin" + android:layout_marginBottom="@dimen/activity_vertical_margin" + android:layout_marginStart="@dimen/activity_horizontal_margin" + android:layout_marginEnd="@dimen/activity_horizontal_margin" + app:contentPadding="@dimen/activity_vertical_margin" + app:cardElevation="2dp" + app:cardCornerRadius="@dimen/card_radius"> + + + + + + + + + +