class CustomActivity extneds Activity needs to use @android:style/Theme.Dialog. You can also use @style/Theme.AppCompat.Dialog without error, but no content.
class CustomActivity extends AppCompatActivity needs to use @style/Theme.AppCompat.Dialog.
@android:style/Theme.Dialog 和 @style/Theme.AppCompat.Dialog
Guess you like
Origin http://43.154.161.224:23101/article/api/json?id=326199016&siteId=291194637
Recommended
Ranking