[Q] Easiest way to create options menu - Android Software Development

What is the easiest way to create an option menu like the android settings menu(the one where you scroll and can check checkboxes)?

Use a PreferenceActivity
http://developer.android.com/reference/android/preference/PreferenceActivity.html
Add CheckBoxPreferences to the activity:
http://developer.android.com/reference/android/preference/CheckBoxPreference.html

Related

Sort Startmenu

Is there a way to sort the Start menu.
Not only with "to top" and "to down" ?
msmsms1 said:
Is there a way to sort the Start menu.
Not only with "to top" and "to down" ?
Click to expand...
Click to collapse
Hi Msmsms1,
You'll need a registry editor like Total Commander
and browse to:
HKLM -> Security -> Shell -> StartInfo -> Start
Then open the icon you wish to move.
In there, there will be a 'Rank' entry, you can edit this by tapping it.
- The easiest way to change these is to swap positions with another icon in the Start Menu, such as:
Moving the 'Settings' icon to where the 'Today' icon is. To do this, you simply note down the 'Rank' entry's number of each, and type it into the 'Rank' entry of the other.
For instance, the 'Rank' entry on my Today icon is: 900000718, and the Settings icon is 900000938. Just swap these numbers over and reboot.
jwmd icon changer can sort your apps...
btw, try kenia startmenu for a better view...super improvement

can't get today...another way to enable sense?

i installed the new messaging client and i disabled sense according to the instructions...now the today button isn't working. is there another way to enable sense without going into the today setting?
Hi,
Try creating a shortcut in your Start menu using:
25#ctlpnl.exe cplmain.cpl,13
For more info, check out http://ip208-100-42-21.static.xda-developers.com/showthread.php?t=645916

[Q] Application Settings Menu

Hi guys
I'm quite new at android developing and i'm really just playing around making things for myself
Right now i'm making an app with a settings menu that the user can set a variety of options.
One thing i really don't understand and i'm guessing i'm missing something basic here that everyone knows is how to create these menus
The type of menus i'm talking about can be found if you open the Internet got Menu > More > Settings
The menu style that you get is a standard one that can be found in heaps of applications however i can't seem to be able to google myself to how you create these
Thanks
Scott.
There is a subclass of the activity class called PreferenceActivity. Use it mostly as you would a regular activity class, but you can add predefined preference panels to the view. See the sample here:
http://developer.android.com/resour...ple/android/apis/app/PreferencesFromCode.html

[Q] list selector menu

I have designed a new menu for my app, that i think is more appealing than the regular android "six pack" menu and as such uses none of the menu xml attributes and is purely designed in the java and layout file.
However one of the options requires a list, and instead of bringing up an entire new activity, i would still like to use the sub menu list type, is it possible to do this from a onClick case? if not can anyone suggest an alternative way to get a similar result?
all help is much appreciated thanks

Game Menu

Hi,
I recently started Android game Development and I Was wondering how to create a menu for a game with a step by step process? Im using Eclipse .
Regards,
tripplemin
I would use buttons that open each activity.
In an XML file just put whatever buttons you need (eg: Start Game/Options/High Scores)
In your Java file set each button with findViewById and set OnClickListeners for each to open up the activity that corresponds with the button.
Then you may want to use drawables to create a background or something to make it look better
What's your problem with Acella's answer ?
Do you mean a menu shown by hitting menu button ?
Or do you know how to add a button ?
These are two good references :
http://www.mkyong.com/android/android-button-example/
http://thenewboston.org/watch.php?cat=6&number=9

Categories

Resources