Getting Binary XML file line #141: Attempt to invoke virtual method 'boolean java.lang.String.equals(java.lang.Object)' on a null object reference

 <view
                android:layout_width="match_parent"
                android:layout_height="1dp"/>

Change view to View (lowercase v to uppercase V)


please

         <view
            android:layout_width="match_parent"
            android:layout_height="1dp"/>  

Change to

        <View
            android:layout_width="match_parent"
            android:layout_height="1dp"/>