How to display menu item Icons on Android 9 in Floating Action Mode
问题 I have an Android menu XML that resembles this:- <item android:id="@+id/action_share" android:orderInCategory="100" android:icon="@drawable/ic_social_share" app:showAsAction="always" android:title="" /> <item android:id="@+id/action_something_else" android:orderInCategory="200" android:icon="@drawable/ic_airplanemode_active_black_24dp" app:showAsAction="always" android:title="" /> My Android code resembles this:- private void startActionMode() { startActionMode(new android.view.ActionMode