adding some switch padding at the Setting items

This commit is contained in:
tibbi 2018-08-07 12:47:41 +02:00
parent 2d3cc070ae
commit a830cc00ce
1 changed files with 59 additions and 29 deletions

View File

@ -1,6 +1,7 @@
<?xml version="1.0" encoding="utf-8"?>
<ScrollView
xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
android:id="@+id/settings_scrollview"
android:layout_width="match_parent"
android:layout_height="wrap_content">
@ -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"/>
</RelativeLayout>
@ -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"/>
</RelativeLayout>
@ -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"/>
</RelativeLayout>
@ -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"/>
</RelativeLayout>
@ -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"/>
</RelativeLayout>
@ -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"/>
</RelativeLayout>
@ -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"/>
</RelativeLayout>
@ -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"/>
</RelativeLayout>
@ -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"/>
</RelativeLayout>
@ -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"/>
</RelativeLayout>
@ -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"/>
</RelativeLayout>
@ -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"/>
</RelativeLayout>
@ -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"/>
</RelativeLayout>
@ -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"/>
</RelativeLayout>
@ -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"/>
</RelativeLayout>
@ -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"/>
</RelativeLayout>
@ -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"/>
</RelativeLayout>
@ -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"/>
</RelativeLayout>
@ -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"/>
</RelativeLayout>
@ -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"/>
</RelativeLayout>
<RelativeLayout
@ -742,7 +763,8 @@
android:clickable="false"
android:paddingLeft="@dimen/medium_margin"
android:paddingStart="@dimen/medium_margin"
android:text="@string/hide_extended_details"/>
android:text="@string/hide_extended_details"
app:switchPadding="@dimen/medium_margin"/>
</RelativeLayout>
<RelativeLayout
@ -804,7 +826,8 @@
android:clickable="false"
android:paddingLeft="@dimen/medium_margin"
android:paddingStart="@dimen/medium_margin"
android:text="@string/password_protect_hidden_items"/>
android:text="@string/password_protect_hidden_items"
app:switchPadding="@dimen/medium_margin"/>
</RelativeLayout>
@ -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"/>
</RelativeLayout>
@ -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"/>
</RelativeLayout>
@ -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"/>
</RelativeLayout>
@ -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"/>
</RelativeLayout>
@ -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"/>
</RelativeLayout>
@ -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"/>
</RelativeLayout>
@ -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"/>
</RelativeLayout>