结果如图

main.xml

<?xml version="1.0" encoding="utf-8"?><HorizontalScrollView    xmlns:android="http://schemas.android.com/apk/res/android"    android:layout_width="fill_parent"    android:layout_height="fill_parent"    android:fillViewport="true"    >    <LinearLayout         android:layout_width="fill_parent"        android:layout_height="fill_parent"        android:orientation="horizontal"        >    <ImageView         android:id="@+id/myImageView1"        android:layout_width="320dp"        android:layout_height="480dp"        android:background="@drawable/image0"        android:paddingRight="5dip"        />    <ImageView         android:id="@+id/myImageView2"        android:layout_width="320dp"        android:layout_height="480dp"        android:background="@drawable/image1"        android:paddingRight="5dip"        />    <ImageView         android:id="@+id/myImageView3"        android:layout_width="320dp"        android:layout_height="480dp"        android:background="@drawable/image2"        android:paddingRight="5dip"        />    </LinearLayout></HorizontalScrollView>

源代码

更多相关文章

  1. android socket通信
  2. android socket通信
  3. Android通讯-Socket(TCP/IP)
  4. android短信和彩信探秘threads
  5. Android应用程序安装过程源代码分析(3)
  6. Ubuntu 13.04 编译环境配置及android 2.3 源代码编译时出现了以
  7. 45个android实例源码
  8. Android应用程序安装过程源代码分析(4)
  9. Android(安卓)之经典源码

随机推荐

  1. Android中将控件放到线性布局的任意位置(
  2. Android(安卓)仿微信点赞和评论弹出框
  3. Android(安卓)6.0 悬浮窗默认关闭解决方
  4. 在小米手机上,修改APP的launcher应用图标
  5. Android内存泄漏原因及解决办法
  6. 【Android】缩略图Thumbnails
  7. [图解]Android(安卓)View的事件分发机制
  8. Android(安卓)APP存活检测方式
  9. Android点9图的运用
  10. Android混淆从入门到精通