When I apply android:theme="@android:style/Theme.NoDisplay"
to my application (inside manifest.xml) I get a RunTimeException saying the layout_height attribute is not specified (see below). However, is this not the reason why we have Theme.NoDisplay, not to have any layout within an app? I do not need a layout in my activity, therefore I do not call setContentView at all. Anyway, if I call setContentView with an empty FrameLayout (layout_height set to wrap_content), it does not work either. As soon as I set Theme.NoDisplay the Exception raises. My activity calls finish() at the end of onCreate(). What do I have to do to get rid of this exception? Am I something missing? ----------------------------------------------------------- WARN/WindowManager(577): java.lang.RuntimeException: Binary XML file line #26: You must supply a layout_height attribute. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~----------~----~----~----~------~----~------~--~---

