fragment_exception_handle.xml 3.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <RelativeLayout 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. android:layout_width="match_parent"
  6. android:layout_height="match_parent"
  7. tools:context=".view.fragment.ExceptionHandleFragment">
  8. <com.grkj.iscs_mc.view.widget.TitleBar
  9. android:id="@+id/tb"
  10. android:layout_width="match_parent"
  11. android:layout_height="wrap_content"
  12. app:bar_icon="@mipmap/exception"
  13. app:bar_title="@string/exception_handle" />
  14. <androidx.constraintlayout.widget.ConstraintLayout
  15. android:id="@+id/rl_bar"
  16. android:layout_width="match_parent"
  17. android:layout_height="wrap_content"
  18. android:layout_alignParentBottom="true">
  19. <com.grkj.iscs_mc.view.widget.CommonBtn
  20. android:id="@+id/cb_close"
  21. android:layout_width="wrap_content"
  22. android:layout_height="wrap_content"
  23. app:btn_bg="@drawable/common_btn_blue_bg"
  24. app:btn_name="@string/close"
  25. app:layout_constraintRight_toRightOf="parent"
  26. app:layout_constraintTop_toTopOf="parent" />
  27. <com.grkj.iscs_mc.view.widget.CommonBtn
  28. android:id="@+id/cb_open"
  29. android:layout_width="wrap_content"
  30. android:layout_height="wrap_content"
  31. android:layout_marginRight="@dimen/common_spacing"
  32. app:btn_bg="@drawable/common_btn_red_bg"
  33. app:btn_name="@string/open_cabinet"
  34. app:layout_constraintBottom_toBottomOf="parent"
  35. app:layout_constraintRight_toLeftOf="@id/cb_close" />
  36. <com.grkj.iscs_mc.view.widget.CommonBtn
  37. android:id="@+id/cb_report"
  38. android:layout_width="wrap_content"
  39. android:layout_height="wrap_content"
  40. app:btn_bg="@drawable/common_btn_red_bg"
  41. app:btn_name="@string/exception_report"
  42. app:layout_constraintBottom_toBottomOf="parent"
  43. app:layout_constraintLeft_toLeftOf="parent" />
  44. <ImageView
  45. android:id="@+id/iv_icon"
  46. android:layout_width="@dimen/common_icon_size_big"
  47. android:layout_height="@dimen/common_icon_size_big"
  48. android:layout_marginVertical="2dp"
  49. android:layout_marginLeft="@dimen/common_spacing"
  50. android:background="@mipmap/settings"
  51. app:layout_constraintBottom_toBottomOf="parent"
  52. app:layout_constraintLeft_toRightOf="@id/cb_report"
  53. app:layout_constraintTop_toTopOf="parent" />
  54. <TextView
  55. style="@style/CommonTextView"
  56. android:layout_marginLeft="@dimen/common_spacing_small"
  57. app:layout_constraintBottom_toBottomOf="parent"
  58. app:layout_constraintLeft_toRightOf="@id/iv_icon"
  59. app:layout_constraintTop_toTopOf="parent" />
  60. </androidx.constraintlayout.widget.ConstraintLayout>
  61. <RelativeLayout
  62. android:layout_width="match_parent"
  63. android:layout_height="match_parent"
  64. android:layout_above="@id/rl_bar"
  65. android:layout_below="@id/tb"
  66. android:layout_marginVertical="@dimen/common_spacing"
  67. android:background="@drawable/item_rv_technology_sop_bg_normal"
  68. android:padding="@dimen/common_spacing_small">
  69. <androidx.recyclerview.widget.RecyclerView
  70. android:id="@+id/rv_exception"
  71. style="@style/CommonRecyclerView" />
  72. </RelativeLayout>
  73. </RelativeLayout>