Android Studio无法正确显示布局 [英] Android studio isn`t showing layout properly
本文介绍了Android Studio无法正确显示布局的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我开始学习Java,然后考虑使用Android Studio.我在Ubuntu中安装了Android Studio,这就是向我展示的内容.
I started learning java and then thought about working with Android Studio. I installed Android Studio in Ubuntu and this is what it shows me.
有人可以帮我吗?
推荐答案
每当我在Android Studio中创建新项目时,都会遇到此问题,您要做的是转到styles.xml文件并更改以下行:
I have this problem whenever I create a new project in Android Studio, what you have to do is go to the styles.xml file and change the following line:
<style name = "AppTheme" parent = "Theme.AppCompat.Light.DarkActionBar">
并替换为:
<style name = "AppTheme" parent = "Base.Theme.AppCompat.Light.DarkActionBar">
这篇关于Android Studio无法正确显示布局的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文