摘要:
1:查看是否有存储卡插入String status=Environment.getExternalStorageState();if(status.equals(Enviroment.MEDIA_MOUNTED)){说明有SD卡插入}2:让某个Activity透明OnCreate中不设Layoutthis.setTheme(R.style.Theme_Transparent);以下是Theme_Transparent的定义(注意transparent_bg是一副透明的图片)3:在屏幕元素中设置句柄使用Activity.findViewById来取得屏幕上的元素的句柄. 使用该句柄您可以设置或获 阅读全文
posted @ 2012-05-15 16:14
精灵博客园
阅读(141)
评论(0)
推荐(0)

浙公网安备 33010602011771号