From a830cc00ce1071016d1e60752e9950dc40d384c1 Mon Sep 17 00:00:00 2001 From: tibbi Date: Tue, 7 Aug 2018 12:47:41 +0200 Subject: [PATCH] adding some switch padding at the Setting items --- app/src/main/res/layout/activity_settings.xml | 88 +++++++++++++------ 1 file changed, 59 insertions(+), 29 deletions(-) diff --git a/app/src/main/res/layout/activity_settings.xml b/app/src/main/res/layout/activity_settings.xml index 91b986b1d..f837b0d95 100644 --- a/app/src/main/res/layout/activity_settings.xml +++ b/app/src/main/res/layout/activity_settings.xml @@ -1,6 +1,7 @@ @@ -74,7 +75,8 @@ android:clickable="false" android:paddingLeft="@dimen/medium_margin" android:paddingStart="@dimen/medium_margin" - android:text="@string/use_english_language"/> + android:text="@string/use_english_language" + app:switchPadding="@dimen/medium_margin"/> @@ -97,7 +99,8 @@ android:clickable="false" android:paddingLeft="@dimen/medium_margin" android:paddingStart="@dimen/medium_margin" - android:text="@string/avoid_whats_new"/> + android:text="@string/avoid_whats_new" + app:switchPadding="@dimen/medium_margin"/> @@ -204,7 +207,8 @@ android:clickable="false" android:paddingLeft="@dimen/medium_margin" android:paddingStart="@dimen/medium_margin" - android:text="@string/show_hidden_items"/> + android:text="@string/show_hidden_items" + app:switchPadding="@dimen/medium_margin"/> @@ -227,7 +231,8 @@ android:clickable="false" android:paddingLeft="@dimen/medium_margin" android:paddingStart="@dimen/medium_margin" - android:text="@string/do_extra_check"/> + android:text="@string/do_extra_check" + app:switchPadding="@dimen/medium_margin"/> @@ -268,7 +273,8 @@ android:clickable="false" android:paddingLeft="@dimen/medium_margin" android:paddingStart="@dimen/medium_margin" - android:text="@string/autoplay_videos"/> + android:text="@string/autoplay_videos" + app:switchPadding="@dimen/medium_margin"/> @@ -291,7 +297,8 @@ android:clickable="false" android:paddingLeft="@dimen/medium_margin" android:paddingStart="@dimen/medium_margin" - android:text="@string/loop_videos"/> + android:text="@string/loop_videos" + app:switchPadding="@dimen/medium_margin"/> @@ -314,7 +321,8 @@ android:clickable="false" android:paddingLeft="@dimen/medium_margin" android:paddingStart="@dimen/medium_margin" - android:text="@string/allow_video_gestures"/> + android:text="@string/allow_video_gestures" + app:switchPadding="@dimen/medium_margin"/> @@ -355,7 +363,8 @@ android:clickable="false" android:paddingLeft="@dimen/medium_margin" android:paddingStart="@dimen/medium_margin" - android:text="@string/animate_gifs"/> + android:text="@string/animate_gifs" + app:switchPadding="@dimen/medium_margin"/> @@ -378,7 +387,8 @@ android:clickable="false" android:paddingLeft="@dimen/medium_margin" android:paddingStart="@dimen/medium_margin" - android:text="@string/crop_thumbnails"/> + android:text="@string/crop_thumbnails" + app:switchPadding="@dimen/medium_margin"/> @@ -401,7 +411,8 @@ android:clickable="false" android:paddingLeft="@dimen/medium_margin" android:paddingStart="@dimen/medium_margin" - android:text="@string/show_media_count"/> + android:text="@string/show_media_count" + app:switchPadding="@dimen/medium_margin"/> @@ -442,7 +453,8 @@ android:clickable="false" android:paddingLeft="@dimen/medium_margin" android:paddingStart="@dimen/medium_margin" - android:text="@string/show_info_bubble"/> + android:text="@string/show_info_bubble" + app:switchPadding="@dimen/medium_margin"/> @@ -465,7 +477,8 @@ android:clickable="false" android:paddingLeft="@dimen/medium_margin" android:paddingStart="@dimen/medium_margin" - android:text="@string/scroll_thumbnails_horizontally"/> + android:text="@string/scroll_thumbnails_horizontally" + app:switchPadding="@dimen/medium_margin"/> @@ -488,7 +501,8 @@ android:clickable="false" android:paddingLeft="@dimen/medium_margin" android:paddingStart="@dimen/medium_margin" - android:text="@string/enable_pull_to_refresh"/> + android:text="@string/enable_pull_to_refresh" + app:switchPadding="@dimen/medium_margin"/> @@ -529,7 +543,8 @@ android:clickable="false" android:paddingLeft="@dimen/medium_margin" android:paddingStart="@dimen/medium_margin" - android:text="@string/max_brightness"/> + android:text="@string/max_brightness" + app:switchPadding="@dimen/medium_margin"/> @@ -552,7 +567,8 @@ android:clickable="false" android:paddingLeft="@dimen/medium_margin" android:paddingStart="@dimen/medium_margin" - android:text="@string/black_background_at_fullscreen"/> + android:text="@string/black_background_at_fullscreen" + app:switchPadding="@dimen/medium_margin"/> @@ -575,7 +591,8 @@ android:clickable="false" android:paddingLeft="@dimen/medium_margin" android:paddingStart="@dimen/medium_margin" - android:text="@string/hide_system_ui_at_fullscreen"/> + android:text="@string/hide_system_ui_at_fullscreen" + app:switchPadding="@dimen/medium_margin"/> @@ -598,7 +615,8 @@ android:clickable="false" android:paddingLeft="@dimen/medium_margin" android:paddingStart="@dimen/medium_margin" - android:text="@string/one_finger_zoom"/> + android:text="@string/one_finger_zoom" + app:switchPadding="@dimen/medium_margin"/> @@ -621,7 +639,8 @@ android:clickable="false" android:paddingLeft="@dimen/medium_margin" android:paddingStart="@dimen/medium_margin" - android:text="@string/allow_instant_change"/> + android:text="@string/allow_instant_change" + app:switchPadding="@dimen/medium_margin"/> @@ -644,7 +663,8 @@ android:clickable="false" android:paddingLeft="@dimen/medium_margin" android:paddingStart="@dimen/medium_margin" - android:text="@string/allow_photo_gestures"/> + android:text="@string/allow_photo_gestures" + app:switchPadding="@dimen/medium_margin"/> @@ -720,7 +740,8 @@ android:clickable="false" android:paddingLeft="@dimen/medium_margin" android:paddingStart="@dimen/medium_margin" - android:text="@string/show_extended_details"/> + android:text="@string/show_extended_details" + app:switchPadding="@dimen/medium_margin"/> + android:text="@string/hide_extended_details" + app:switchPadding="@dimen/medium_margin"/> + android:text="@string/password_protect_hidden_items" + app:switchPadding="@dimen/medium_margin"/> @@ -827,7 +850,8 @@ android:clickable="false" android:paddingLeft="@dimen/medium_margin" android:paddingStart="@dimen/medium_margin" - android:text="@string/password_protect_whole_app"/> + android:text="@string/password_protect_whole_app" + app:switchPadding="@dimen/medium_margin"/> @@ -868,7 +892,8 @@ android:clickable="false" android:paddingLeft="@dimen/medium_margin" android:paddingStart="@dimen/medium_margin" - android:text="@string/delete_empty_folders"/> + android:text="@string/delete_empty_folders" + app:switchPadding="@dimen/medium_margin"/> @@ -891,7 +916,8 @@ android:clickable="false" android:paddingLeft="@dimen/medium_margin" android:paddingStart="@dimen/medium_margin" - android:text="@string/keep_last_modified"/> + android:text="@string/keep_last_modified" + app:switchPadding="@dimen/medium_margin"/> @@ -914,7 +940,8 @@ android:clickable="false" android:paddingLeft="@dimen/medium_margin" android:paddingStart="@dimen/medium_margin" - android:text="@string/skip_delete_confirmation"/> + android:text="@string/skip_delete_confirmation" + app:switchPadding="@dimen/medium_margin"/> @@ -955,7 +982,8 @@ android:clickable="false" android:paddingLeft="@dimen/medium_margin" android:paddingStart="@dimen/medium_margin" - android:text="@string/show_at_bottom"/> + android:text="@string/show_at_bottom" + app:switchPadding="@dimen/medium_margin"/> @@ -1018,7 +1046,8 @@ android:clickable="false" android:paddingLeft="@dimen/medium_margin" android:paddingStart="@dimen/medium_margin" - android:text="@string/move_items_into_recycle_bin"/> + android:text="@string/move_items_into_recycle_bin" + app:switchPadding="@dimen/medium_margin"/> @@ -1041,7 +1070,8 @@ android:clickable="false" android:paddingLeft="@dimen/medium_margin" android:paddingStart="@dimen/medium_margin" - android:text="@string/show_recycle_bin"/> + android:text="@string/show_recycle_bin" + app:switchPadding="@dimen/medium_margin"/>