map_view_google_layout.xml 1.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
  3. android:layout_width="fill_parent"
  4. android:layout_height="fill_parent"
  5. android:background="@color/main_bg_color" >
  6. <LinearLayout
  7. android:layout_width="fill_parent"
  8. android:layout_height="fill_parent"
  9. android:orientation="vertical" >
  10. <View
  11. android:layout_width="fill_parent"
  12. android:layout_height="44dip" />
  13. <FrameLayout
  14. android:layout_width="fill_parent"
  15. android:layout_height="fill_parent" >
  16. <com.google.android.maps.MapView
  17. android:id="@+id/google_mapView"
  18. android:layout_width="fill_parent"
  19. android:layout_height="fill_parent"
  20. android:apiKey="0TVBGrQ9mGhkXA6PTFRnITeXGke2SE51oOzK0pA"
  21. android:clickable="true" />
  22. <!-- Release -->
  23. <!-- android:apiKey="0TVBGrQ9mGhkXA6PTFRnITeXGke2SE51oOzK0pA" -->
  24. <!-- Debug -->
  25. <!-- android:apiKey="0TVBGrQ9mGhkjC2w_Ow2RSHA6lXe9u37NhkZtCQ" -->
  26. <ImageButton
  27. android:id="@+id/pinImageView"
  28. android:layout_width="wrap_content"
  29. android:layout_height="wrap_content"
  30. android:layout_gravity="center"
  31. android:background="#00000000"
  32. android:src="@drawable/pin" />
  33. </FrameLayout>
  34. </LinearLayout>
  35. </FrameLayout>