mapview_location_poi.xml 6.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
  3. android:layout_width="match_parent"
  4. android:layout_height="match_parent"
  5. android:background="@color/lightgray"
  6. android:orientation="vertical" >
  7. <RelativeLayout
  8. android:layout_width="match_parent"
  9. android:layout_height="match_parent" >
  10. <LinearLayout
  11. android:id="@+id/llMLMain"
  12. android:layout_width="match_parent"
  13. android:layout_height="match_parent"
  14. android:orientation="vertical" >
  15. <FrameLayout
  16. android:layout_width="match_parent"
  17. android:layout_height="0dp"
  18. android:id="@+id/flayoutmap"
  19. android:layout_weight="1" >
  20. <com.baidu.mapapi.map.MapView
  21. android:id="@+id/mMapView"
  22. android:layout_width="match_parent"
  23. android:layout_height="match_parent"
  24. android:focusableInTouchMode="false"
  25. android:clickable="false" />
  26. <LinearLayout
  27. android:id="@+id/llLocationTipMain"
  28. android:layout_width="wrap_content"
  29. android:layout_height="150dp"
  30. android:layout_gravity="center"
  31. android:gravity="center_horizontal"
  32. android:orientation="vertical" >
  33. <LinearLayout
  34. android:layout_width="match_parent"
  35. android:layout_height="0dp"
  36. android:layout_weight="1"
  37. android:gravity="center"
  38. android:orientation="vertical" >
  39. <TextView
  40. android:id="@+id/tvShowLocation"
  41. android:layout_width="wrap_content"
  42. android:layout_height="wrap_content"
  43. android:background="@drawable/location_tips"
  44. android:ellipsize="end"
  45. android:gravity="center"
  46. android:singleLine="true"
  47. android:textColor="@color/white"
  48. android:textSize="12sp"
  49. android:textStyle="bold" />
  50. <ImageView
  51. android:id="@+id/ivLocationTip"
  52. android:layout_width="wrap_content"
  53. android:layout_height="wrap_content"
  54. android:layout_marginTop="-6dp"
  55. android:src="@drawable/icon_gcoding" />
  56. </LinearLayout>
  57. <LinearLayout
  58. android:layout_width="match_parent"
  59. android:layout_height="0dp"
  60. android:layout_weight="1"
  61. android:orientation="vertical" >
  62. </LinearLayout>
  63. </LinearLayout>
  64. <LinearLayout
  65. android:layout_width="wrap_content"
  66. android:layout_height="wrap_content"
  67. android:layout_gravity="right|bottom"
  68. android:layout_marginBottom="80dp"
  69. android:visibility="gone"
  70. android:layout_marginRight="10dp"
  71. android:orientation="vertical" >
  72. <Button
  73. android:id="@+id/btMapZoomIn"
  74. android:layout_width="38dp"
  75. android:layout_height="38dp"
  76. android:background="@drawable/selector_bt_map_jia" />
  77. <Button
  78. android:id="@+id/btMapZoomOut"
  79. android:layout_width="38dp"
  80. android:layout_height="38dp"
  81. android:background="@drawable/selector_bt_map_jian" />
  82. </LinearLayout>
  83. <ImageButton
  84. android:id="@+id/ibMLLocate"
  85. android:layout_width="40dp"
  86. android:layout_height="40dp"
  87. android:layout_gravity="right|bottom"
  88. android:layout_marginBottom="23dp"
  89. android:layout_marginRight="10dp"
  90. android:visibility="gone"
  91. android:background="@null"
  92. android:src="@drawable/selector_ib_locate" />
  93. </FrameLayout>
  94. <FrameLayout
  95. android:layout_width="match_parent"
  96. android:layout_height="0dp"
  97. android:layout_weight="0.6" >
  98. <ImageView
  99. android:id="@+id/ivMLPLoading"
  100. android:layout_width="64dp"
  101. android:layout_height="64dp"
  102. android:layout_gravity="center"
  103. android:src="@drawable/loadingmap01"
  104. android:visibility="gone" />
  105. <ListView
  106. android:id="@+id/lvPoiList"
  107. android:layout_width="match_parent"
  108. android:layout_height="match_parent"
  109. android:cacheColorHint="@color/blue"
  110. android:dividerHeight="2dp"
  111. android:fastScrollEnabled="true"
  112. android:scrollbars="none"
  113. android:scrollingCache="false"
  114. android:visibility="gone" >
  115. </ListView>
  116. </FrameLayout>
  117. </LinearLayout>
  118. <EditText
  119. android:id="@+id/etMLCityPoi"
  120. android:layout_width="match_parent"
  121. android:layout_height="36dp"
  122. android:layout_margin="10dp"
  123. android:background="@drawable/merchants_service_comment_edit_bg"
  124. android:drawableLeft="@drawable/circle_icon_box_04"
  125. android:drawablePadding="5dp"
  126. android:gravity="center_vertical"
  127. android:hint="搜索"
  128. android:padding="5dp"
  129. android:singleLine="true"
  130. android:textSize="16sp" />
  131. <ListView
  132. android:id="@+id/lvMLCityPoi"
  133. android:layout_width="match_parent"
  134. android:layout_height="match_parent"
  135. android:layout_below="@id/etMLCityPoi"
  136. android:layout_margin="5dp"
  137. android:cacheColorHint="@color/transparent"
  138. android:dividerHeight="2dp"
  139. android:fastScrollEnabled="true"
  140. android:scrollbars="none"
  141. android:scrollingCache="false"
  142. android:visibility="gone" >
  143. </ListView>
  144. </RelativeLayout>
  145. </LinearLayout>