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

Commit c54da1ce authored by Fabrice Di Meglio's avatar Fabrice Di Meglio
Browse files

Add TextView textSize as a ViewDebug for hierarchyviewer

Change-Id: I6459d0d9cdb9fe6a81b3e30c56b64159fc729d52
parent a75fbc3c
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -2148,6 +2148,7 @@ public class TextView extends View implements ViewTreeObserver.OnPreDrawListener
    /**
     * @return the size (in pixels) of the default text size in this TextView.
     */
    @ViewDebug.ExportedProperty(category = "text")
    public float getTextSize() {
        return mTextPaint.getTextSize();
    }