Vous ne pouvez pas sélectionner plus de 25 sujets Les noms de sujets doivent commencer par une lettre ou un nombre, peuvent contenir des tirets ('-') et peuvent comporter jusqu'à 35 caractères.

activity_main.xml 2.8KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <LinearLayout
  3. xmlns:android="http://schemas.android.com/apk/res/android"
  4. xmlns:app="http://schemas.android.com/apk/res-auto"
  5. android:layout_width="match_parent"
  6. android:layout_height="match_parent"
  7. android:orientation="vertical"
  8. >
  9. <TextView
  10. android:id="@+id/tv_app_version"
  11. android:layout_width="match_parent"
  12. android:layout_height="wrap_content"
  13. android:text="@string/version"
  14. android:padding="10dp"
  15. />
  16. <LinearLayout
  17. android:layout_width="match_parent"
  18. android:layout_height="wrap_content"
  19. android:layout_margin="10dp"
  20. >
  21. <Button
  22. android:id="@+id/btn_sphy"
  23. android:layout_width="wrap_content"
  24. android:layout_height="wrap_content"
  25. android:text="血压计"
  26. />
  27. <Button
  28. android:id="@+id/btn_tempgun"
  29. android:layout_width="wrap_content"
  30. android:layout_height="wrap_content"
  31. android:text="额温枪"
  32. />
  33. <Button
  34. android:id="@+id/btn_temp"
  35. android:layout_width="wrap_content"
  36. android:layout_height="wrap_content"
  37. android:text="体温计"
  38. />
  39. <Button
  40. android:id="@+id/btn_baby"
  41. android:layout_width="wrap_content"
  42. android:layout_height="wrap_content"
  43. android:text="婴儿秤"
  44. />
  45. </LinearLayout>
  46. <LinearLayout
  47. android:layout_width="match_parent"
  48. android:layout_height="wrap_content"
  49. android:layout_margin="10dp"
  50. >
  51. <Button
  52. android:id="@+id/btn_height"
  53. android:layout_width="wrap_content"
  54. android:layout_height="wrap_content"
  55. android:text="身高仪"
  56. />
  57. <Button
  58. android:id="@+id/btn_ad_weight"
  59. android:layout_width="wrap_content"
  60. android:layout_height="wrap_content"
  61. android:text="艾迪体脂秤"
  62. />
  63. </LinearLayout>
  64. <LinearLayout
  65. android:layout_width="match_parent"
  66. android:layout_margin="10dp"
  67. android:layout_height="wrap_content">
  68. <Button
  69. android:id="@+id/btn_wifi_ble_weight"
  70. android:layout_width="wrap_content"
  71. android:layout_height="wrap_content"
  72. android:text="WiFi+Ble体脂秤"
  73. />
  74. </LinearLayout>
  75. <LinearLayout
  76. android:layout_width="match_parent"
  77. android:layout_height="wrap_content"
  78. android:layout_margin="10dp"
  79. >
  80. <Button
  81. android:id="@+id/btn_ble"
  82. android:layout_width="wrap_content"
  83. android:layout_height="wrap_content"
  84. android:text="Ble通用设置"
  85. />
  86. </LinearLayout>
  87. </LinearLayout>