Merge "Add TextView textSize as a ViewDebug for hierarchyviewer" into jb-dev
This commit is contained in:
committed by
Android (Google) Code Review
commit
1b332dbffa
@@ -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