I created an activity which is shown as pop up/ Dialog by following answers given in this question.
I did it by adding these lines in AndroidManifest
<activity
android:name=".package.Activity"
android:theme="@style/Theme.AppCompat.Light.Dialog.Alert" />
It works well as intended but the problem it shows Appname as title. I want to make it appear as AlertDialog. How to fix this?
I also cant use setTitle("") or label="" because empty space is left where appname was before.