I would like to add a custom item in the new BottomNavigationView .
There are plenty of tutorial of adding a custom view with the normal navigation view but I can't find anything regarding the bottom one.
This is my view
<android.support.design.widget.BottomNavigationView
android:id="@+id/navigation_view"
android:layout_width="match_parent"
android:layout_height="wrap_content"
app:menu="@menu/menu_main" />
And this is the menu
<?xml version="1.0" encoding="utf-8"?>
<menu xmlns:android="http://schemas.android.com/apk/res/android">
<item
android:id="@+id/menu_one"
android:icon="@drawable/ic_tab_one"
android:title="one" />
<item
android:id="@+id/menu_two"
app:actionLayout="@layout/item_action_notification"
android:title="two" />
As you can see I put actionLayout tag as you would do normally, but it is simply not displayed.
Any ideas? Thanks.