简体   繁体   中英

'Full screen' menu for Android

I am quite new to android development and I have the need to present the user with a 'full screen' menu, instead of an options or context menus.

I thought about using a ListView filled with an ArrayAdapter, but I don't know if there's a smarter/easier way.

Any ideas?

Thanks!

Using a ListView sounds good to me.

You could make your activity full screen (see http://thedevelopersinfo.com/2009/10/21/making-an-fullscreen-activity-in-android/ ), put a listview in it and fill it with your items I don't see any problem in this way of doing.

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