Toggle button
A toggle button allows the user to change a setting between two states. You can add a basic toggle button to your layout with the ToggleButton object. Android 4.0 (API…
A toggle button allows the user to change a setting between two states. You can add a basic toggle button to your layout with the ToggleButton object. Android 4.0 (API…
The Android checkbox component is a View subclass which is capable of showing checkbox. Being a subclass of View the checkbox component can be used in your Android app’s GUI inside a ViewGroup, or as the content…
The Android Button component is a View subclass which is capable of showing button. Being a subclass of View the Button component can be used in your Android app’s GUI inside a ViewGroup, or as the content view of…
TextView The Android TextView component is a View subclass which is capable of showing text. Being a subclass of View the TextView component can be used in your Android app’s GUI inside a ViewGroup, or as the content view…
Creating Layout at runtime UI Component can be created programmatically. UI component class setter methods help to configure the component. This style is not recommended unless it’s really required. In this…
The ConstraintLayout is a powerful new class, imagine a RelativeLayout on steroids – yea, that’s the ConstraintLayout. It allows us to lay out child views using ‘constraints’ to define position…
An Absolute Layout lets you specify exact locations (x/y coordinates) of its children. Absolute layouts are less flexible and harder to maintain than other types of layouts without absolute positioning.…