Welcome to ShenZhenJia Knowledge Sharing Community for programmer and developer-Open, Learning and Share
menu search
person
Welcome To Ask or Share your Answers For Others

Categories

I am looking for menu in layout.. how to do it.. i don't want default Menu in action bar. because i made it Disable.. its no use in my application.. I am not good in this.. plz say me some sample to do this.. thank u in advance.

I am using ice cream sandwich.sdk 11

Below images showing using action bar its showing menu in this way... i dnt want in this way because i am not using Action bar in my App enter image description here

Here is my actual app which contains linear layout and i need a menu in this layout. please help me..

enter image description here

See Question&Answers more detail:os

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
thumb_up_alt 0 like thumb_down_alt 0 dislike
164 views
Welcome To Ask or Share your Answers For Others

1 Answer

Use a series of custom views and handle their `onClick' methods to implement the switching of fragments to act as a menu?

See my question here of how I implemented a custom ActionBar. Even though its an action bar the principle is the same.


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
thumb_up_alt 0 like thumb_down_alt 0 dislike
Welcome to ShenZhenJia Knowledge Sharing Community for programmer and developer-Open, Learning and Share

548k questions

547k answers

4 comments

86.3k users

...