Can any one please tell me how to make a segment control in android, exactly given below -
I am confused what images should I use . How to cut images and use them as resources to get exact same segment control like this. And which library would be perfect to achieve this ?
Android Segmented control is a linear segment made up of multiple segments with each segment functioning as a button. The segments are the same size and allow users to select between multiple contexts.
Use segmented controls to view similar content in different ways and the changes should take effect immediately when a segmented control option is selected. They should never require a user to click a button to apply the settings. Don't use a segmented control for action, such as add and remove.
There are dozen of good articles on segment control implementation... but following are the good ones , that helped me.. Intermediate Example is closest to your requirement.
Basic Example
Intermediate Example
Github Segment Control Example One
Github Segment Control Example Two
Github Ceryle SegmentedButton (the richest)
For creating Menus , u need to have some photoshop skills, although this website can create navigation for u online as well Create Navigation Online
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With