message: Tinted menu item text
diff: @@ -11,6 +11,8 @@ import android.view.MenuItem;
  import android.view.View;
  import androidx.annotation.Nullable;
  +import androidx.appcompat.view.menu.ActionMenuItemView;
  +import androidx.appcompat.widget.ActionMenuView;
  import androidx.appcompat.widget.Toolbar;
  import com.facebook.react.bridge.Arguments;
  @@ -31,6 +33,7 @@ public class ToolbarView extends Toolbar {
  private static final String PROP_ACTION_SEARCH = "search";
  int defaultTitleTextColor;
  Drawable defaultOverflowIcon;
  + private Integer defaultMenuItemColor;
  private IconResolver.IconResolverListener logoResolverListener;
  private IconResolver.IconResolverListener navIconResolverListener;
  private IconResolver.IconResolverListener overflowIconResolverListener;
  @@ -119,6 +122,7 @@ public class ToolbarView extends Toolbar {
  setTintColor(getNavigationIcon());
  setTintColor(getLogo());
  setTintColor(getOverflowIcon());
  + setMenuTintColor();
  for(int i = 0; i < getMenu().size(); i++) {
  setTintColor(getMenu().getItem(i).getIcon());
  }
  @@ -167,6 +171,23 @@ public class ToolbarView extends Toolbar {
  }
  menuItem.setShowAsAction(showAsAction);
  }
  + setMenuTintColor();
  + }
  +
  + private void setMenuTintColor() {
  + for (int i = 0; i < getChildCount(); i++) {
  + if (getChildAt(i) instanceof ActionMenuView) {
  + ActionMenuView menu = (ActionMenuView) getChildAt(i);
  + for(int j = 0; j < menu.getChildCount(); j++) {
  + if (menu.getChildAt(j) instanceof ActionMenuItemView) {
  + ActionMenuItemView menuItem = (ActionMenuItemView) menu.getChildAt(j);
  + if (defaultMenuItemColor == null)
  + defaultMenuItemColor = menuItem.getCurrentTextColor();
  + menuItem.setTextColor(tintColor != null ? tintColor : defaultMenuItemColor);
  + }
  + }
  + }
  + }
  }
  private void setMenuItemIcon(final MenuItem item, ReadableMap iconSource) {
  