修改默认为LinearLayout布局
D:\360Downloads\adt-bundle-windows-x86-20130522\sdk\tools\templates\activities\BlankActivity\root\res\layout\activity_simple.xml.ftl(activity_simple_xml.ftl源文件保存在360云盘的software中)
<LinearLayout
xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
android:orientation="vertical"
android:layout_width=<#if buildApi lt 8 >"fill_parent"<#else>"fill_parent"</#if>
android:layout_height=<#if buildApi lt 8 >"fill_parent"<#else>"fill_parent"</#if> >
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="@string/hello_world"
tools:context=".${activityClass}" />
</LinearLayout>
D:\360Downloads\adt-bundle-windows-x86-20130522\sdk\tools\templates\activities\BlankActivity\root\res\layout\activity_simple.xml.ftl(activity_simple_xml.ftl源文件保存在360云盘的software中)
<LinearLayout
xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
android:orientation="vertical"
android:layout_width=<#if buildApi lt 8 >"fill_parent"<#else>"fill_parent"</#if>
android:layout_height=<#if buildApi lt 8 >"fill_parent"<#else>"fill_parent"</#if> >
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="@string/hello_world"
tools:context=".${activityClass}" />
</LinearLayout>