在我的应用程序中,我将一个Android活动定义为对话框。它看起来很好。唯一的问题是我的对话框出现在黑暗主题中。我想将其显示为浅色主题。我按以下方式定义了我的活动对话框:
<activity
android:theme="@android:style/Theme.DeviceDefault.Dialog.MinWidth"
android:name="com.example.dialog"
android:label="@string/title_activity_list"
>
</activity>
如何做到这一点?有什么解决方案吗?需要帮助。谢谢。
@android:style/theme.holo.light.Dialog
,它运行良好。谢谢你的帮助。 - nilkash