Re: [android-developers] Re: adding menu to Linear layout

2012-01-10 Thread syed ali
public boolean onCreateOptionsMenu(Menu menu) { boolean result = super.onCreateOptionsMenu(menu); menu.add(0, 1, 0, R.string.create_restaurant); menu.add(0, 2, 0, R.string.create_customer); menu.add(0, 3, 0, R.string.create_menu); return result; }

[android-developers] Re: adding menu to Linear layout

2012-01-03 Thread dust
I already read those docs. and i know the difference. I just want to know any tricks to make it work. ... i take the answer that it's impossible. On 1월4일, 오전1시59분, TreKing treking...@gmail.com wrote: On Mon, Jan 2, 2012 at 1:36 AM, dust coo...@gmail.com wrote: would you pls give me an

Re: [android-developers] Re: adding menu to Linear layout

2012-01-03 Thread TreKing
On Tue, Jan 3, 2012 at 5:23 PM, dust coo...@gmail.com wrote: i take the answer that it's impossible. The way you're going about it - yes. By other means, no. Nothing is stopping you from overriding the menu key to show your own custom menu, layed out and coded to behave as you wish.