fragment_scanwifi_permission.xml 1.2 KB

123456789101112131415161718192021222324252627282930
  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:layout_width="match_parent"
  5. android:layout_height="match_parent"
  6. android:background="@android:color/white">
  7. <LinearLayout
  8. android:layout_width="wrap_content"
  9. android:layout_height="wrap_content"
  10. android:orientation="vertical"
  11. app:layout_constraintBottom_toBottomOf="parent"
  12. app:layout_constraintEnd_toEndOf="parent"
  13. app:layout_constraintStart_toStartOf="parent"
  14. app:layout_constraintTop_toTopOf="parent">
  15. <ImageView
  16. android:layout_width="200dp"
  17. android:layout_height="300dp"
  18. android:src="@drawable/wifi_permission" />
  19. <Button
  20. android:id="@+id/btn_open"
  21. android:layout_width="wrap_content"
  22. android:layout_height="wrap_content"
  23. android:layout_gravity="center_horizontal"
  24. android:layout_marginVertical="16dp"
  25. android:text="去打开" />
  26. </LinearLayout>
  27. </androidx.constraintlayout.widget.ConstraintLayout>