我的 Android 应用程序使用 Theme.AppCompat.NoActionBar
这给了我一个无操作栏的深色主题。我希望我的 CalendarView
显示为浅色主题。我怎样才能实现这一点?
最佳答案
你可以这样做,
<CalendarView
android:layout_width="match_parent"
android:layout_height="match_parent"
android:background="@android:color/white"
android:theme="@style/Theme.AppCompat.Light"></CalendarView>
关于java - 如何在 Android CalendarView 中的深色主题应用程序中显示浅色主题?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/31428402/