[android] #4912 - remove lollipop attribute from background drawable, made default bg color white, revert default color to TRANSPARENT when reading attributes.
This commit is contained in:
@@ -174,7 +174,7 @@ public class MapboxMapOptions implements Parcelable {
|
||||
|
||||
mapboxMapOptions.locationEnabled(typedArray.getBoolean(R.styleable.MapView_my_location_enabled, false));
|
||||
mapboxMapOptions.myLocationForegroundTintColor(typedArray.getColor(R.styleable.MapView_my_location_foreground_tint, Color.TRANSPARENT));
|
||||
mapboxMapOptions.myLocationBackgroundTintColor(typedArray.getColor(R.styleable.MapView_my_location_background_tint, Color.WHITE));
|
||||
mapboxMapOptions.myLocationBackgroundTintColor(typedArray.getColor(R.styleable.MapView_my_location_background_tint, Color.TRANSPARENT));
|
||||
|
||||
Drawable foregroundDrawable = typedArray.getDrawable(R.styleable.MapView_my_location_foreground);
|
||||
if(foregroundDrawable==null){
|
||||
|
||||
Reference in New Issue
Block a user