commit | 87228cd7bb9a39e2bb33a767d214c8d834f840df | [log] [tgz] |
---|---|---|
author | Fabrice Di Meglio <fdimeglio@google.com> | Wed Oct 12 12:39:55 2011 -0700 |
committer | Android (Google) Code Review <android-gerrit@google.com> | Wed Oct 12 12:39:55 2011 -0700 |
tree | 2c4cddb92353de75141a6803cb906b59242e7324 | |
parent | f2894659e8df625783afcd3fa17462ab23d29145 [diff] | |
parent | 9f51384720715b58616a7281e2a073f736eff859 [diff] |
Merge "Fix bug #5446966 Changing Gravity on a TextView does not change how the text is aligned" into ics-mr0
diff --git a/core/java/android/widget/TextView.java b/core/java/android/widget/TextView.java index 41daf70..041e8a4 100644 --- a/core/java/android/widget/TextView.java +++ b/core/java/android/widget/TextView.java
@@ -2476,6 +2476,7 @@ if (gravity != mGravity) { invalidate(); + mLayoutAlignment = null; } mGravity = gravity;