diff options
author | Fabrice Di Meglio <fdimeglio@google.com> | 2012-10-16 19:55:01 -0700 |
---|---|---|
committer | Fabrice Di Meglio <fdimeglio@google.com> | 2012-10-16 20:11:19 -0700 |
commit | a7e0bcd87287ff2f11cdd872026f2eb9ee22bcd0 (patch) | |
tree | 272b100b0b873aa2e817caff73cf27ff2df50ced /core | |
parent | 809bb404da66498f1723279542d2a7d1f4512052 (diff) | |
download | frameworks_base-a7e0bcd87287ff2f11cdd872026f2eb9ee22bcd0.zip frameworks_base-a7e0bcd87287ff2f11cdd872026f2eb9ee22bcd0.tar.gz frameworks_base-a7e0bcd87287ff2f11cdd872026f2eb9ee22bcd0.tar.bz2 |
Fix bug #7363015 Padding is wrong for first item in a ListPopupWindow
- when adding a View to a ViewGroup reset all RTL properties of the View
to be added instead of only resetting its layout direction
Change-Id: Idfa3acce1700c52e20ebfd4c9c4f4ecb3c1d7520
Diffstat (limited to 'core')
-rw-r--r-- | core/java/android/view/ViewGroup.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/java/android/view/ViewGroup.java b/core/java/android/view/ViewGroup.java index 6c1049b..0a4eae2 100644 --- a/core/java/android/view/ViewGroup.java +++ b/core/java/android/view/ViewGroup.java @@ -3383,7 +3383,7 @@ public abstract class ViewGroup extends View implements ViewParent, ViewManager } if (child.isLayoutDirectionInherited()) { - child.resetResolvedLayoutDirection(); + child.resetRtlProperties(); child.resolveRtlPropertiesIfNeeded(); } |