Quantcast
Channel: Xamarin.Forms — Xamarin Community Forums
Viewing all articles
Browse latest Browse all 77050

ListView's ContextActions - how to force display all MenuItems as buttons with icons, not text

$
0
0

Hello

I have ListView with 4 ContextActions attached. On Android, when I long press ListView's item, I see 3 of my MenuItems displayed with icon and the fourth one is displayed as text under "3 dots more" button.

I checked Xamarin.Forms source code and I think that ContextAction's menu items are rendered as regular Android's MenuItems:
https://github.com/xamarin/Xamarin.Forms/blob/master/Xamarin.Forms.Platform.Android/CellAdapter.cs

I also checked Android's documentation which says Android can display up to 6 Menu Items:
https://developer.android.com/guide/topics/ui/menus.html#options-menu

Is it possible to force all 4 Menu Items be displayed with icon? It's a must-have for my app to display all 4 Menu Items as icons, no "more" button.

Many thanks for any help
Best regards


Viewing all articles
Browse latest Browse all 77050

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>