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. play remote audio file in android audio player

Hello,

I am working on a application that would allow users to play remote
files. My question is how do I open those remote files to be played in
the default android player?

I have tried something like

Integer i = v.getId();
String link = "http://www.site.com/file.mp3";
Uri uri = Uri.parse(link);
Intent intent = new Intent(Intent.ACTION_VIEW, uri);
startActivity(intent);

but this does not give me control of what is happening!

Do you know another way?

-- 

2. how can i get the messages in gmail/email client inbox folder?

hi all.

i would just like to ask on how can i get the messages on my email
inbox folder and display it?
similarly, how can I access gmail's inbox or other mail client's inbox
folder?
is this possible on android?
do you have any idea?

thanks in advance!

-- 

3. Getting Keyboard To Appear With Ought Having To Click on EditText

4. Share your Homescree

5. Aneka Screenguard for Androids

6. SGS - Armani Version

7. How to make phone call from home screen widget?