diff --git a/app/build.gradle b/app/build.gradle index b431b5fc6..b2d07c516 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -33,7 +33,7 @@ android { } dependencies { - compile 'com.simplemobiletools:commons:2.15.0' + compile 'com.simplemobiletools:commons:2.15.1' compile 'joda-time:joda-time:2.9.1' compile 'com.facebook.stetho:stetho:1.4.1' compile 'com.bignerdranch.android:recyclerview-multiselect:0.2' diff --git a/app/src/main/kotlin/com/simplemobiletools/calendar/dialogs/SelectEventTypeDialog.kt b/app/src/main/kotlin/com/simplemobiletools/calendar/dialogs/SelectEventTypeDialog.kt index 7204e0c6b..80810884e 100644 --- a/app/src/main/kotlin/com/simplemobiletools/calendar/dialogs/SelectEventTypeDialog.kt +++ b/app/src/main/kotlin/com/simplemobiletools/calendar/dialogs/SelectEventTypeDialog.kt @@ -14,7 +14,7 @@ import com.simplemobiletools.commons.extensions.hideKeyboard import com.simplemobiletools.commons.extensions.setBackgroundWithStroke import com.simplemobiletools.commons.extensions.setupDialogStuff import com.simplemobiletools.commons.extensions.updateTextColors -import kotlinx.android.synthetic.main.dialog_radio_group.view.* +import kotlinx.android.synthetic.main.dialog_select_event_type.view.* import kotlinx.android.synthetic.main.radio_button_with_color.view.* import java.util.* @@ -27,7 +27,7 @@ class SelectEventTypeDialog(val activity: Activity, val currEventType: Int, val var eventTypes = ArrayList() init { - val view = activity.layoutInflater.inflate(R.layout.dialog_radio_group, null) as ViewGroup + val view = activity.layoutInflater.inflate(R.layout.dialog_select_event_type, null) as ViewGroup radioGroup = view.dialog_radio_group activity.dbHelper.getEventTypes { diff --git a/app/src/main/res/layout/dialog_radio_group.xml b/app/src/main/res/layout/dialog_select_event_type.xml similarity index 65% rename from app/src/main/res/layout/dialog_radio_group.xml rename to app/src/main/res/layout/dialog_select_event_type.xml index 6f25c41b9..0da0e43d9 100644 --- a/app/src/main/res/layout/dialog_radio_group.xml +++ b/app/src/main/res/layout/dialog_select_event_type.xml @@ -9,5 +9,9 @@ android:id="@+id/dialog_radio_group" android:layout_width="match_parent" android:layout_height="wrap_content" - android:padding="@dimen/activity_margin"/> + android:paddingBottom="@dimen/normal_margin" + android:paddingLeft="@dimen/activity_margin" + android:paddingRight="@dimen/activity_margin" + android:paddingTop="@dimen/normal_margin"/> +