Reputation: 4794
Can some one suggest me what type of button , or other type of view should I use in horizontal scroll view to on off buttons like this in fox application.
When user click on button, current button should be with pressed state, and others in normal state.
thanks
Upvotes: 0
Views: 100
Reputation: 7350
If the layout is like the above, a tabbed layout is the way to go
http://developer.android.com/resources/tutorials/views/hello-tabwidget.html
EDIT: sorry didn't realize you only wanted to refer to the lower part.
You could use radiobuttons and put them all in a radiogroup
http://developer.android.com/reference/android/widget/RadioButton.html
Upvotes: 1
Reputation: 22306
You can use a Gallery view to have the look like that. There are some bugs with gallery view where you can't recycle and reuse a view, but otherwise that will give the effect you are looking for.
Upvotes: 0