摘要:
ImageView及其子类ImageView 派生出ImageButton , ZoomButton继承于View组件,主要功能用于显示图片。xml属性 相关方法 说明adjustViewBounds setAdjustViewBounds() 是否调整自己的边界来保持所显示图片的长宽比cropToPadding setCropToPadding() 设置为true 将会被裁剪到保留图片的paddingmaxHeight setMaxHeigh... 阅读全文
摘要:
UI组件:TextView及其子类文本框TextView 编辑框EditTextTextView继承了View 它是EditText 和 Button的父类。单选按钮 RadioButton复选框 CheckButton状态开关 ToggleButton开关 Switch时钟 AnalogClock数字时钟 DigitalClock计时器 Chronometer 阅读全文