diff --git a/app/src/main/kotlin/com/simplemobiletools/clock/activities/MainActivity.kt b/app/src/main/kotlin/com/simplemobiletools/clock/activities/MainActivity.kt
index 4c625ec7..063c188e 100644
--- a/app/src/main/kotlin/com/simplemobiletools/clock/activities/MainActivity.kt
+++ b/app/src/main/kotlin/com/simplemobiletools/clock/activities/MainActivity.kt
@@ -140,13 +140,13 @@ class MainActivity : SimpleActivity() {
view_pager.currentItem = tabToOpen
view_pager.offscreenPageLimit = TABS_COUNT - 1
main_tabs_holder.onTabSelectionChanged(
- tabUnselectedAction = {
- it.icon?.applyColorFilter(config.textColor)
- },
- tabSelectedAction = {
- view_pager.currentItem = it.position
- it.icon?.applyColorFilter(getAdjustedPrimaryColor())
- }
+ tabUnselectedAction = {
+ it.icon?.applyColorFilter(config.textColor)
+ },
+ tabSelectedAction = {
+ view_pager.currentItem = it.position
+ it.icon?.applyColorFilter(getAdjustedPrimaryColor())
+ }
)
setupTabColors(tabToOpen)
@@ -177,11 +177,11 @@ class MainActivity : SimpleActivity() {
val licenses = LICENSE_STETHO or LICENSE_NUMBER_PICKER or LICENSE_RTL
val faqItems = arrayListOf(
- FAQItem(R.string.faq_1_title, R.string.faq_1_text),
- FAQItem(R.string.faq_1_title_commons, R.string.faq_1_text_commons),
- FAQItem(R.string.faq_4_title_commons, R.string.faq_4_text_commons),
- FAQItem(R.string.faq_2_title_commons, R.string.faq_2_text_commons),
- FAQItem(R.string.faq_6_title_commons, R.string.faq_6_text_commons)
+ FAQItem(R.string.faq_1_title, R.string.faq_1_text),
+ FAQItem(R.string.faq_1_title_commons, R.string.faq_1_text_commons),
+ FAQItem(R.string.faq_4_title_commons, R.string.faq_4_text_commons),
+ FAQItem(R.string.faq_2_title_commons, R.string.faq_2_text_commons),
+ FAQItem(R.string.faq_6_title_commons, R.string.faq_6_text_commons)
)
startAboutActivity(R.string.app_name, licenses, BuildConfig.VERSION_NAME, faqItems, true)
diff --git a/app/src/main/res/layout/activity_settings.xml b/app/src/main/res/layout/activity_settings.xml
index c9827ec1..a74cbaf9 100644
--- a/app/src/main/res/layout/activity_settings.xml
+++ b/app/src/main/res/layout/activity_settings.xml
@@ -1,6 +1,5 @@
-
+ android:text="@string/purchase_simple_thank_you" />
@@ -51,8 +49,7 @@
android:layout_height="wrap_content"
android:layout_centerVertical="true"
android:paddingStart="@dimen/medium_margin"
- android:paddingLeft="@dimen/medium_margin"
- android:text="@string/customize_colors"/>
+ android:text="@string/customize_colors" />
@@ -74,9 +71,8 @@
android:background="@null"
android:clickable="false"
android:paddingStart="@dimen/medium_margin"
- android:paddingLeft="@dimen/medium_margin"
android:text="@string/use_english_language"
- app:switchPadding="@dimen/medium_margin"/>
+ app:switchPadding="@dimen/medium_margin" />
@@ -98,9 +94,8 @@
android:background="@null"
android:clickable="false"
android:paddingStart="@dimen/medium_margin"
- android:paddingLeft="@dimen/medium_margin"
android:text="@string/prevent_phone_from_sleeping"
- app:switchPadding="@dimen/medium_margin"/>
+ app:switchPadding="@dimen/medium_margin" />
@@ -122,9 +117,8 @@
android:background="@null"
android:clickable="false"
android:paddingStart="@dimen/medium_margin"
- android:paddingLeft="@dimen/medium_margin"
android:text="@string/use_24_hour_time_format"
- app:switchPadding="@dimen/medium_margin"/>
+ app:switchPadding="@dimen/medium_margin" />
@@ -146,9 +140,8 @@
android:background="@null"
android:clickable="false"
android:paddingStart="@dimen/medium_margin"
- android:paddingLeft="@dimen/medium_margin"
android:text="@string/sunday_first"
- app:switchPadding="@dimen/medium_margin"/>
+ app:switchPadding="@dimen/medium_margin" />
@@ -157,11 +150,10 @@
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginStart="@dimen/bigger_margin"
- android:layout_marginLeft="@dimen/bigger_margin"
android:layout_marginTop="@dimen/section_margin"
android:text="@string/clock_tab"
android:textAllCaps="true"
- android:textSize="@dimen/smaller_text_size"/>
+ android:textSize="@dimen/smaller_text_size" />
+ app:switchPadding="@dimen/medium_margin" />
@@ -192,11 +183,10 @@
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginStart="@dimen/bigger_margin"
- android:layout_marginLeft="@dimen/bigger_margin"
android:layout_marginTop="@dimen/section_margin"
android:text="@string/alarm_tab"
android:textAllCaps="true"
- android:textSize="@dimen/smaller_text_size"/>
+ android:textSize="@dimen/smaller_text_size" />
+ android:text="@string/max_reminder_duration" />
+ android:clickable="false" />
@@ -251,9 +238,8 @@
android:background="@null"
android:clickable="false"
android:paddingStart="@dimen/medium_margin"
- android:paddingLeft="@dimen/medium_margin"
android:text="@string/increase_volume_gradually"
- app:switchPadding="@dimen/medium_margin"/>
+ app:switchPadding="@dimen/medium_margin" />
@@ -275,9 +261,8 @@
android:background="@null"
android:clickable="false"
android:paddingStart="@dimen/medium_margin"
- android:paddingLeft="@dimen/medium_margin"
android:text="@string/use_same_snooze"
- app:switchPadding="@dimen/medium_margin"/>
+ app:switchPadding="@dimen/medium_margin" />
@@ -298,21 +283,18 @@
android:layout_height="wrap_content"
android:layout_centerVertical="true"
android:layout_toStartOf="@+id/settings_snooze_time"
- android:layout_toLeftOf="@+id/settings_snooze_time"
android:paddingLeft="@dimen/medium_margin"
android:paddingRight="@dimen/medium_margin"
- android:text="@string/snooze_time"/>
+ android:text="@string/snooze_time" />
+ android:clickable="false" />
@@ -321,11 +303,10 @@
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginStart="@dimen/bigger_margin"
- android:layout_marginLeft="@dimen/bigger_margin"
android:layout_marginTop="@dimen/section_margin"
android:text="@string/stopwatch_tab"
android:textAllCaps="true"
- android:textSize="@dimen/smaller_text_size"/>
+ android:textSize="@dimen/smaller_text_size" />
+ app:switchPadding="@dimen/medium_margin" />
+ android:textSize="@dimen/smaller_text_size" />
+ android:text="@string/max_reminder_duration" />
+ android:clickable="false" />
@@ -401,11 +377,10 @@
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginStart="@dimen/bigger_margin"
- android:layout_marginLeft="@dimen/bigger_margin"
android:layout_marginTop="@dimen/section_margin"
android:text="@string/widgets"
android:textAllCaps="true"
- android:textSize="@dimen/smaller_text_size"/>
+ android:textSize="@dimen/smaller_text_size" />
+ app:switchPadding="@dimen/medium_margin" />
+ android:text="@string/customize_widget_colors" />