Please invoke setTheme() just before setContentView() --- 09年3月19日,周四, Marcus <marcus.ter...@gmail.com> 写道: 发件人: Marcus <marcus.ter...@gmail.com> 主题: [android-developers] Re: Problem with setTheme() method 收件人: "Android Developers" <android-developers@googlegroups.com> 日期: 2009,319,周四,3:31下午
I'm sorry. But even if I put the setTheme on the first line of onCreate (even beforce super.onCreate), I get a dark black background and not a transparent/blur background. But if I set the theme in the manifest, it works. It's not a great problem, because I can set it in the manifest. But really strange. Also if I create an own theme which inherits the Dialog-Theme with parent="@android:style/Theme.Dialog" and change nothing in the body, I don't get the transparent background! Is there a trick or something more to consider? ___________________________________________________________ 好玩贺卡等你发,邮箱贺卡全新上线! http://card.mail.cn.yahoo.com/ --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~----------~----~----~----~------~----~------~--~---