deadman96385

button_xml

Nov 7th, 2017
223
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.68 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:layout_width="wrap_content"
  4. android:layout_height="wrap_content" >
  5.  
  6. <TableLayout
  7. android:id="@+id/TableLayout01"
  8. android:layout_width="wrap_content"
  9. android:layout_height="wrap_content" >
  10.  
  11. <TableRow
  12. android:id="@+id/TableRow01"
  13. android:layout_width="wrap_content"
  14. android:layout_height="wrap_content" >
  15.  
  16. <TextView
  17. android:id="@+id/TextView01"
  18. android:layout_width="wrap_content"
  19. android:layout_height="wrap_content"
  20. android:layout_marginLeft="3pt"
  21. android:text="@string/StrPattern" >
  22. </TextView>
  23.  
  24. <Spinner
  25. android:id="@+id/PatternSpinner"
  26. android:layout_width="wrap_content"
  27. android:layout_height="wrap_content" >
  28. </Spinner>
  29. </TableRow>
  30.  
  31. <TableRow
  32. android:id="@+id/TableRow02"
  33. android:layout_width="wrap_content"
  34. android:layout_height="wrap_content" >
  35.  
  36. <TextView
  37. android:id="@+id/TextView02"
  38. android:layout_width="wrap_content"
  39. android:layout_height="wrap_content"
  40. android:layout_marginLeft="3pt"
  41. android:text="@string/StrChannel" >
  42. </TextView>
  43.  
  44. <Spinner
  45. android:id="@+id/ChannelsSpinner"
  46. android:layout_width="wrap_content"
  47. android:layout_height="wrap_content" >
  48. </Spinner>
  49. </TableRow>
  50.  
  51. <TableRow
  52. android:id="@+id/TableRow03"
  53. android:layout_width="wrap_content"
  54. android:layout_height="wrap_content" >
  55.  
  56. <TextView
  57. android:id="@+id/FreqText"
  58. android:layout_width="wrap_content"
  59. android:layout_height="wrap_content"
  60. android:layout_marginLeft="3pt"
  61. android:text="@string/StrFrequency" >
  62. </TextView>
  63.  
  64. <EditText
  65. android:id="@+id/edtFrequency"
  66. android:layout_width="wrap_content"
  67. android:layout_height="wrap_content"
  68. android:maxLength="10"
  69. android:numeric="integer"
  70. android:singleLine="true"
  71. android:text="@string/emptyStr" >
  72. </EditText>
  73. </TableRow>
  74.  
  75. <TableRow
  76. android:id="@+id/TableRow04"
  77. android:layout_width="wrap_content"
  78. android:layout_height="wrap_content" >
  79.  
  80. <TextView
  81. android:id="@+id/TextView04"
  82. android:layout_width="wrap_content"
  83. android:layout_height="wrap_content"
  84. android:layout_marginLeft="3pt"
  85. android:text="@string/StrPocketType" >
  86. </TextView>
  87.  
  88. <Spinner
  89. android:id="@+id/PocketTypeSpinner"
  90. android:layout_width="wrap_content"
  91. android:layout_height="wrap_content" >
  92. </Spinner>
  93. </TableRow>
  94.  
  95. <TableRow
  96. android:id="@+id/TableRow05"
  97. android:layout_width="wrap_content"
  98. android:layout_height="wrap_content" >
  99.  
  100. <TextView
  101. android:id="@+id/PockLenText"
  102. android:layout_width="wrap_content"
  103. android:layout_height="wrap_content"
  104. android:layout_marginLeft="3pt"
  105. android:text="@string/StrPocketLength" >
  106. </TextView>
  107.  
  108. <EditText
  109. android:id="@+id/edtPocketLength"
  110. android:layout_width="wrap_content"
  111. android:layout_height="wrap_content"
  112. android:maxLength="10"
  113. android:singleLine="true"
  114. android:numeric="integer"
  115. android:text="@string/emptyStr" >
  116. </EditText>
  117. </TableRow>
  118. </TableLayout>
  119.  
  120. <Button
  121. android:id="@+id/donebutton"
  122. android:layout_width="wrap_content"
  123. android:layout_height="wrap_content"
  124. android:text="@string/menu_done"
  125. android:textAppearance="?android:attr/textAppearanceMedium" >
  126. </Button>
  127.  
  128. <Button
  129. android:id="@+id/revertbutton"
  130. android:layout_width="wrap_content"
  131. android:layout_height="wrap_content"
  132. android:text="@string/menu_doNotSave"
  133. android:textAppearance="?android:attr/textAppearanceMedium" >
  134. </Button>
  135. </LinearLayout>
Advertisement
Add Comment
Please, Sign In to add comment