<?xml version="1.0" encoding="utf-8"?>
<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
    android:layout_width="match_parent"
    android:layout_height="wrap_content"
    android:paddingLeft="10dp"
    android:paddingRight="10dp">

    <Button
        android:id="@+id/menu_badge"
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        android:gravity="center"
        android:minHeight="32dp"
        android:minWidth="32dp"
        android:padding="2dp"
        android:singleLine="true"
        android:textColor="@android:color/white"
        android:textSize="16sp" />
</FrameLayout>
<?xml version="1.0" encoding="utf-8"?>
<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
    android:layout_width="match_parent"
    android:layout_height="wrap_content"
    android:paddingLeft="10dp"
    android:paddingRight="10dp"
    android:clickable="true"
    android:focusable="true"
    android:descendantFocusability="beforeDescendants">

    <Button
        android:id="@+id/menu_badge"
        android:duplicateParentState="true"
        android:layout_width="wrap_content"
        android:clickable="false"
        android:layout_height="wrap_content"
        android:gravity="center"
        android:minHeight="32dp"
        android:minWidth="32dp"
        android:padding="2dp"
        android:singleLine="true"
        android:textColor="@android:color/white"
        android:textSize="16sp" />
</FrameLayout>
Improve large badge click listener
Improve large badge click listener
