gpt4 book ai didi

android - 渲染问题 Android Studio Theme

转载 作者:太空狗 更新时间:2023-10-29 13:11:42 26 4
gpt4 key购买 nike

这个弹出窗口出现在我的布局中

Missing styles. Is the correct theme chosen for this layout?
Use the Theme combo box above the layout to choose a different layout, or fix the theme style references.

Failed to find '?attr/textEditSuggestionItemLayout' in current theme.
(12 similar errors not shown)
Tip: Try to refresh the layout.

这是我的 styles.xml

<resources>

<!--
Base application theme, dependent on API level. This theme is replaced
by AppBaseTheme from res/values-vXX/styles.xml on newer devices.
-->
<style name="AppBaseTheme" parent="android:Theme.Light">
<!--
Theme customizations available in newer API levels can go in
res/values-vXX/styles.xml, while customizations related to
backward-compatibility can go here.
-->
</style>

<!-- Application theme. -->
<style name="AppTheme" parent="AppBaseTheme">
<!-- All customizations that are NOT specific to a particular API-level can go here. -->
</style>

</resources>

我的错误是什么?

最佳答案

对于像 listviews 和其他类似的动态扩展 View ,有时会发生这种情况,只需运行代码它就可以正常工作。它通常对我来说很好用。如果它仍然存在,您可以随时转到:文件>使缓存无效并重新启动。

这就像 android studio 的 ctrl + alt + del。希望能帮助到你。 :D

关于android - 渲染问题 Android Studio Theme,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/39873436/

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