From 807fa7875d82d217ac21fe46577e88d46552ef1b Mon Sep 17 00:00:00 2001 From: tibbi Date: Fri, 10 Aug 2018 20:47:07 +0200 Subject: [PATCH] update commons to 4.6.5 --- app/build.gradle | 2 +- app/src/main/AndroidManifest.xml | 30 +++++++----------- .../clock/activities/MainActivity.kt | 4 ++- app/src/main/res/layout/activity_settings.xml | 31 +++++++++++++------ build.gradle | 4 +-- 5 files changed, 39 insertions(+), 32 deletions(-) diff --git a/app/build.gradle b/app/build.gradle index 72cf77ce..c910bff2 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -41,7 +41,7 @@ android { } dependencies { - implementation 'com.simplemobiletools:commons:4.3.31' + implementation 'com.simplemobiletools:commons:4.6.5' implementation 'com.facebook.stetho:stetho:1.5.0' implementation 'com.android.support.constraint:constraint-layout:1.1.2' implementation 'com.shawnlin:number-picker:2.4.6' diff --git a/app/src/main/AndroidManifest.xml b/app/src/main/AndroidManifest.xml index 16d26280..9120d09d 100644 --- a/app/src/main/AndroidManifest.xml +++ b/app/src/main/AndroidManifest.xml @@ -25,11 +25,6 @@ android:name=".activities.SplashActivity" android:launchMode="singleTask" android:theme="@style/SplashTheme"> - - - - - @@ -121,19 +116,6 @@ - - - - - - - - + + + + + + + @@ -52,7 +53,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"/> @@ -75,7 +77,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"/> @@ -98,7 +101,8 @@ android:clickable="false" android:paddingLeft="@dimen/medium_margin" android:paddingStart="@dimen/medium_margin" - android:text="@string/prevent_phone_from_sleeping"/> + android:text="@string/prevent_phone_from_sleeping" + app:switchPadding="@dimen/medium_margin"/> @@ -121,7 +125,8 @@ android:clickable="false" android:paddingLeft="@dimen/medium_margin" android:paddingStart="@dimen/medium_margin" - android:text="@string/use_24_hour_time_format"/> + android:text="@string/use_24_hour_time_format" + app:switchPadding="@dimen/medium_margin"/> @@ -144,7 +149,8 @@ android:clickable="false" android:paddingLeft="@dimen/medium_margin" android:paddingStart="@dimen/medium_margin" - android:text="@string/sunday_first"/> + android:text="@string/sunday_first" + app:switchPadding="@dimen/medium_margin"/> @@ -185,7 +191,8 @@ android:clickable="false" android:paddingLeft="@dimen/medium_margin" android:paddingStart="@dimen/medium_margin" - android:text="@string/show_seconds"/> + android:text="@string/show_seconds" + app:switchPadding="@dimen/medium_margin"/> @@ -261,7 +268,8 @@ android:clickable="false" android:paddingLeft="@dimen/medium_margin" android:paddingStart="@dimen/medium_margin" - android:text="@string/increase_volume_gradually"/> + android:text="@string/increase_volume_gradually" + app:switchPadding="@dimen/medium_margin"/> @@ -284,7 +292,8 @@ android:clickable="false" android:paddingLeft="@dimen/medium_margin" android:paddingStart="@dimen/medium_margin" - android:text="@string/use_same_snooze"/> + android:text="@string/use_same_snooze" + app:switchPadding="@dimen/medium_margin"/> @@ -360,7 +369,8 @@ android:clickable="false" android:paddingLeft="@dimen/medium_margin" android:paddingStart="@dimen/medium_margin" - android:text="@string/vibrate_on_button_press"/> + android:text="@string/vibrate_on_button_press" + app:switchPadding="@dimen/medium_margin"/> + android:text="@string/use_text_shadow" + app:switchPadding="@dimen/medium_margin"/>