Advertisement
Ola_Mundo

content_addtreepg2.xml

Jul 1st, 2016
73
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.77 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="wrap_content"
  5. android:orientation="vertical"
  6. android:padding="10dp"
  7. android:fillViewport="false">
  8.  
  9. <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
  10. android:orientation="vertical" android:layout_width="fill_parent"
  11. android:layout_height="match_parent"
  12. android:weightSum="1">
  13.  
  14. <TextView
  15. android:layout_width="wrap_content"
  16. android:layout_height="wrap_content"
  17. android:textAppearance="?android:attr/textAppearanceMedium"
  18. android:text="Cidade:"
  19. android:id="@+id/lblCidade" />
  20.  
  21. <Spinner
  22. android:layout_width="match_parent"
  23. android:layout_height="wrap_content"
  24. android:id="@+id/spnCidade" />
  25.  
  26. <TextView
  27. android:layout_width="wrap_content"
  28. android:layout_height="wrap_content"
  29. android:textAppearance="?android:attr/textAppearanceMedium"
  30. android:text="Bairro:"
  31. android:id="@+id/lblBairro"
  32. android:layout_marginTop="10dp" />
  33.  
  34. <Spinner
  35. android:layout_width="match_parent"
  36. android:layout_height="wrap_content"
  37. android:id="@+id/spnBairro" />
  38.  
  39. <TextView
  40. android:layout_width="wrap_content"
  41. android:layout_height="wrap_content"
  42. android:textAppearance="?android:attr/textAppearanceMedium"
  43. android:text="Rua:"
  44. android:id="@+id/lblRua"
  45. android:layout_marginTop="10dp" />
  46.  
  47. <Spinner
  48. android:layout_width="match_parent"
  49. android:layout_height="wrap_content"
  50. android:id="@+id/spnRua" />
  51.  
  52. <TextView
  53. android:layout_width="wrap_content"
  54. android:layout_height="wrap_content"
  55. android:textAppearance="?android:attr/textAppearanceMedium"
  56. android:text="Nรบmero:"
  57. android:id="@+id/lblNumero"
  58. android:layout_marginTop="10dp" />
  59.  
  60. <EditText
  61. android:layout_width="match_parent"
  62. android:layout_height="wrap_content"
  63. android:inputType="number"
  64. android:ems="10"
  65. android:id="@+id/editNumero" />
  66.  
  67. <TextView
  68. android:layout_width="wrap_content"
  69. android:layout_height="wrap_content"
  70. android:textAppearance="?android:attr/textAppearanceMedium"
  71. android:text="Latitude:"
  72. android:id="@+id/lblLatitude"
  73. android:layout_marginTop="10dp" />
  74.  
  75. <EditText
  76. android:layout_width="match_parent"
  77. android:layout_height="wrap_content"
  78. android:inputType="numberDecimal"
  79. android:ems="10"
  80. android:id="@+id/editLatitude" />
  81.  
  82. <TextView
  83. android:layout_width="wrap_content"
  84. android:layout_height="wrap_content"
  85. android:textAppearance="?android:attr/textAppearanceMedium"
  86. android:text="Longitude:"
  87. android:id="@+id/lblLongitude"
  88. android:layout_marginTop="10dp" />
  89.  
  90. <EditText
  91. android:layout_width="match_parent"
  92. android:layout_height="wrap_content"
  93. android:inputType="numberDecimal"
  94. android:ems="10"
  95. android:id="@+id/editLongitude" />
  96.  
  97. <Space
  98. android:layout_width="match_parent"
  99. android:layout_height="wrap_content"
  100. android:layout_gravity="center_horizontal"
  101. android:layout_marginTop="45dp" />
  102.  
  103. </LinearLayout>
  104. </ScrollView>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement