I am trying to create a simple dialog activity. If i add: android:theme="@android:style/Theme.Dialog" to my <activity> tag in my AndroidManifest.xml everything works as it is supposed to. I get a frame around my text and the background gets dimmed.
If i however instead if setting the theme in my manifest call setTheme (android.R.style.Theme_Dialog); from my activities onCreate method things get strange. I get the frame alright but the background in black! not dimmed as it should be. Can anyone help me out? --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---