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. Problem with onscreen keyboard on Droid

Hi all

i am developing an application which has a general text entry form. So
while testing on my moto droid, i am facing a strange issue-- when i
touch an input field ( which is at lower end of the screen) -- the on
screen keyboard pops up and hides the input field. So user have to
enter blindly. So is this a sdk issue OR it is particular for droids
OR am i doing something wrong???

I have tested this same form on G1, Hero..i see no issues at all.
Please help...

-- 

2. Status Bar Customizations

I've seen this posted before however I'd really like to revisit it. In
dealing with a small res device I would like to hide the status bar,
my current solution has been to make it transparent and 'make a mess'
of the framework and xml so that certain icons are no longer shown,
for example the battery icon only shows a png when it's low, the
ticker font is transparent etc.

   I'd much rather do this the proper way, via the source in android
2.1
 So who has ideas for;

 Making the status bar hide when the launcher is open?
 not having the notification ticker at all?

 Disabling the status bar completely?

 What are your thoughts everyone?

-- 

3. Can I modify vitual keyboard's preview popup?

4. How can i integrate facebook connect api in any android application?

5. Cyanogen and Signed Apps Issue

6. deleteOnExit when and how does an Android JVM exit

7. UsefulMod v2.2 @ Samsung Spica XXJC