How to create horizontal menu in android ?
- by sohilv
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