gpt4 book ai didi

android - 什么时候跑!! Android Studio 弹窗 v23

转载 作者:行者123 更新时间:2023-11-30 00:58:21 28 4
gpt4 key购买 nike

以下样式定义以某种方式破坏了我的屏幕并使 R 类变为红色。看截图herehere

<?xml version="1.0" encoding="utf-8"?>
<resources>
<style name="Base.TextAppearance.AppCompat.Widget.ActionBar.Menu" parent="android:TextAppearance.Material.Widget.ActionBar.Menu"/>
<style name="Base.TextAppearance.AppCompat.Widget.Button.Inverse" parent="android:TextAppearance.Material.Widget.Button.Inverse"/>
<style name="Base.Theme.AppCompat" parent="Base.V23.Theme.AppCompat"/>
<style name="Base.Theme.AppCompat.Light" parent="Base.V23.Theme.AppCompat.Light"/>
<style name="Base.V23.Theme.AppCompat" parent="Base.V22.Theme.AppCompat">
<!-- We can use the platform styles on API 23+ -->
<item name="ratingBarStyleIndicator">?android:attr/ratingBarStyleIndicator</item>
<item name="ratingBarStyleSmall">?android:attr/ratingBarStyleSmall</item>

<!-- We can use the platform drawable on v23+ -->
<item name="actionBarItemBackground">?android:attr/actionBarItemBackground</item>
<!-- We can use the platform styles on v23+ -->
<item name="actionMenuTextColor">?android:attr/actionMenuTextColor</item>
<item name="actionMenuTextAppearance">?android:attr/actionMenuTextAppearance</item>

<item name="controlBackground">@drawable/abc_control_background_material</item>
</style>
<style name="Base.V23.Theme.AppCompat.Light" parent="Base.V22.Theme.AppCompat.Light">
<!-- We can use the platform styles on API 23+ -->
<item name="ratingBarStyleIndicator">?android:attr/ratingBarStyleIndicator</item>
<item name="ratingBarStyleSmall">?android:attr/ratingBarStyleSmall</item>

<!-- We can use the platform drawable on v23+ -->
<item name="actionBarItemBackground">?android:attr/actionBarItemBackground</item>
<!-- We can use the platform styles on v23+ -->
<item name="actionMenuTextColor">?android:attr/actionMenuTextColor</item>
<item name="actionMenuTextAppearance">?android:attr/actionMenuTextAppearance</item>

<item name="controlBackground">@drawable/abc_control_background_material</item>
</style>
<style name="Base.Widget.AppCompat.Button.Borderless.Colored" parent="android:Widget.Material.Button.Borderless.Colored"/>
<style name="Base.Widget.AppCompat.Button.Colored" parent="android:Widget.Material.Button.Colored"/>
<style name="Base.Widget.AppCompat.RatingBar.Indicator" parent="android:Widget.Material.RatingBar.Indicator"/>
<style name="Base.Widget.AppCompat.RatingBar.Small" parent="android:Widget.Material.RatingBar.Small"/>
<style name="Base.Widget.AppCompat.Spinner.Underlined" parent="android:Widget.Material.Spinner.Underlined"/>
</resources>

最佳答案

确保您创建项目并重建它以使用新样式改进您的代码

关于android - 什么时候跑!! Android Studio 弹窗 v23,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/39816468/

28 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com