摘要: 设置Activity的属性,两种方式:1:在manifest文件中指定的activity增加属性android:theme = "@android:style/Theme.CustomDialog"2:在程序中增加语句setTheme(R.style.Theme_CustomDialog);在onCreate()事件中增加setTheme(),必须在setContentView()之前,否则指定的Style不能生效。http://developer.android.com/guide/topics/resources/available-resources.html#sty 阅读全文
posted @ 2012-02-13 15:37 Lee_Alvin 阅读(163) 评论(0) 推荐(0) 编辑