How to remove Alert dialog Title bar
If you don't want title bar in alert dialog then just remove below line from code.
dialogbuilder.setTitle("Login");
If still not working then add below line.
dialogbuilder.requestWindowFeature(Window.FEATURE_NO_TITLE);
Use dialog.requestWindowFeature(Window.FEATURE_NO_TITLE);
Use dialog.requestWindowFeature(Window.FEATURE_NO_TITLE);
before dialog.setContentView(R.layout.logindialog);
by doing so you will be able to hide the Dialog
's title.