android 写布局的时候注意大小写

<View
    android:layout_marginLeft="15dp"
    android:layout_width="match_parent"
    android:layout_height="1px"
    android:background="#e7e7e7"/>
<view
    android:layout_marginLeft="15dp"
    android:layout_width="match_parent"
    android:layout_height="1px"
    android:background="#e7e7e7"/>
上面那个大写加粗的V和小写的v都可以编译打包不报错,但是运行就报错了,以后写布局注意些.

猜你喜欢

转载自blog.csdn.net/bnkrd/article/details/79396822