ViewStructure.SetElevation(Single) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Set the visual elevation (shadow) of the view, as per
View#getZ View.getZ()
.
[Android.Runtime.Register("setElevation", "(F)V", "GetSetElevation_FHandler", ApiSince=23)]
public abstract void SetElevation (float elevation);
[<Android.Runtime.Register("setElevation", "(F)V", "GetSetElevation_FHandler", ApiSince=23)>]
abstract member SetElevation : single -> unit
Parameters
- elevation
- Single
- Attributes
Remarks
Set the visual elevation (shadow) of the view, as per View#getZ View.getZ()
. Note this is <em>not</em> related to the physical Z-ordering of this view relative to its other siblings (that is how they overlap when drawing), it is only the visual representation for shadowing.
Java documentation for android.view.ViewStructure.setElevation(float)
.
Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.