Allow clicking "Event", "Task" labels too
This commit is contained in:
parent
9a27d3c78e
commit
12181549ce
|
@ -107,6 +107,8 @@ class MainActivity : SimpleActivity(), RefreshRecyclerViewListener {
|
||||||
openNewEvent()
|
openNewEvent()
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
fab_event_label.setOnClickListener { openNewEvent() }
|
||||||
|
fab_task_label.setOnClickListener { openNewTask() }
|
||||||
|
|
||||||
fab_extended_overlay.setOnClickListener {
|
fab_extended_overlay.setOnClickListener {
|
||||||
hideExtendedFab()
|
hideExtendedFab()
|
||||||
|
|
|
@ -35,6 +35,7 @@
|
||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:alpha="0"
|
android:alpha="0"
|
||||||
|
android:paddingVertical="@dimen/small_margin"
|
||||||
android:paddingEnd="@dimen/activity_margin"
|
android:paddingEnd="@dimen/activity_margin"
|
||||||
android:text="@string/event"
|
android:text="@string/event"
|
||||||
android:textSize="@dimen/big_text_size"
|
android:textSize="@dimen/big_text_size"
|
||||||
|
@ -62,6 +63,7 @@
|
||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:alpha="0"
|
android:alpha="0"
|
||||||
|
android:paddingVertical="@dimen/small_margin"
|
||||||
android:paddingEnd="@dimen/activity_margin"
|
android:paddingEnd="@dimen/activity_margin"
|
||||||
android:text="@string/task"
|
android:text="@string/task"
|
||||||
android:textSize="@dimen/big_text_size"
|
android:textSize="@dimen/big_text_size"
|
||||||
|
|
Loading…
Reference in New Issue