diff --git a/app/src/main/kotlin/com/simplemobiletools/calendar/activities/EventActivity.kt b/app/src/main/kotlin/com/simplemobiletools/calendar/activities/EventActivity.kt
index a2c60bd66..0eb00548f 100644
--- a/app/src/main/kotlin/com/simplemobiletools/calendar/activities/EventActivity.kt
+++ b/app/src/main/kotlin/com/simplemobiletools/calendar/activities/EventActivity.kt
@@ -186,9 +186,7 @@ class EventActivity : SimpleActivity(), DBHelper.EventsListener {
}
fun toggleCustomReminderVisibility(show: Boolean) {
- custom_reminder_other_period.beVisibleIf(show)
- custom_reminder_other_val.beVisibleIf(show)
- custom_reminder_value.beVisibleIf(show)
+ custom_reminder_holder.beVisibleIf(show)
}
override fun onCreateOptionsMenu(menu: Menu): Boolean {
diff --git a/app/src/main/kotlin/com/simplemobiletools/calendar/activities/SettingsActivity.kt b/app/src/main/kotlin/com/simplemobiletools/calendar/activities/SettingsActivity.kt
index 9ac17a06f..798710ad6 100644
--- a/app/src/main/kotlin/com/simplemobiletools/calendar/activities/SettingsActivity.kt
+++ b/app/src/main/kotlin/com/simplemobiletools/calendar/activities/SettingsActivity.kt
@@ -89,6 +89,7 @@ class SettingsActivity : SimpleActivity() {
}
mConfig.defaultReminderMinutes = Integer.valueOf(value) * multiplier
toast(R.string.reminder_saved)
+ hideKeyboard()
}
private fun setupReminderPeriod(mins: Int) {
diff --git a/app/src/main/res/layout/activity_event.xml b/app/src/main/res/layout/activity_event.xml
index 2603d5a80..f72ec463a 100644
--- a/app/src/main/res/layout/activity_event.xml
+++ b/app/src/main/res/layout/activity_event.xml
@@ -127,46 +127,47 @@
android:entries="@array/reminders"
android:padding="@dimen/activity_margin"/>
-
+ android:orientation="horizontal"
+ android:visibility="gone">
-
+
-
+
+
+
+
diff --git a/app/src/main/res/layout/activity_settings.xml b/app/src/main/res/layout/activity_settings.xml
index a90df1123..a61cf4145 100644
--- a/app/src/main/res/layout/activity_settings.xml
+++ b/app/src/main/res/layout/activity_settings.xml
@@ -114,13 +114,14 @@
-
+
+
+ android:layout_height="match_parent"
+ android:background="?attr/selectableItemBackground"
+ android:text="@string/save"
+ android:textSize="@dimen/day_text_size"/>
-
+