布局xml文件不能预览

原因:xml文件里,有一些值没有设置属性。

如:

                <LinearLayout      
                    android:layout_width="fill_parent"
                    android:layout_height="wrap_content"
                    android:gravity=""
                    android:orientation="horizontal"
                    android:layout_marginTop="10dip">

原文地址:https://www.cnblogs.com/zmc/p/3668073.html