adding some switch paddings to Settings

This commit is contained in:
tibbi 2018-08-07 14:30:43 +02:00
parent d7fd4fb0d1
commit 5112d3a958
1 changed files with 15 additions and 7 deletions

View File

@ -1,6 +1,7 @@
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<ScrollView <ScrollView
xmlns:android="http://schemas.android.com/apk/res/android" xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
android:id="@+id/settings_scrollview" android:id="@+id/settings_scrollview"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="wrap_content"> android:layout_height="wrap_content">
@ -96,7 +97,8 @@
android:clickable="false" android:clickable="false"
android:paddingLeft="@dimen/medium_margin" android:paddingLeft="@dimen/medium_margin"
android:paddingStart="@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> </RelativeLayout>
@ -119,7 +121,8 @@
android:clickable="false" android:clickable="false"
android:paddingLeft="@dimen/medium_margin" android:paddingLeft="@dimen/medium_margin"
android:paddingStart="@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> </RelativeLayout>
@ -160,7 +163,8 @@
android:clickable="false" android:clickable="false"
android:paddingLeft="@dimen/medium_margin" android:paddingLeft="@dimen/medium_margin"
android:paddingStart="@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> </RelativeLayout>
@ -201,7 +205,8 @@
android:clickable="false" android:clickable="false"
android:paddingLeft="@dimen/medium_margin" android:paddingLeft="@dimen/medium_margin"
android:paddingStart="@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> </RelativeLayout>
@ -242,7 +247,8 @@
android:clickable="false" android:clickable="false"
android:paddingLeft="@dimen/medium_margin" android:paddingLeft="@dimen/medium_margin"
android:paddingStart="@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> </RelativeLayout>
@ -283,7 +289,8 @@
android:clickable="false" android:clickable="false"
android:paddingLeft="@dimen/medium_margin" android:paddingLeft="@dimen/medium_margin"
android:paddingStart="@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> </RelativeLayout>
@ -306,7 +313,8 @@
android:clickable="false" android:clickable="false"
android:paddingLeft="@dimen/medium_margin" android:paddingLeft="@dimen/medium_margin"
android:paddingStart="@dimen/medium_margin" android:paddingStart="@dimen/medium_margin"
android:text="@string/enable_root_access"/> android:text="@string/enable_root_access"
app:switchPadding="@dimen/medium_margin"/>
</RelativeLayout> </RelativeLayout>
</LinearLayout> </LinearLayout>