I am using this code –>requestWindowFeature(Window.FEATURE_NO_TITLE) in my dialog box but when I click button and return my main and my app closes itself and returns this error –> requestFeature() must be called before adding content. How can I handle it or How can I kill my request after calling.
Thanks…
i guess you use the
after the method setContentView(layout) make you app crash
try this :
hope it help you !