Advanced UI
ImageView ImageButton RadioButton CheckBox ProgressBar
1.ImageView Picture components
Src Specify the picture to load
Scaling issues
1. Press the original proportions of the picture (not distorted)
2. Do not press proportional (distortion)
ScaleType
1.fitXY force the picture to scale to fill the entire ImageView
2.fitCenter Scale to center the picture
3.FITEND Zoom to show pictures in the lower part of the board
4.fitStart scale to upper display picture
Adjustviewbounds picture boundary and ImageView boundary fit
23code
2.ImageButton (no one used)
Inherited ImageView properties are available with the
3.ProgressBar progress bar
Style: Rotate progress bar (does not show progress) horizontal progress bar (display)
Style control Styles
[Email protected]:style/widget.progressbar.inverse rotation
[Email protected]:style/widget.progressbar.horizontal level
Total progress value of 3.max horizontal progress bar
4.progress Horizontal progress bar Current progress value
5.secondaryProgress Horizontal progress bar Current level two progress value
4.RadioButton (option)
Radiogroup (Radio box)
<radiogroup >
<radibutton/>
<radibutton/>
<radibutton/>
</RadioGroup>
1.radiobutton
Prompt text next to the 1.text radio button
2.checked whether the default is selected
3.style Toggle Style
@android: Style/widget.holo.compoundbutton.checkbox Box Selection
@android: Style/widget.holo.compoundbutton.radiobuttonCircle (Default)
@android: Style/widget.holo.compoundbutton.star Pentagram
Android Advanced UI ImageView ImageButton RadioButton CheckBox ProgressBar Properties and Usage Summary