We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date
Syncfusion Feedback

Trusted by the world’s leading companies

Syncfusion Trusted Companies

Overview

The Xamarin.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.


Display modes

Depending on your application, different scenarios may require icons, text, or a combination of both for effective communication. The segmented control supports these three options.

Xamarin Android Segmented control display modes

Text

Items populated in the segmented control will be displayed as text by default.

Xamarin Android Segmented control item display as text

Image

Items populated in the segmented control can be displayed as icons.

Xamarin Android Segmented control item display as image

Image with text

Items populated in the segmented control can be displayed as icons with accompanying text.


Scrolling

When the available space in the segmented control is not equally distributed, the items beyond the edges of the control can be viewed by scrolling the panel.

Xamarin Android Segmented control scrolling


Data source

Segments can be populated from a collection of strings, views, or a collection of objects in a built-in class.

Xamarin Android Segmented control datasource binding

String collection

Set a collection of strings as a data source.

Xamarin Android Segmented control string collection datasource

View collection

Custom views or images can be added as segments.

Xamarin Android Segmented control custom view

Segment item collection

Customize the text or icons, or use other built-in customization options available for the segments. Segment item collections can also be used.


Icon fonts

Use icon fonts to avoid icon scalability issues and reduce the app footprint by avoiding solid images.

Xamarin Android Segmented control icon fonts


Switch

The segmented control can be customized to behave as a switch with two or more options.

Xamarin Android Segmented control as switch


Selection indicators

A selection strip is used to indicate the selected item in the segmented control. The selection strip can be customized in many forms.

Xamarin Android Segmented control selection indicators

Border

The selection strip can be set as a border to highlight the selected item.

Xamarin Android Segmented control Border feature

Fill

The selection strip can be placed over a segment item to indicate it is selected. You can customize its color to highlight the item.

Xamarin Android Segmented control fill feature

Top placement

The selection strip can be displayed as a line with customizable color and thickness. It can be positioned at the top of an item.

Xamarin Android Segmented control top placement

Bottom placement

The selection strip can be displayed as a line with customizable color and thickness. It can be positioned at the bottom of an item.


Customization

The segmented control supports customizing the segment color, text color, icon size, selection color, and more, enabling the segments to fit your application’s theme. It can be customized in the following areas.

Xamarin Android Segmented control customization support

Font size

The font size can be customized with pixel precision or with standard options such as small, medium, and large.

Xamarin Android Segmented control font size customization support

Font family

The control supports traditional and custom fonts to suit your application. Some iconic fonts are supported too.

Xamarin Android Segmented control font customization support

Text color

The text color can be customized for normal and selected states with the available color collection or any hex color code.

Xamarin Android Segmented control text color customizing support

Item color

The background color of all the items can be customized.

Xamarin Android Segmented control item color customizing support

Border color

The border color can be customized for all items.

Xamarin Android Segmented control border color customizing support

Border thickness

The border thickness can be customized for all items.

Xamarin Android Segmented control border thickness customization

Corner radius

The corner radius can be customized for selection strips and items.

Xamarin Android Segmented control corner radius of strips

Padding

Spacing between the items in the control can also be customized.


150+ XAMARIN CONTROLS

ALL CONTROLS
  • Xamarin.Forms
  • Xamarin.Android
  • Xamarin.iOS
The most downloaded control (based on the nuget.org download count).

Our Customers Love Us

Having an excellent set of tools and a great support team, Syncfusion reduces customers’ development time.
Here are some of their experiences.

Rated by users across the globe

Transform your applications today by downloading our free evaluation version
Download Free Trial No credit card required.

Syncfusion Xamarin.Android Resources

Awards

Greatness—it’s one thing to say you have it, but it means more when others recognize it. Syncfusion is proud to hold the following industry awards.

Up arrow icon