学考乐离线App
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

inc_over_number.xml 2.9KB

2 years ago
2 years ago
12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <layout xmlns:android="http://schemas.android.com/apk/res/android"
  3. xmlns:app="http://schemas.android.com/apk/res-auto"
  4. xmlns:tools="http://schemas.android.com/tools">
  5. <data>
  6. </data>
  7. <androidx.constraintlayout.widget.ConstraintLayout
  8. android:layout_width="wrap_content"
  9. android:layout_height="wrap_content"
  10. tools:showIn="@layout/dialog_lesson_learn">
  11. <androidx.constraintlayout.widget.Guideline
  12. android:id="@+id/guideline_1"
  13. android:layout_width="wrap_content"
  14. android:layout_height="wrap_content"
  15. android:orientation="vertical"
  16. app:layout_constraintGuide_percent="0.5" />
  17. <TextView
  18. android:id="@+id/tv_correct_tip"
  19. android:layout_width="wrap_content"
  20. android:layout_height="wrap_content"
  21. android:layout_marginTop="8dp"
  22. android:layout_marginRight="28dp"
  23. android:text="@string/correct"
  24. android:textColor="@color/main_text_color"
  25. android:textSize="@dimen/smallerSize"
  26. app:layout_constraintEnd_toEndOf="@+id/guideline_1"
  27. app:layout_constraintTop_toTopOf="parent" />
  28. <TextView
  29. android:id="@+id/tv_error_tip"
  30. android:layout_width="wrap_content"
  31. android:layout_height="wrap_content"
  32. android:layout_marginStart="28dp"
  33. android:layout_marginTop="8dp"
  34. android:text="@string/error"
  35. android:textColor="@color/gray_2"
  36. android:textSize="@dimen/smallerSize"
  37. app:layout_constraintStart_toEndOf="@+id/guideline_1"
  38. app:layout_constraintTop_toTopOf="parent" />
  39. <TextView
  40. android:id="@+id/tv_correct_number"
  41. android:layout_width="wrap_content"
  42. android:layout_height="wrap_content"
  43. android:layout_marginTop="4dp"
  44. android:textColor="@color/green_1"
  45. android:textSize="@dimen/bigSize"
  46. android:textStyle="bold"
  47. app:layout_constraintEnd_toEndOf="@+id/tv_correct_tip"
  48. app:layout_constraintStart_toStartOf="@+id/tv_correct_tip"
  49. app:layout_constraintTop_toBottomOf="@+id/tv_correct_tip"
  50. tools:text="20" />
  51. <TextView
  52. android:id="@+id/tv_error_number"
  53. android:layout_width="wrap_content"
  54. android:layout_height="wrap_content"
  55. android:layout_marginTop="4dp"
  56. android:textColor="@color/red_1"
  57. android:textSize="@dimen/bigSize"
  58. android:textStyle="bold"
  59. app:layout_constraintEnd_toEndOf="@+id/tv_error_tip"
  60. app:layout_constraintStart_toStartOf="@+id/tv_error_tip"
  61. app:layout_constraintTop_toBottomOf="@+id/tv_error_tip"
  62. tools:text="0" />
  63. </androidx.constraintlayout.widget.ConstraintLayout>
  64. </layout>