1/42
Looks like no tags are added yet.
Name | Mastery | Learn | Test | Matching | Spaced |
---|
No study sessions yet.
LinearLayout
A view group that aligns all children in a single direction, either vertically or horizontally.
RelativeLayout
A view group that displays child views in relative positions.
TableLayout
A view that groups views into rows and columns.
FrameLayout
A placeholder on screen that you can use to display a single view.
ListView
A view group that displays a list of scrollable items.
GridView
A ViewGroup that displays items in a two-dimensional, scrollable grid.
ConstraintLayout
A ViewGroup which allows you to position and size widgets in a flexible way.
TextView
A control used to display text to the user.
EditText
A predefined subclass of TextView that includes rich editing capabilities.
AutoCompleteTextView
A view similar to EditText, showing a list of completion suggestions automatically while 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, useful for presenting a group of selectable options that are not mutually exclusive.
ToggleButton
An on/off button with a light indicator.
RadioButton
A control that has two states: either checked or unchecked.
RadioGroup
Used to group one or more RadioButtons together.
ProgressBar
A view that provides visual feedback about ongoing tasks.
Spinner
A drop-down list that allows users to select one value from a set.
TimePicker
Enables users to select a time of day in either 24-hour or AM/PM mode.
DatePicker
Enables users to select a date.
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()
Inspects the action value of a touch 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 a DragEvent object.
float distanceTo(Location dest)
Returns the approximate distance in meters between this location and a given location.
float getAccuracy()
Gets the estimated accuracy of a location, in meters.
double getAltitude()
Gets the altitude if available, in meters above sea level.
float getBearing()
Gets the bearing, in degrees.
double getLatitude()
Gets the latitude, in degrees.
double getLongitude()
Gets the longitude, in degrees.
boolean hasBearing()
True if a location has a bearing.
boolean hasSpeed()
True if a location has a speed.
void reset()
Clears the contents of the location.
void setAccuracy(float accuracy)
Sets the estimated accuracy of a location, in meters.
void setAltitude(double altitude)
Sets the altitude, in meters above sea level.
void setBearing(float bearing)
Sets the bearing, in degrees.
void setLatitude(double latitude)
Sets the latitude, in degrees.
Prepare for debugging
Install LLDB, enable debugging on your device, and run a debuggable build variant.