Sat. Nov 23rd, 2024

Month: May 2022

Button

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…

Widgets

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…

Dynamic Layout

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…

Constraint Layout

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…

Absolute Layout

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.…

Fragment

A Fragment represents a behavior or a portion of user interface in an Activity. You can combine multiple fragments in a single activity to build a multi-pane UI and reuse…