Issue
Is it posible to make design adjustments to android Fragment, so that maps look like this?
Solution
So, youll need to add something like this:
<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="match_parent">
<com.google.android.gms.maps.MapView
android:id="@+id/map"
android:layout_width="match_parent"
android:layout_height="match_parent" />
<ImageView
android:layout_width="match_parent"
android:layout_height="match_parent"
android:scaleType="fitXY"
android:src="@drawable/map_white_overlay" />
</RelativeLayout>
Where @drawable/map_white_overlay will be your white fade image. Ask designer to get it from his psd or try to get it yourself somehow.
As for map style, from google-play-service 9.6.0 you can style your map using this link
Answered By - Miljan Vulovic
0 comments:
Post a Comment
Note: Only a member of this blog may post a comment.