开发者

Resize Options Menu entries

开发者 https://www.devze.com 2023-02-01 22:37 出处:网络
How could I resize menu entries to have, for example, only one entry on the bottom row. Here is an example:

How could I resize menu entries to have, for example, only one entry on the bottom row. Here is an example:

开发者_如何学Python

Resize Options Menu entries

Notice how the "Add" and "Wallpaper" are both on the top and the others are on the bottom. How could I accomplish the same feat, but having just one menu entry on the bottom and two on the top?


I don't think this is possible, looking at the documentation there are no methods for Menu or MenuItem which would allow you to specify this kind of thing. In your supplied image Add and Wallpaper are listed first (you can specify the order of your menu items) and when there are 5 clearly Android automatically puts 2 on the top and 3 on the bottom.

0

精彩评论

暂无评论...
验证码 换一张
取 消