geekerliu opened this issue 8 years ago · 1 comments
在书中的57页,最下面在设置DialogActivity的theme是android:theme="@android:style/Theme.Dialog",点击按钮时app崩溃。 但是在github上的代码设置的是android:theme="@style/Theme.AppCompat.Dialog",这个设置在点击按钮时不会崩溃,可显示出想要的效果。
android:theme="@android:style/Theme.Dialog"
android:theme="@style/Theme.AppCompat.Dialog"
same issue.