Skip to content

Commit 1b332db

Browse files
Fabrice Di MeglioAndroid (Google) Code Review
authored andcommitted
Merge "Add TextView textSize as a ViewDebug for hierarchyviewer" into jb-dev
2 parents 6ee3fe8 + c54da1c commit 1b332db

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

core/java/android/widget/TextView.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2148,6 +2148,7 @@ public void setTextAppearance(Context context, int resid) {
21482148
/**
21492149
* @return the size (in pixels) of the default text size in this TextView.
21502150
*/
2151+
@ViewDebug.ExportedProperty(category = "text")
21512152
public float getTextSize() {
21522153
return mTextPaint.getTextSize();
21532154
}

0 commit comments

Comments
 (0)