Shade Shade - 2 months ago 12x
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.