Android(安卓)之 ImageView(图片组件)
16lz
2021-12-04
ImageView 图片组件:
属性:android:src="" 引用图片资源
测试代码:
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:tools="http://schemas.android.com/tools" android:layout_width="fill_parent" android:layout_height="fill_parent" android:orientation="vertical"> <TextView android:layout_width="wrap_content" android:layout_height="wrap_content" android:text="ImageView 组件测试" /> <ImageView android:layout_height="wrap_content" android:layout_width="wrap_content" android:src="@drawable/ic_launcher" /></LinearLayout>
更多相关文章
- android多点触摸缩放图片
- android imageVIew拖动 && 图片缩放
- 图片走廊
- Android(安卓)圆角图片的实现
- Android自动化测试之MonkeyRunner之MonkeyImage(十)
- Android(安卓)禁用 APP 或四大组件
- android邮件发送几种方式
- Android图片圆角 用简单的方法实现
- Android实现图片放大缩小