Advertisement
Limo

form.xml

Jul 1st, 2013
67
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.38 KB | None | 0 0
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <ScrollView xmlns:android="http://schemas.android.com/apk/res/android"
  3. android:layout_width="fill_parent"
  4. android:layout_height="fill_parent"
  5. android:background="#ffffffff" >
  6.  
  7. <LinearLayout
  8. android:layout_width="fill_parent"
  9. android:layout_height="fill_parent"
  10. android:orientation="vertical"
  11. android:padding="10dip" >
  12. <!-- View Title Label -->
  13. <TextView
  14. android:layout_width="fill_parent"
  15. android:layout_height="wrap_content"
  16. android:layout_marginBottom="10dip"
  17. android:text="TBFORM"
  18. android:textSize="25dip"
  19. android:textStyle="bold" />
  20. <TextView
  21. android:layout_width="fill_parent"
  22. android:layout_height="wrap_content"
  23. android:text="Patient Name" />
  24. <!-- Email TextField -->
  25. <EditText
  26. android:id="@+id/personuuid"
  27. android:layout_width="fill_parent"
  28. android:layout_height="wrap_content" />
  29. <!-- Password TextField -->
  30.  
  31. <!-- Password Label -->
  32.  
  33. <TextView
  34. android:layout_width="fill_parent"
  35. android:layout_height="wrap_content"
  36. android:layout_marginTop="15dip"
  37. android:text="Provider" />
  38.  
  39. <Spinner
  40. android:id="@+id/spinner2"
  41. android:layout_width="match_parent"
  42. android:layout_height="wrap_content"
  43. android:entries="@array/Provider" />
  44.  
  45. <TextView
  46. android:layout_width="fill_parent"
  47. android:layout_height="wrap_content"
  48. android:layout_marginTop="15dip"
  49. android:text="Location" />
  50.  
  51. <Spinner
  52. android:id="@+id/spinner3"
  53. android:layout_width="match_parent"
  54. android:layout_height="wrap_content"
  55. android:entries="@array/Locationid"/>
  56.  
  57. <TextView
  58. android:layout_width="fill_parent"
  59. android:layout_height="wrap_content"
  60. android:layout_marginTop="15dip"
  61. android:text="Date" />
  62. <!-- Password TextField -->
  63.  
  64. <!-- Password Label -->
  65.  
  66. <DatePicker
  67. android:id="@+id/datePicker1"
  68. android:layout_width="wrap_content"
  69. android:layout_height="wrap_content" />
  70.  
  71. <TextView
  72. android:layout_width="fill_parent"
  73. android:layout_height="wrap_content"
  74. android:layout_marginTop="15dip"
  75. android:text="SPUTUM FOR ACID FAST BACILLI" />
  76. <!-- Password TextField -->
  77. <!-- Error message -->
  78.  
  79. <!-- Login Button -->
  80.  
  81. <Spinner
  82. android:id="@+id/spinner1"
  83. android:layout_width="match_parent"
  84. android:layout_height="wrap_content"
  85. android:entries="@array/SPUTUMACIDBACILLI" />
  86.  
  87. <TextView
  88. android:id="@+id/textView1"
  89. android:layout_width="wrap_content"
  90. android:layout_height="wrap_content"
  91. android:text="Appearance Of Specimen"
  92. android:textAppearance="?android:attr/textAppearanceMedium" />
  93.  
  94. <Spinner
  95. android:id="@+id/spinner4"
  96. android:layout_width="match_parent"
  97. android:layout_height="wrap_content"
  98. android:entries="@array/Appearance" />
  99.  
  100. <Button
  101. android:id="@+id/button1"
  102. android:layout_width="288dp"
  103. android:layout_height="wrap_content"
  104. android:text="Refresh" />
  105.  
  106. <Button
  107. android:id="@+id/bn_post"
  108. android:layout_width="fill_parent"
  109. android:layout_height="wrap_content"
  110. android:layout_marginTop="20dip"
  111. android:onClick="sendFeedback"
  112. android:text="Submit" />
  113.  
  114. <!-- Link to Login Screen -->
  115.  
  116. <Button
  117. android:id="@+id/btnLinkToLoginScreen"
  118. android:layout_width="fill_parent"
  119. android:layout_height="wrap_content"
  120. android:layout_marginTop="40dip"
  121. android:background="@null"
  122. android:text="Go to Muzima"
  123. android:textColor="#21dbd4"
  124. android:textStyle="bold" />
  125. </LinearLayout>
  126.  
  127. </ScrollView>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement