[android] document that elevation(0) turns off the location shadow

This commit is contained in:
Ka-Ping Yee
2019-04-22 04:36:48 +02:00
committed by Łukasz Paczos
parent 470b99e795
commit 4224b89a9c

View File

@@ -578,7 +578,8 @@ public class LocationComponentOptions implements Parcelable {
}
/**
* Sets the base elevation of this view, in pixels.
* Sets the base elevation of this view, in pixels. To turn off the shadow that appears under
* the location icon, set the elevation to 0.
*
* @return the elevation currently set for the location component icon
* @attr ref R.styleable#LocationComponent_elevation