I want to create a divider, which would look exactly like a divider in ListView and will depend on a current theme.
<View android:id="@+id/first_line"
android:layout_width="match_parent"
android:layout_below="@+id/description"
android:layout_height="1dp"
android:layout_marginBottom="7dp"
android:layout_marginTop="7dp"
android:background="?attr/colorPrimaryDark"/>
Which attribute should I specify in this line android:background="attr/colorPrimaryDark"
to handle this?