How to create horizontal menu in android ?
Posted
by
sohilv
on Stack Overflow
See other posts from Stack Overflow
or by sohilv
Published on 2010-09-30T15:14:44Z
Indexed on
2011/01/04
0:53 UTC
Read the original article
Hit count: 173
Hello Friends,
I am working on horizontal menu that will open on top of the screen. Layout is something like following,
|| < || Menu Item1 || Menu Item2 || Menu Item3 || > ||
I want to put this on top of the screen. It can have more than 3 menu item and it can traverse through previous and next arrow. I started with like this,
RelativeLayout ( width - fill_parent)
- Gallery View ( Here i appended adapter )
There is two problem, - Gallery view contains the space before and after - While scrolling its item gets selected
Though its not ideal solution for this. How can i build custom component like this ? Any help appreciated.
Thanks
© Stack Overflow or respective owner