Expand description
UI Components
Structs§
- Button
- A Button that can be clicked
- Checkbox
- A Checkbox can be checked or unchecked
- Edit
Text - An EditText allows text input
- Frame
Layout - A FrameLayout is a simple layout that stacks children on top of each other
- Grid
Layout - A GridLayout arranges children in a grid
- Horizontal
Scroll View - A HorizontalScrollView provides horizontal scrolling capability
- Image
View - An ImageView displays images
- Linear
Layout - A LinearLayout arranges views linearly
- Nested
Scroll View - A NestedScrollView provides scrolling capability
- Progress
Bar - A ProgressBar displays progress from 0 to 100
- Radio
Button - A RadioButton in a group
- Radio
Group - A RadioGroup manages a set of radio buttons
- Space
- A Space creates empty space in layouts
- Spinner
- A Spinner is a dropdown list
- Swipe
Refresh Layout - A SwipeRefreshLayout provides pull-to-refresh functionality
- Switch
- A Switch can be toggled on or off
- TabLayout
- A TabLayout displays a horizontal row of tabs
- Text
View - A TextView displays text to the user
- Toggle
Button - A ToggleButton is a button that can be toggled on or off
- WebView
- WebView 组件,用于显示网页内容