diff --git a/app/src/main/kotlin/com/simplemobiletools/calendar/pro/activities/MainActivity.kt b/app/src/main/kotlin/com/simplemobiletools/calendar/pro/activities/MainActivity.kt index bf275c552..990733c19 100644 --- a/app/src/main/kotlin/com/simplemobiletools/calendar/pro/activities/MainActivity.kt +++ b/app/src/main/kotlin/com/simplemobiletools/calendar/pro/activities/MainActivity.kt @@ -107,6 +107,8 @@ class MainActivity : SimpleActivity(), RefreshRecyclerViewListener { openNewEvent() } } + fab_event_label.setOnClickListener { openNewEvent() } + fab_task_label.setOnClickListener { openNewTask() } fab_extended_overlay.setOnClickListener { hideExtendedFab() diff --git a/app/src/main/res/layout/activity_main.xml b/app/src/main/res/layout/activity_main.xml index 663b1368f..46f2ff012 100644 --- a/app/src/main/res/layout/activity_main.xml +++ b/app/src/main/res/layout/activity_main.xml @@ -35,6 +35,7 @@ android:layout_width="wrap_content" android:layout_height="wrap_content" android:alpha="0" + android:paddingVertical="@dimen/small_margin" android:paddingEnd="@dimen/activity_margin" android:text="@string/event" android:textSize="@dimen/big_text_size" @@ -62,6 +63,7 @@ android:layout_width="wrap_content" android:layout_height="wrap_content" android:alpha="0" + android:paddingVertical="@dimen/small_margin" android:paddingEnd="@dimen/activity_margin" android:text="@string/task" android:textSize="@dimen/big_text_size"