Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Segment control in android [closed]

Tags:

android

Can any one please tell me how to make a segment control in android, exactly given below -

enter image description here

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 ?

like image 901
Bhavit S. Sengar Avatar asked Dec 12 '13 08:12

Bhavit S. Sengar


People also ask

Does Android have a segmented control?

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.

When would you use segmented control?

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.


1 Answers

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

like image 96
Digital Alchemist Avatar answered Oct 02 '22 07:10

Digital Alchemist