Add TextView textSize as a ViewDebug for hierarchyviewer
Change-Id: I6459d0d9cdb9fe6a81b3e30c56b64159fc729d52
This commit is contained in:
@@ -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();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user