Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 7f8d1c3f authored by Chris Craik's avatar Chris Craik Committed by Android Git Automerger
Browse files

am 493ae7d7: Add doc for View.getElevation()

* commit '493ae7d7aa547f366c6de244f5535ba2c0417598':
  Add doc for View.getElevation()
parents 34e0888c 5985dfbf
Loading
Loading
Loading
Loading
+6 −1
Original line number Diff line number Diff line
@@ -10521,13 +10521,18 @@ public class View implements Drawable.Callback, KeyEvent.Callback,
        setTranslationZ(z - getElevation());
    }
    /**
     * The base elevation of this view relative to its parent, in pixels.
     *
     * @return The base depth position of the view, in pixels.
     */
    @ViewDebug.ExportedProperty(category = "drawing")
    public float getElevation() {
        return mRenderNode.getElevation();
    }
    /**
     * Sets the base depth location of this view.
     * Sets the base elevation of this view, in pixels.
     *
     * @attr ref android.R.styleable#View_elevation
     */