配置 Androidmanifest.xml 中的配置 activity
<activity android:name=".activity.yhsb.ShshDialogActivity" android:theme="@style/DialogTheme" />
-----------
<style name="DialogTheme" parent="Theme.AppCompat.DayNight.Dialog"> <item name="windowNoTitle">true</item> </style>