fragment_upload_file.xml 1.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940
  1. <?xml version="1.0" encoding="utf-8"?><!--
  2. ~ Copyright (C) 2018, Umbrella CompanyLimited All rights reserved.
  3. ~ Project:Net
  4. ~ Author:Drake
  5. ~ Date:4/17/20 7:38 AM
  6. -->
  7. <androidx.constraintlayout.widget.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android"
  8. xmlns:tools="http://schemas.android.com/tools"
  9. android:layout_width="match_parent"
  10. android:layout_height="match_parent"
  11. xmlns:app="http://schemas.android.com/apk/res-auto"
  12. tools:context=".ui.fragment.UploadFileFragment">
  13. <SeekBar
  14. android:id="@+id/seek"
  15. android:layout_width="match_parent"
  16. android:layout_height="wrap_content"
  17. android:layout_margin="16dp"
  18. android:gravity="center"
  19. android:text="等待下载完成"
  20. android:textSize="18dp"
  21. android:textStyle="bold"
  22. app:layout_constraintBottom_toBottomOf="parent"
  23. app:layout_constraintLeft_toLeftOf="parent"
  24. app:layout_constraintRight_toRightOf="parent"
  25. app:layout_constraintTop_toTopOf="parent"
  26. app:layout_constraintVertical_bias="0.5" />
  27. <TextView
  28. android:id="@+id/tv_progress"
  29. android:layout_width="wrap_content"
  30. android:layout_marginTop="16dp"
  31. android:layout_height="wrap_content"
  32. app:layout_constraintLeft_toLeftOf="@id/seek"
  33. app:layout_constraintRight_toRightOf="@id/seek"
  34. app:layout_constraintTop_toBottomOf="@id/seek"
  35. tools:text="上传进度: 90%" />
  36. </androidx.constraintlayout.widget.ConstraintLayout>