Merge "Add TextView textSize as a ViewDebug for hierarchyviewer" into jb-dev

This commit is contained in:
Fabrice Di Meglio
2012-04-27 16:30:57 -07:00
committed by Android (Google) Code Review

View File

@@ -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();
}