fragment_download_diagnostics.xml 2.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <ScrollView 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. xmlns:tools="http://schemas.android.com/tools"
  7. android:fillViewport="true">
  8. <androidx.constraintlayout.widget.ConstraintLayout
  9. android:layout_width="match_parent"
  10. android:layout_height="wrap_content">
  11. <TextView
  12. android:id="@+id/download_wizard_diagnostics_title"
  13. android:text="@string/download_wizard_diagnostics"
  14. android:layout_width="wrap_content"
  15. android:layout_height="wrap_content"
  16. android:gravity="center_horizontal"
  17. android:textSize="20sp"
  18. android:layout_marginTop="20dp"
  19. android:layout_marginBottom="20dp"
  20. android:layout_marginStart="60dp"
  21. android:layout_marginEnd="60dp"
  22. app:layout_constraintStart_toStartOf="parent"
  23. app:layout_constraintEnd_toEndOf="parent"
  24. app:layout_constrainedWidth="true"
  25. app:layout_constraintTop_toTopOf="parent" />
  26. <ImageButton
  27. android:id="@+id/download_wizard_diagnostics_save"
  28. android:src="@drawable/ic_save_as_black"
  29. android:layout_margin="20dp"
  30. android:layout_width="24dp"
  31. android:layout_height="24dp"
  32. android:contentDescription="@string/download_wizard_diagnostics_save"
  33. app:tint="?attr/colorAccent"
  34. app:layout_constraintTop_toTopOf="parent"
  35. app:layout_constraintEnd_toEndOf="parent" />
  36. <TextView
  37. android:id="@+id/download_wizard_diagnostics_text"
  38. android:layout_width="match_parent"
  39. android:layout_height="wrap_content"
  40. android:padding="10dp"
  41. android:textIsSelectable="true"
  42. android:focusable="true"
  43. android:textSize="10sp"
  44. android:fontFamily="monospace"
  45. android:lineSpacingMultiplier="1.1"
  46. android:longClickable="true"
  47. app:layout_constraintTop_toBottomOf="@id/download_wizard_diagnostics_title"
  48. app:layout_constraintStart_toStartOf="parent"
  49. app:layout_constraintEnd_toEndOf="parent"
  50. app:layout_constraintBottom_toBottomOf="parent"
  51. tools:ignore="SmallSp" />
  52. </androidx.constraintlayout.widget.ConstraintLayout>
  53. </ScrollView>