简体   繁体   English

Android-Project 中没有 style.xml

[英]No style.xml in Android-Project

I created a project in Eclipse, worked a lot of in it and changed my IDE to Android-Studio.我在 Eclipse 中创建了一个项目,在其中做了很多工作,并将我的 IDE 更改为 Android-Studio。 Now I need to change some things in style.xml and found out, that i did not was generated.现在我需要更改 style.xml 中的一些内容并发现我没有生成。 It possible to let it generate now?现在可以让它生成吗?

PS: I added the library com.android.support:support-v13:22.1.1 to my project. PS:我在我的项目中添加了库 com.android.support:support-v13:22.1.1。

It could be under themes.xml它可能在 themes.xml 下

Here's a simple styles.xml template with my Activity extending AppCompatActivity这是一个简单的 style.xml 模板,我的 Activity 扩展了 AppCompatActivity

<resources>
    <style name="AppTheme" parent="Theme.AppCompat">
    </style>
</resources>

It's under res->values->styles.xml它在 res->values->styles.xml 下

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM