Skip to content

Android 16 ToolbarItem tooltip text not readable #33701

@alececihs

Description

@alececihs

Description

I can't find how to change the background color of the tooltip that comes up when holding the ToolbarItem while an icon is set. The tooltip text follows Shell.TitleColor (as it supposed to do if not using a icon) while the background does its own thing.

Image

while in dark mode:

Image

Note: both 'back' button and the toolbar menu 'more' button are not affected.

Image Image




One more question, how can I make the text readable while keeping a white navigation bar? Actualy, if I'm not missing anything I can't.

To me, it would be fine if all tooltips behaved the same.

Thank you.

Steps to Reproduce

  1. Create a Maui App
  2. Set Shell.NavBarIsVisible="True"
  3. Add a ToolbarItem with an IconImageSource and some text in the Text property
  4. Run the app on Android api 36 (previous android versions had a gray background)
  5. Tap and hold the ToolbarItem

Link to public reproduction project repository

https://github.com/alececihs/AndroContrast

Version with bug

10.0.30

Is this a regression from previous behavior?

No, this is something new, Not sure, did not test other versions

Last version that worked well

No response

Affected platforms

Android

Affected platform versions

Android 16

Did you find any workaround?

No

Relevant log output

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions