在EClipse环境中变下android程序 在LayOut文件夹下建立了一个文件frag-ment_main.xml
然后添加如下代码:
<LinearLayout
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"
android:orientation="horizontal">
</LinearLayout>
出现
permature end of file
全部保存一遍即可消失。