song_view.xml 1.3KB

123456789101112131415161718192021222324252627282930313233343536
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <androidx.constraintlayout.widget.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android"
  3. xmlns:app="http://schemas.android.com/apk/res-auto"
  4. android:orientation="vertical"
  5. android:layout_width="match_parent"
  6. android:layout_height="wrap_content"
  7. android:layout_marginTop="8dp"
  8. android:layout_marginStart="8dp"
  9. android:layout_marginEnd="8dp"
  10. >
  11. <TextView
  12. android:id="@+id/item"
  13. android:layout_width="match_parent"
  14. android:layout_height="wrap_content"
  15. android:textSize="16sp"
  16. app:layout_constraintTop_toTopOf="parent"
  17. app:layout_constraintBottom_toTopOf="@id/divider"
  18. app:layout_constraintStart_toStartOf="parent"
  19. app:layout_constraintEnd_toEndOf="parent"
  20. />
  21. <View
  22. android:id="@+id/divider"
  23. android:layout_width="match_parent"
  24. android:layout_height="1dp"
  25. android:background="?android:attr/listDivider"
  26. app:layout_constraintTop_toBottomOf="@id/item"
  27. app:layout_constraintStart_toStartOf="parent"
  28. app:layout_constraintBottom_toBottomOf="parent"
  29. app:layout_constraintEnd_toEndOf="parent"
  30. android:layout_marginTop="8dp"
  31. />
  32. </androidx.constraintlayout.widget.ConstraintLayout>