As mentioned in comment by Blackbelt, update view to View:
view
View
<View android:layout_width="1dp" android:layout_height="match_parent" android:background="@android:color/darker_gray"></View>
You must use View Instead view.