解决方案 »
- 利用新浪API做的微博客户端,为什么在手机或者模拟器上登陆不进去
- 4.0.3 make otapackage编不过
- Android中如何卸载SD卡
- Android里面的handler怎么知道将Message对象发送给哪个线程的Looper啊?
- android如何下载5M或者以上的大图到Gallery。
- 请教一个google map 拖拽事件的问题
- Android SDK 安装时报错!请高手回答!
- Camera系统中liboemcamera.so这个库是哪个文件生成的?
- 关于android中的数据库问题
- android logcat不断打印错误消息
- 最近搞的贺岁版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空白部分为什么是黑色的 而不是透出下层图片??