android常用控件(2)

圖片框(ImageView):屬性 1.android:src   設置imgeView所顯示的Drawable資源Id 2.android:maxHeight    最大高度 3.android:maxWidth   最大寬度 4.android:adjustViewBounds  設置imageview是否調整自己的大小保持所顯示圖片長寬比 顯示大圖片:BitmapFactory.decode
相關文章
相關標籤/搜索