<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout
    xmlns:android="http://schemas.android.com/apk/res/android"
    android:layout_width="wrap_content"
    android:layout_height="match_parent">
    <Button
        android:layout_width="wrap_content"
        android:layout_height="match_parent"
        android:id="@+id/button_item"
        android:visibility="gone"/>
    <ImageButton
        android:layout_width="wrap_content"
        android:layout_height="match_parent"
        android:id="@+id/image_button_item"
        android:background="@android:color/transparent"
        android:visibility="gone"/>
    <TextView
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        android:id="@+id/badge_item"
        android:background="@drawable/drawable_badge"
        android:paddingLeft="5dp"
        android:paddingRight="5dp"
        android:textColor="@android:color/white"
        android:visibility="gone"
        android:layout_alignParentTop="true"
        android:layout_marginTop="5dp"/>

</RelativeLayout>
<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout
    xmlns:android="http://schemas.android.com/apk/res/android"
    android:layout_height="match_parent"
    android:layout_width="wrap_content"
    android:minWidth="48dp">

    <Button
        android:id="@+id/button_item"
        android:layout_height="match_parent"
        android:layout_width="wrap_content"
        android:minWidth="48dp"
        android:layout_marginTop="8dp"
        android:layout_marginBottom="8dp"
        android:layout_centerHorizontal="true"
        android:visibility="gone" />

    <ImageButton
        android:id="@+id/image_button_item"
        android:layout_height="match_parent"
        android:layout_width="wrap_content"
        android:minWidth="48dp"
        android:layout_marginTop="8dp"
        android:layout_marginBottom="8dp"
        android:layout_centerHorizontal="true"
        android:background="@android:color/transparent"
        android:visibility="gone" />

    <TextView
        android:id="@+id/badge_item"
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        android:layout_marginTop="5dp"
        android:paddingLeft="5dp"
        android:paddingRight="5dp"
        android:layout_alignParentTop="true"
        android:background="@drawable/drawable_badge"
        android:textColor="@android:color/white"
        android:visibility="gone" />

</RelativeLayout>

Fix toolbar menu item size
Fix toolbar menu item size
