我已经安装了一个插件,现在开始崩溃了我的Android Studio.有人知道Android Studio存储下载的插件文件的位置,所以我可以手动删除吗?
我刚刚开始创建Android应用程序,但我有一个问题更改layout,每次当我创建新的Android项目,它给了我RelativeLayout而不是LinearLayout,(好吧,基本上我遵循书的指令,但它不教我如何改变它)我假设必须有一个默认设置,以便我可以更改Relativelayout为LinearLayout.
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="match_parent" >
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_centerHorizontal="true"
android:layout_centerVertical="true"
android:text="@string/hello_world"
tools:context=".MainActivity" />
</RelativeLayout>
Run Code Online (Sandbox Code Playgroud) 我非常熟悉Android的RelativeLayout.但是,由于我已经更新了Android Studio(2.3),因此将ConstraintLayout设置为所有新项目的默认布局.
问题是:
我能够从这个答案中了解到调整:如何在Android Studio 2.3.3中从默认的ConstraintLayout切换到RelativeLayout
另外,请提供有关ConstraintLayout的任何有用信息,即.为什么在相对布局,关于ConstraintLayout的教程/帮助文本中使用它,以便我可以学习它.