解决方案 »
- 使用Google Map API开发的程序,在模拟器上可以正常运行。放到手机上一打开就出错
- 如何让一个activity重新置顶?
- android下 做一个视频播放器 有哪些开源技术?
- 【100分-取经】如何实现图中效果
- android如何实现Iphone的coverflow,求demo,急急急急急急急急
- 请教各位神仙,阅读器的平滑滚动是怎么做的呢?
- android 1.6 如何自适应屏幕大小!!
- Android上支持静态应用吗? 即,应用与手机的Image编译,Link在一起
- 如何自定义sectionIndex,在原始的section中加入一个新的section
- Android 启动线程
- 最近搞的贺岁版UI,大家觉得怎么样?
- 安卓程序运行出错 The source attachment does not contain the source for the file
super .onDraw(canvas);
canvas.drawBitmap(......);}
然后先绘 jpg,再绘png。
<RelativeLayout
android:layout_width="wrap_content"
android:layout_height="wrap_content">
<ImageView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:src="@drawable/a.png"/>
<ImageView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:src="@drawable/b.png"/>
</RelativeLayout>
a是底成图片,b是上层...
请问我用png空白部分为什么是黑色的 而不是透出下层图片??