Shade Shade - 7 months ago 26
Android Question

Android activity as dialog, but without a title bar

I have an activity that has the following set as theme:


However, there is a title bar in the activity-dialog that appears, that uses up the little available space that I have. How can I remove it?


Try doing requestWindowFeature(Window.FEATURE_NO_TITLE); in onCreate. It'll need to be done immediately after calling super.onCreate and just before setContentView.