withText在拆分动作条动作、withText

2023-09-12 21:50:41 作者:帅气称霸

我有一个问题,即如果 ActionItem 既有图标和文本和动作条是分裂,它只会显示图标即使 showAsAction =永远| withText

I'm having an issue where if the ActionItem has both an icon and text and the ActionBar is split, it will only show the icon even if the showAsAction="always|withText".

有没有办法强制文本显示?

Is there a way to force the text to appear?

推荐答案

withText 是一个提示系统。上宽度受限设备或配置该系统可以选择忽略它。

withText is a hint to the system. On width-constrained devices or configurations the system may choose to ignore it.