摘要: 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-01-14 16:26 Dufe王彬 阅读(207) 评论(0) 推荐(0) 编辑