Allow clicking "Event", "Task" labels too
This commit is contained in:
parent
9a27d3c78e
commit
12181549ce
2 changed files with 4 additions and 0 deletions
|
@ -107,6 +107,8 @@ class MainActivity : SimpleActivity(), RefreshRecyclerViewListener {
|
|||
openNewEvent()
|
||||
}
|
||||
}
|
||||
fab_event_label.setOnClickListener { openNewEvent() }
|
||||
fab_task_label.setOnClickListener { openNewTask() }
|
||||
|
||||
fab_extended_overlay.setOnClickListener {
|
||||
hideExtendedFab()
|
||||
|
|
|
@ -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"
|
||||
|
|
Loading…
Reference in a new issue