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>

更多相关文章

  1. android多点触摸缩放图片
  2. android imageVIew拖动 && 图片缩放
  3. 图片走廊
  4. Android(安卓)圆角图片的实现
  5. Android自动化测试之MonkeyRunner之MonkeyImage(十)
  6. Android(安卓)禁用 APP 或四大组件
  7. android邮件发送几种方式
  8. Android图片圆角 用简单的方法实现
  9. Android实现图片放大缩小

随机推荐

  1. Android之手机定位方式(GPS定位,网络定位,
  2. Android砖机救活(索爱MT15i)
  3. android中的代码布局
  4. Android(安卓)SELinux 编写 SELinux 政策
  5. Android(安卓)欢迎引导页的魅力
  6. Android(安卓)转屏那些事儿
  7. Android(安卓)App 免杀教程
  8. Android(安卓)数据库开发之事务
  9. android vold初始化及sd卡挂载流程
  10. Android简易实战教程--第四十七话《使用O