Ви не можете вибрати більше 25 тем Теми мають розпочинатися з літери або цифри, можуть містити дефіси (-) і не повинні перевищувати 35 символів.

activity_show_ble.xml 2.2KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
  3. android:layout_width="match_parent"
  4. android:layout_height="match_parent"
  5. android:focusable="true"
  6. android:focusableInTouchMode="true"
  7. android:orientation="vertical">
  8. <LinearLayout
  9. android:layout_width="match_parent"
  10. android:layout_height="wrap_content"
  11. android:padding="10dp">
  12. <Button
  13. android:id="@+id/btn"
  14. android:layout_width="wrap_content"
  15. android:layout_height="wrap_content"
  16. android:text="@string/search" />
  17. <Button
  18. android:id="@+id/btn1"
  19. android:layout_width="wrap_content"
  20. android:layout_height="wrap_content"
  21. android:text="@string/stop" />
  22. <Button
  23. android:id="@+id/clear"
  24. android:layout_width="wrap_content"
  25. android:layout_height="wrap_content"
  26. android:text="@string/clear"
  27. />
  28. </LinearLayout>
  29. <LinearLayout
  30. android:layout_width="match_parent"
  31. android:layout_height="wrap_content"
  32. android:padding="5dp">
  33. <TextView
  34. android:layout_width="wrap_content"
  35. android:layout_height="wrap_content"
  36. android:text="名字:" />
  37. <EditText
  38. android:id="@+id/et_filter_name"
  39. android:layout_width="0dp"
  40. android:layout_height="wrap_content"
  41. android:layout_weight="1"
  42. android:padding="5dp"
  43. android:text="AiLink" />
  44. <TextView
  45. android:layout_width="wrap_content"
  46. android:layout_height="wrap_content"
  47. android:text="mac:" />
  48. <EditText
  49. android:id="@+id/et_filter_mac"
  50. android:layout_width="0dp"
  51. android:layout_height="wrap_content"
  52. android:layout_weight="1.5"
  53. android:digits="0123456789abcdefABCDEF"
  54. android:padding="5dp"
  55. android:text="" />
  56. </LinearLayout>
  57. <ListView
  58. android:id="@+id/listview"
  59. android:layout_width="match_parent"
  60. android:layout_height="match_parent"
  61. android:padding="10dp">
  62. </ListView>
  63. </LinearLayout>