Guest User

Untitled

a guest
Jan 23rd, 2016
122
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.78 KB | None | 0 0
  1. <!--<?xml version="1.0" encoding="utf-8"?>
  2. <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
  3. android:orientation="vertical"
  4. android:layout_width="match_parent"
  5. android:layout_height="match_parent"
  6. >
  7. <TextView android:id="@+id/title_paired_devices"
  8. android:layout_width="match_parent"
  9. android:layout_height="wrap_content"
  10. android:textAppearance="?android:attr/textAppearanceLarge"
  11. android:text="Select btSerial device from paired devices:"
  12. android:visibility="gone"
  13. android:background="#666"
  14. android:textColor="#fff"
  15. android:paddingLeft="5dp"
  16. />
  17. <ListView android:id="@+id/paired_devices"
  18. android:layout_width="match_parent"
  19. android:layout_height="wrap_content"
  20. android:stackFromBottom="false"
  21. android:layout_weight="1"
  22. />
  23.  
  24. <TextView
  25. android:id="@+id/connecting"
  26. android:layout_width="wrap_content"
  27. android:layout_height="wrap_content"
  28. android:textAppearance="?android:attr/textAppearanceLarge" />
  29.  
  30. <TextView
  31. android:id="@+id/infoText"
  32. android:layout_width="wrap_content"
  33. android:layout_height="wrap_content"
  34. android:text="If no devices are listed please pair your device in Android settings"
  35. android:textAppearance="?android:attr/textAppearanceLarge" />
  36.  
  37. <LinearLayout
  38. android:layout_width="match_parent"
  39. android:layout_height="wrap_content"
  40. android:gravity="center">
  41.  
  42. </LinearLayout>
  43.  
  44. </LinearLayout> -->
  45.  
  46. <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
  47. android:layout_width="fill_parent"
  48. android:layout_height="fill_parent"
  49. android:orientation="vertical">
  50.  
  51. <TextView
  52. android:id="@+id/testtest"
  53. android:layout_width="fill_parent"
  54. android:layout_height="wrap_content"
  55. android:text="String à envoyer :"
  56. android:textStyle="bold"
  57. android:textColor="#FF0000"
  58. android:gravity="center"
  59. />
  60. <EditText
  61. android:id="@+id/poids"
  62. android:layout_width="fill_parent"
  63. android:layout_height="wrap_content"
  64. android:hint="Entrez votre texte..."
  65. android:inputType="text"
  66. />
  67. <TextView
  68. android:layout_width="fill_parent"
  69. android:layout_height="wrap_content"
  70. android:text="Taille : "
  71. android:textStyle="bold"
  72. android:textColor="#FF0000"
  73. android:gravity="center"
  74. />
  75. <EditText
  76. android:id="@+id/taille"
  77. android:layout_width="fill_parent"
  78. android:layout_height="wrap_content"
  79. android:hint="Taille"
  80. android:inputType="numberDecimal"
  81. />
  82. <RadioGroup
  83. android:id="@+id/group"
  84. android:layout_width="wrap_content"
  85. android:layout_height="wrap_content"
  86. android:checkedButton="@+id/radio2"
  87. android:orientation="horizontal"
  88. >
  89. <RadioButton
  90. android:id="@+id/radio1"
  91. android:layout_width="wrap_content"
  92. android:layout_height="wrap_content"
  93. android:text="Mètre"
  94. />
  95. <RadioButton
  96. android:id="@+id/radio2"
  97. android:layout_width="wrap_content"
  98. android:layout_height="wrap_content"
  99. android:text="Centimètre"
  100. />
  101. </RadioGroup>
  102. <CheckBox
  103. android:id="@+id/mega"
  104. android:layout_width="wrap_content"
  105. android:layout_height="wrap_content"
  106. android:text="Mega fonction !"
  107. />
  108. <Button
  109. android:id="@+id/calcul"
  110. android:layout_width="wrap_content"
  111. android:layout_height="wrap_content"
  112. android:text="Connexion à l'arduino"
  113. android:layout_gravity="center"
  114. />
  115. <Button
  116. android:id="@+id/raz"
  117. android:layout_width="wrap_content"
  118. android:layout_height="wrap_content"
  119. android:text="Envoyer le string avec bluetooth"
  120. android:layout_gravity="center"
  121. />
  122. <TextView
  123. android:layout_width="wrap_content"
  124. android:layout_height="wrap_content"
  125. android:text="Résultat:"
  126. />
  127. <TextView
  128. android:id="@+id/result"
  129. android:layout_width="fill_parent"
  130. android:layout_height="fill_parent"
  131. android:text="En attente de données"
  132. />
  133. </LinearLayout>
Add Comment
Please, Sign In to add comment