简体   繁体   中英

Android Menu just 2 items in actionbar

I want to display menu items in the actionbar of my app. The problem is: I have an item "Login" and an item "Save username?" (<-- is checkable). I want the "Login" display as it is in the actionbar and the "Save username?" in a "..." How is this possible? I see it like in Whatsapp, but I don't know how to get this "..." and store items in it

If your phone has a hardware menu button, you won't be able to able to see the vertical ellipsis. Instead, press the menu button and the remaining action bar items should show up.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM