You need to use a Theme.AppCompat theme (or descendant) with this activity

前端 未结 30 4047
感动是毒
感动是毒 2020-11-21 04:42

Android Studio 0.4.5

Android documentation for creating custom dialog boxes: http://developer.android.com/guide/topics/ui/dialogs.html

If you want a custom d

30条回答
  •  北海茫月
    2020-11-21 05:00

    I was getting this same problem. Because i was creating custom navigation drawer. But i forget to mention theme in my manifest like this

    android:theme="@style/Theme.AppCompat.NoActionBar"
    

    As soon i added the above the theme to my manifest it resolved the problem.

提交回复
热议问题