Aturan horizontal di studio Android

<View
  android:layout_width="match_parent"
  android:layout_height="2dp"
  android:layout_marginTop="4dp"
  android:background="@android:color/darker_gray" />
Curious Civet