Control Type | Description | Related Classes |
Button | A push-button that can be pressed, or clicked, by the user to perform an action. | Button |
Text field | An editable text field. You can use the AutoCompleteTextView widget to create a text entry widget that provides auto-complete suggestions | EditText ,AutoCompleteTextView |
Checkbox | An on/off switch that can be toggled by the user. You should use checkboxes when presenting users with a group of selectable options that are not mutually exclusive. | CheckBox |
Radio button | Similar to checkboxes, except that only one option can be selected in the group. | RadioGroup
RadioButton |
Toggle button | An on/off button with a light indicator. | ToggleButton |
Spinner | A drop-down list that allows users to select one value from a set. | Spinner |
Pickers | A dialog for users to select a single value for a set by using up/down buttons or via a swipe gesture. Use a DatePicker code> widget to enter the values for the date (month, day, year) or aTimePicker widget to enter the values for a time (hour, minute, AM/PM), which will be formatted automatically for the user's locale. | DatePicker ,TimePicker |
No comments:
Post a Comment