LinearLayout : is a view group that aligns all children in a single direction, vertically or horizontally.
RelativeLayout: is a view group that displays child views in relative positions.
TableLayout: is a view that groups views into rows and columns
FrameLayout: is a placeholder on screen that you can use to display a single view.
ListView: is a view group that displays a list of scrollable items.
GridView: is a ViewGroup that displays items in a two-dimensional, scrollable grid.
ConstraintLayout: is a ViewGroup which allows you to position and size widgets in a flexible way.
TextView: This control is used to display text to the user.
EditText: is a predefined subclass of TextView that includes rich editing capabilities.
AutoCompleteTextView: is a view that is similar to EditText, except that it shows a list of completion suggestions automatically while the user is typing.
Button: A push-button that can be pressed, or clicked, by the user to perform an action.
CheckBox: An on/off switch that can be toggled by the user. You should use check box when presenting users with a group of selectable options that are not mutually exclusive.
ToggleButton: An on/off button with a light indicator
RadioButton: has two states: either checked or unchecked.
RadioGroup: is used to group together one or more RadioButtons.
ProgressBar: The view provides visual feedback about some ongoing tasks, such as when you are performing a task in the background.
Spinner: A drop-down list that allows users to select one value from a set.
TimePicker: The view enables users to select a time of the day, in either 24-hour mode or AM/PM mode.
DatePicker: The view enables users to select a date of the day.
onDown(): Notifies when a tap down event occurs
onFling(): Notifies when a tap down, movement, and matching up event occurs onLongPress() Notifies when a long press occurs
onScroll(): Notifies when a scroll occurs
onShowPress(): Notifies when a tap down occurs before any movement or release
onSingleTapUp(): Notifies when a tap up event occurs
int getAction(): Inspect the action value of this event..
ClipData getClipData(): Returns the ClipData object sent to the system as part of the call to startDrag().
boolean getResult(): Returns an indication of the result of the drag and drop operation.
String toString(): Returns a string representation of this DragEvent object.
float distanceTo(Location dest): Returns the approximate distance in meters between this location and the given location.
float getAccuracy(): Get the estimated accuracy of this location, in meters.
double getAltitude(): Get the altitude if available, in meters above sea level.
float getBearing(): Get the bearing, in degrees.
double getLatitude(): Get the latitude, in degrees.
double getLongitude(): Get the longitude, in degrees.
boolean hasBearing(): True if this location has a bearing.
boolean hasSpeed(): True if this location has a speed.
void reset(): Clears the contents of the location.
void setAccuracy(float accuracy): Set the estimated accuracy of this location, meters.
void setAltitude(double altitude): Set the altitude, in meters above sea level.
void setBearing(float bearing): Set the bearing, in degrees.
void setLatitude(double latitude): Set the latitude, in degrees.
Before you can begin debugging, you need to prepare as follows:
Install LLDB
Enable debugging on your device
Run a debuggable build variant