我已经尝试了很多更改,但我似乎永远不会摆脱这个错误,我没有导入任何库,因为我丢失了所有数据。
<style name="TextAppearance.AppCompat.Light.Widget.PopupMenu.Large" parent="@style/TextAppearance.AppCompat.Light.Base.Widget.PopupMenu.Large" />
<style name="TextAppearance.AppCompat.Light.Widget.PopupMenu.Small" parent="@style/TextAppearance.AppCompat.Light.Base.Widget.PopupMenu.Small" />
<style name="TextAppearance.AppCompat.SearchResult.Title" parent="@style/TextAppearance.AppCompat.Base.SearchResult.Title" />
<style name="TextAppearance.AppCompat.SearchResult.Subtitle" parent="@style/TextAppearance.AppCompat.Base.SearchResult.Subtitle" />
<style name="TextAppearance.AppCompat.Light.SearchResult.Title" parent="@style/TextAppearance.AppCompat.Light.Base.SearchResult.Title" />
<style name="TextAppearance.AppCompat.Light.SearchResult.Subtitle" parent="@style/TextAppearance.AppCompat.Light.Base.SearchResult.Subtitle" />
<style name="Widget.AppCompat.AutoCompleteTextView" parent="@style/Widget.AppCompat.Base.AutoCompleteTextView" />
<style name="Widget.AppCompat.Light.AutoCompleteTextView" parent="@style/Widget.AppCompat.Light.Base.AutoCompleteTextView" />
<style name="Widget.AppCompat.ActivityChooserView" parent="@style/Widget.AppCompat.Base.ActivityChooserView" />
<style name="Widget.AppCompat.Light.ActivityChooserView" parent="@style/Widget.AppCompat.Light.Base.ActivityChooserView" />
<style name="Widget.AppCompat.Base.ActionBar">
<item name="actionOverflowButtonStyle">@style/Widget.AppCompat.ActionButton.Overflow</item>
<item name="actionButtonStyle">@style/Widget.AppCompat.ActionButton</item>
<item name="height">?actionBarSize</item>
<item name="displayOptions">useLogo|showHome|showTitle</item>
<item name="titleTextStyle">@style/TextAppearance.AppCompat.Widget.ActionBar.Title</item>
<item name="subtitleTextStyle">@style/TextAppearance.AppCompat.Widget.ActionBar.Subtitle</item>
<item name="divider">?dividerVertical</item>
<item name="background">@drawable/abc_ab_transparent_dark_holo</item>
<item name="backgroundStacked">@drawable/abc_ab_stacked_transparent_dark_holo</item>
<item name="backgroundSplit">@drawable/abc_ab_bottom_transparent_dark_holo</item>
<item name="homeLayout">@layout/abc_action_bar_home</item>
<item name="progressBarStyle">@style/Widget.AppCompat.ProgressBar.Horizontal</item>
<item name="indeterminateProgressStyle">@style/Widget.AppCompat.ProgressBar</item>
</style>
<style name="Widget.AppCompat.Light.Base.ActionBar" parent="@style/Widget.AppCompat.Base.ActionBar">
<item name="actionOverflowButtonStyle">@style/Widget.AppCompat.Light.ActionButton.Overflow</item>
<item name="actionButtonStyle">@style/Widget.AppCompat.Light.ActionButton</item>
<item name="background">@drawable/abc_ab_transparent_light_holo</item>
<item name="backgroundStacked">@drawable/abc_ab_stacked_transparent_light_holo</item>
<item name="backgroundSplit">@drawable/abc_ab_bottom_transparent_light_holo</item>
<item name="progressBarStyle">@style/Widget.AppCompat.ProgressBar.Horizontal</item>
<item name="indeterminateProgressStyle">@style/Widget.AppCompat.ProgressBar</item>
</style>
<style name="Widget.AppCompat.Base.ActionBar.Solid" parent="@style/Widget.AppCompat.Base.ActionBar">
<item name="background">@drawable/abc_ab_solid_dark_holo</item>
<item name="backgroundStacked">@drawable/abc_ab_stacked_solid_dark_holo</item>
<item name="backgroundSplit">@drawable/abc_ab_bottom_solid_dark_holo</item>
</style>
<style name="Widget.AppCompat.Light.Base.ActionBar.Solid" parent="@style/Widget.AppCompat.Light.Base.ActionBar">
<item name="background">@drawable/abc_ab_solid_light_holo</item>
<item name="backgroundStacked">@drawable/abc_ab_stacked_solid_light_holo</item>
<item name="backgroundSplit">@drawable/abc_ab_bottom_solid_light_holo</item>
</style>
<style name="Widget.AppCompat.Light.Base.ActionBar.Solid.Inverse" parent="@style/Widget.AppCompat.Base.ActionBar.Solid">
<item name="actionOverflowButtonStyle">@style/Widget.AppCompat.ActionButton.Overflow</item>
<item name="actionButtonStyle">@style/Widget.AppCompat.ActionButton</item>
<item name="titleTextStyle">@style/TextAppearance.AppCompat.Widget.ActionBar.Title.Inverse</item>
<item name="subtitleTextStyle">@style/TextAppearance.AppCompat.Widget.ActionBar.Subtitle.Inverse</item>
</style>
<style name="Widget.AppCompat.Base.ActionButton">
<item name="android:gravity">center</item>
<item name="android:background">?actionBarItemBackground</item>
<item name="android:paddingLeft">12.0dip</item>
<item name="android:paddingRight">12.0dip</item>
<item name="android:minWidth">@dimen/abc_action_button_min_width</item>
<item name="android:minHeight">?actionBarSize</item>
<item name="android:maxLines">2</item>
<item name="textAllCaps">@bool/abc_config_actionMenuItemAllCaps</item>
</style>
错误发生在以下几行
中 <style name="Widget.AppCompat.Base.ActionBar">
这个
<style name="Theme.AppCompat.Base.CompactMenu">
请帮助我,我是一个新手,所以一步一步非常感谢!