activity_scan_device.xml 6.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162
  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. xmlns:tools="http://schemas.android.com/tools"
  5. android:layout_width="match_parent"
  6. android:layout_height="match_parent"
  7. tools:context=".views.ScanDeviceActivity">
  8. <LinearLayout
  9. android:layout_width="match_parent"
  10. android:layout_height="wrap_content"
  11. android:orientation="vertical">
  12. <LinearLayout
  13. android:id="@+id/matchListLayout"
  14. android:layout_width="match_parent"
  15. android:layout_height="wrap_content"
  16. android:layout_marginStart="8dp"
  17. android:layout_marginLeft="8dp"
  18. android:layout_marginTop="8dp"
  19. android:layout_marginEnd="8dp"
  20. android:layout_marginRight="8dp"
  21. android:orientation="vertical">
  22. <android.support.constraint.ConstraintLayout
  23. android:id="@+id/matchListToggle"
  24. android:layout_width="match_parent"
  25. android:layout_height="wrap_content">
  26. <com.joanzapata.iconify.widget.IconTextView
  27. android:id="@+id/matchListIcon"
  28. android:layout_width="wrap_content"
  29. android:layout_height="wrap_content"
  30. android:layout_marginStart="8dp"
  31. android:layout_marginLeft="8dp"
  32. android:layout_marginTop="8dp"
  33. android:layout_marginBottom="8dp"
  34. android:text="{fa-link}"
  35. app:layout_constraintBottom_toBottomOf="parent"
  36. app:layout_constraintStart_toStartOf="parent"
  37. app:layout_constraintTop_toTopOf="parent" />
  38. <TextView
  39. android:layout_width="wrap_content"
  40. android:layout_height="wrap_content"
  41. android:layout_marginStart="8dp"
  42. android:layout_marginLeft="8dp"
  43. android:layout_marginTop="8dp"
  44. android:layout_marginBottom="8dp"
  45. android:text="已配对"
  46. app:layout_constraintBottom_toBottomOf="parent"
  47. app:layout_constraintStart_toEndOf="@+id/matchListIcon"
  48. app:layout_constraintTop_toTopOf="parent" />
  49. <com.joanzapata.iconify.widget.IconTextView
  50. android:id="@+id/matchListArrow"
  51. android:layout_width="wrap_content"
  52. android:layout_height="wrap_content"
  53. android:layout_gravity="end"
  54. android:layout_marginTop="8dp"
  55. android:layout_marginBottom="8dp"
  56. android:text="{fa-chevron-down}"
  57. app:layout_constraintBottom_toBottomOf="parent"
  58. app:layout_constraintEnd_toEndOf="parent"
  59. app:layout_constraintTop_toTopOf="parent" />
  60. </android.support.constraint.ConstraintLayout>
  61. <cn.minbb.producttester.controls.FoldingLayout
  62. android:id="@+id/matchListFolding"
  63. android:layout_width="match_parent"
  64. android:layout_height="wrap_content"
  65. android:tag="main">
  66. <ListView
  67. android:id="@+id/matchList"
  68. android:layout_width="wrap_content"
  69. android:layout_height="wrap_content" />
  70. </cn.minbb.producttester.controls.FoldingLayout>
  71. </LinearLayout>
  72. <LinearLayout
  73. android:id="@+id/searchListLayout"
  74. android:layout_width="match_parent"
  75. android:layout_height="wrap_content"
  76. android:layout_marginStart="8dp"
  77. android:layout_marginLeft="8dp"
  78. android:layout_marginTop="8dp"
  79. android:layout_marginEnd="8dp"
  80. android:layout_marginRight="8dp"
  81. android:orientation="vertical">
  82. <android.support.constraint.ConstraintLayout
  83. android:id="@+id/searchListToggle"
  84. android:layout_width="match_parent"
  85. android:layout_height="wrap_content">
  86. <com.joanzapata.iconify.widget.IconTextView
  87. android:id="@+id/iconTextView2"
  88. android:layout_width="wrap_content"
  89. android:layout_height="wrap_content"
  90. android:layout_marginStart="8dp"
  91. android:layout_marginLeft="8dp"
  92. android:layout_marginTop="8dp"
  93. android:layout_marginBottom="8dp"
  94. android:text="{fa-unlink}"
  95. app:layout_constraintBottom_toBottomOf="parent"
  96. app:layout_constraintStart_toStartOf="parent"
  97. app:layout_constraintTop_toTopOf="parent" />
  98. <TextView
  99. android:layout_width="wrap_content"
  100. android:layout_height="wrap_content"
  101. android:layout_marginStart="8dp"
  102. android:layout_marginLeft="8dp"
  103. android:layout_marginTop="8dp"
  104. android:layout_marginBottom="8dp"
  105. android:text="搜索列表"
  106. app:layout_constraintBottom_toBottomOf="parent"
  107. app:layout_constraintStart_toEndOf="@+id/iconTextView2"
  108. app:layout_constraintTop_toTopOf="parent" />
  109. <com.joanzapata.iconify.widget.IconTextView
  110. android:id="@+id/searchListArrow"
  111. android:layout_width="wrap_content"
  112. android:layout_height="wrap_content"
  113. android:layout_gravity="end"
  114. android:layout_marginTop="8dp"
  115. android:layout_marginBottom="8dp"
  116. android:text="{fa-chevron-down}"
  117. app:layout_constraintBottom_toBottomOf="parent"
  118. app:layout_constraintEnd_toEndOf="parent"
  119. app:layout_constraintTop_toTopOf="parent" />
  120. </android.support.constraint.ConstraintLayout>
  121. <cn.minbb.producttester.controls.FoldingLayout
  122. android:id="@+id/searchListFolding"
  123. android:layout_width="match_parent"
  124. android:layout_height="wrap_content"
  125. android:tag="main">
  126. <ListView
  127. android:id="@+id/searchList"
  128. android:layout_width="wrap_content"
  129. android:layout_height="wrap_content" />
  130. </cn.minbb.producttester.controls.FoldingLayout>
  131. </LinearLayout>
  132. <View
  133. android:id="@+id/bottomLayout"
  134. android:layout_width="match_parent"
  135. android:layout_height="wrap_content"
  136. android:layout_marginTop="8dp" />
  137. </LinearLayout>
  138. </ScrollView>