item_relation.xml 1.3 KB

1234567891011121314151617181920212223242526
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <androidx.constraintlayout.widget.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android"
  3. android:layout_width="match_parent"
  4. android:layout_height="wrap_content"
  5. xmlns:app="http://schemas.android.com/apk/res-auto">
  6. <CheckBox
  7. android:id="@+id/relationCb"
  8. android:layout_width="wrap_content"
  9. android:layout_height="wrap_content"
  10. android:text="当前设备"
  11. android:textSize="18sp"
  12. android:layout_marginTop="16dp"
  13. android:layout_marginStart="16dp"
  14. android:layout_marginBottom="16dp"
  15. app:layout_constraintStart_toStartOf="parent"
  16. app:layout_constraintTop_toTopOf="parent"
  17. app:layout_constraintBottom_toBottomOf="parent"
  18. />
  19. <View android:layout_width="0dp" android:layout_height="1dp"
  20. app:layout_constraintStart_toStartOf="@+id/relationCb"
  21. android:background="@color/black_272727"
  22. app:layout_constraintBottom_toBottomOf="parent"
  23. app:layout_constraintEnd_toEndOf="parent"
  24. android:layout_marginEnd="16dp"
  25. />
  26. </androidx.constraintlayout.widget.ConstraintLayout>