如何让多张图片叠加显示
2010-12-14 17:58
369 查看
那要研究下这个AbsoluteLayout方式布局
问题已经解决。我选用的是AbsoluteLayout方式布局。
<AbsoluteLayout
xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="wrap_content"
android:layout_height="wrap_content">
<ImageView
android:src="@drawable/sample_1" --图片1
android:adjustViewBounds="true"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_x="14.5sp" ---绝对位置
android:layout_y ="14.5sp"/>
<ImageView
android:src="@drawable/sample_2" --图片2
android:adjustViewBounds="true"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_x="54.5sp" --绝对位置
android:layout_y ="64.5sp"/>
</AbsoluteLayout>
问题已经解决。我选用的是AbsoluteLayout方式布局。
<AbsoluteLayout
xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="wrap_content"
android:layout_height="wrap_content">
<ImageView
android:src="@drawable/sample_1" --图片1
android:adjustViewBounds="true"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_x="14.5sp" ---绝对位置
android:layout_y ="14.5sp"/>
<ImageView
android:src="@drawable/sample_2" --图片2
android:adjustViewBounds="true"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_x="54.5sp" --绝对位置
android:layout_y ="64.5sp"/>
</AbsoluteLayout>
相关文章推荐
- WPF如何在同一个区域依次叠加显示多张图片呢?
- PS如何将一张图片做成多张图片叠加效果
- MATLAB 如何循环显示多张图片在一个窗口
- 如何利用opencv在一个窗口显示多张图片
- input 标签如何multiple 上传多张图片 实时在页面显示图片
- WinCE如何使用PictureBox的Image属性通过图片路径显示图片
- iOS开发 如何在Label中显示图片-图文混排
- FileUpload上传图片直接浏览显示(没有上传按钮如何上传)
- css 如何让背景图片拉伸填充避免重复显示
- 如何在CSDN博客中显示图片而不是链接
- 如何让页面在打开时自动刷新一次让图片全部显示
- opencv在一个窗口里面显示多张图片
- Image扩展,如何将网络图片显示在自己的程序中
- 如何读取保存在数据库中的图片显示在DataGrid中
- WINCE 如何显示PNG和GIF图片
- 关于如何使用websocket 接收并显示图片或者操作二进制
- jsp页面显示多张FTP服务器图片的方法
- 在Android中如何获取视频的第一帧图片并显示在一个ImageView中
- 如何在电子表格中的批注里插入多张图片
- iOS开发 如何在Label中显示图片-图文混排