Option Menu Customization

by Shekhar » Sun, 25 Apr 2010 00:06:18 GMT


Sponsored Links
 Hi,

Can we customize the Option menu at the UI level.Suppose for one row I
want to display three
menu items and for the next row only single item.And in the last row
only two items?

Please let me know if it is possible.

Thanks,
Shekhar

--



Option Menu Customization

by Mark Murphy » Sun, 25 Apr 2010 00:11:31 GMT


 


That is not possible through the standard option menu.

-- 
Mark Murphy (a Commons Guy)
 http://commonsware.com  |  http://twitter.com/commonsguy 

Warescription: Three Android Books, Plus Updates, One Low Price!

--


Sponsored Links


Option Menu Customization

by D.Y » Thu, 29 Apr 2010 10:46:36 GMT


 Dear Shekhar,

        I think it's possible, there should be a solution, you can visit the
following link:
 http://androidandme.com/wp-content/uploads/2009/12/05.categories_optionmenu. 
jpg
        But I have no source code, if you have resolved this issue, would
you please share it with me?

        Thanks,

Best Regards,
D.Y

----------
 android-developers@googlegroups.com
[mailto:android-develop...@googlegroups.com]  Shekhar
€ 201050:06
 Android Developers
€ shekhar...@gmail.com
: [android-developers] Option Menu Customization

Hi,

Can we customize the Option menu at the UI level.Suppose for one row I
want to display three
menu items and for the next row only single item.And in the last row
only two items?

Please let me know if it is possible.

Thanks,
Shekhar

--



Option Menu Customization

by Rob Mazur » Thu, 29 Apr 2010 11:34:44 GMT


 Looks like they are using custom icons. I bet if you create the icon
at a long enough width for your 3rd option (which you want on its own
row) it may sort the way you want it to. As long as its a transparent
PNG it should look fine.

If it does work then just make sure to check it on different screen
resolutions.




>



Option Menu Customization

by D.Y » Fri, 30 Apr 2010 14:15:20 GMT


 Hi Rob Mazur,

        I don't agree with your point, I test on the device with a long
enough width for the 3rd option, but we get three rows, each option takes a
line.

        Anyway, thanks for your advice.

Best Regards,
D.Y

----------
 android-developers@googlegroups.com
[mailto:android-develop...@googlegroups.com]  Rob Mazur
€ 2010911:34
 Android Developers
: [android-developers] Re: Option Menu Customization

Looks like they are using custom icons. I bet if you create the icon
at a long enough width for your 3rd option (which you want on its own
row) it may sort the way you want it to. As long as its a transparent
PNG it should look fine.

If it does work then just make sure to check it on different screen
resolutions.




the
link: http://androidandme.com/wp-content/uploads/2009/12/05.categories_opti.. 
..
>



Other Threads

1. Ksoap2 Android project revived and new release

Hi!

I just wanted to give you all a heads up that the dormant ksaop2-
android project has been revived

http://www.simpligility.com/2010/10/reviving-ksoap2-for-android/

and a new release 2.5.1 has been created. Among other things it fixed
problems with attribute parsing and soapfault catching. There are also
new convenience parsing methods and we have plans for some more
enhancement with the next release.

Please check out the overhauled site and wiki
http://code.google.com/p/ksoap2-android/

and join the brand new mailing list.

2. Storage

Hi,

Does anyone know how to access programatically the internal(flash) and
external(sd card) storage values such as space used and space
available? I cant seem to find an api anywhere?

Thanks for any help.

Andy

-- 

3. Monitor a task activity (view data activity)

4. A novel way to write resignation letter

5. The Trouble with Googles Android Market

6. Default Camera Application in Video mode crashing in 2.1 and 2.2

7. XmlPullParser and CDATA