Android Studio -Unable to inflate view tag without class attribute Android Studio -Unable to inflate view tag without class attribute android android

Android Studio -Unable to inflate view tag without class attribute


As mentioned in comment by Blackbelt, update view to View:

<View    android:layout_width="1dp"    android:layout_height="match_parent"    android:background="@android:color/darker_gray"></View>


<View    android:layout_width="1dp"    android:layout_height="match_parent"    android:background="@android:color/darker_gray"></View>

You must use View Instead view.