Advertisement
Guest User

Untitled

a guest
Aug 21st, 2017
67
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.73 KB | None | 0 0
  1. <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
  2. xmlns:ads="http://schemas.android.com/apk/res-auto"
  3. xmlns:tools="http://schemas.android.com/tools"
  4. android:layout_width="match_parent"
  5. android:layout_height="match_parent"
  6. android:orientation="vertical">
  7.  
  8. <EditText
  9. android:id="@+id/query_field"
  10. android:layout_width="match_parent"
  11. android:layout_height="wrap_content"
  12. android:hint="Search for tweets here..." />
  13.  
  14. <RelativeLayout
  15. android:layout_width="match_parent"
  16. android:layout_height="wrap_content">
  17.  
  18. <fragment xmlns:android="http://schemas.android.com/apk/res/android"
  19. xmlns:tools="http://schemas.android.com/tools"
  20. xmlns:map="http://schemas.android.com/apk/res-auto"
  21. android:id="@+id/map"
  22. android:name="com.google.android.gms.maps.SupportMapFragment"
  23. android:layout_width="match_parent"
  24. android:layout_height="wrap_content"
  25. tools:context=".MapsActivity"
  26. tools:layout="@layout/test"
  27. map:uiZoomControls="false"
  28. />
  29.  
  30. <ProgressBar
  31. android:id="@+id/map_progress"
  32. android:layout_width="wrap_content"
  33. android:layout_height="wrap_content"
  34. android:layout_centerInParent="true"
  35. android:indeterminate="true"
  36. android:visibility="gone" />
  37.  
  38. </RelativeLayout>
  39.  
  40. <com.google.android.gms.ads.AdView
  41. android:id="@+id/list_ad_map"
  42. android:layout_width="match_parent"
  43. android:layout_height="wrap_content"
  44. android:layout_alignParentBottom="true"
  45. ads:adSize="SMART_BANNER"
  46. ads:adUnitId="@string/ad_unit"
  47. />
  48.  
  49. <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
  50. xmlns:ads="http://schemas.android.com/apk/res-auto"
  51. xmlns:tools="http://schemas.android.com/tools"
  52. android:layout_width="match_parent"
  53. android:layout_height="match_parent"
  54. android:orientation="vertical">
  55.  
  56. <EditText
  57. android:id="@+id/query_field"
  58. android:layout_width="match_parent"
  59. android:layout_height="wrap_content"
  60. android:hint="Search for tweets here..." />
  61.  
  62. <RelativeLayout
  63. android:layout_width="match_parent"
  64. android:layout_height="0dp"
  65. android:layout_weight="1">
  66.  
  67. <fragment xmlns:android="http://schemas.android.com/apk/res/android"
  68. xmlns:tools="http://schemas.android.com/tools"
  69. xmlns:map="http://schemas.android.com/apk/res-auto"
  70. android:id="@+id/map"
  71. android:name="com.google.android.gms.maps.SupportMapFragment"
  72. android:layout_width="fill_parent"
  73. android:layout_height="fill_parent"
  74. tools:context=".MapsActivity"
  75. tools:layout="@layout/test"
  76. />
  77.  
  78. <ProgressBar
  79. android:id="@+id/map_progress"
  80. android:layout_width="wrap_content"
  81. android:layout_height="wrap_content"
  82. android:layout_centerInParent="true"
  83. android:indeterminate="true"
  84. android:visibility="gone" />
  85.  
  86. </RelativeLayout>
  87.  
  88. <com.google.android.gms.ads.AdView
  89. android:id="@+id/list_ad_map"
  90. android:layout_width="match_parent"
  91. android:layout_height="wrap_content"
  92. ads:adSize="SMART_BANNER"
  93. ads:adUnitId="ca-app-pub-XXXXXX"
  94. />
  95.  
  96. <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
  97. xmlns:ads="http://schemas.android.com/apk/res-auto"
  98. xmlns:tools="http://schemas.android.com/tools"
  99. android:layout_width="match_parent"
  100. android:layout_height="match_parent"
  101. android:orientation="vertical" >
  102.  
  103. <EditText
  104. android:id="@+id/query_field"
  105. android:layout_width="match_parent"
  106. android:layout_height="wrap_content"
  107. android:hint="Search for tweets here..." />
  108.  
  109. <com.google.android.gms.ads.AdView
  110. android:id="@+id/list_ad_map"
  111. android:layout_width="match_parent"
  112. android:layout_height="wrap_content"
  113. android:layout_alignParentBottom="true"
  114. ads:adSize="SMART_BANNER"
  115. ads:adUnitId="@string/ad_unit" />
  116.  
  117. <RelativeLayout
  118. android:layout_width="match_parent"
  119. android:layout_height="wrap_content"
  120. android:layout_weight="1"
  121. android:layout_above="@+id/list_ad_map">
  122.  
  123. <fragment
  124. xmlns:android="http://schemas.android.com/apk/res/android"
  125. xmlns:tools="http://schemas.android.com/tools"
  126. xmlns:map="http://schemas.android.com/apk/res-auto"
  127. android:id="@+id/map"
  128. android:name="com.google.android.gms.maps.SupportMapFragment"
  129. android:layout_width="match_parent"
  130. android:layout_height="wrap_content"
  131. map:uiZoomControls="false"
  132. tools:context=".MapsActivity"
  133. tools:layout="@layout/test" />
  134.  
  135. <ProgressBar
  136. android:id="@+id/map_progress"
  137. android:layout_width="wrap_content"
  138. android:layout_height="wrap_content"
  139. android:layout_centerInParent="true"
  140. android:indeterminate="true"
  141. android:visibility="gone" />
  142. </RelativeLayout>
  143. </RelativeLayout>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement