java.lang.RuntimeException: Unable to start activity ComponentInfo{com.example.fragmentbestpractice/com.example.fragmentbestpractice.NewsContentActivity}: android.view.InflateException: Binary XML file line #6: Binary XML file line #20: Attempt to invoke virtual method 'boolean java.lang.String.equals(java.lang.Object)' on a null object reference
当大V写成了小v后,编译不出错,但是会闪退.
<View android:layout_width="match_parent" android:layout_height="1dp" android:background="#000"> </View>