diff options
author | Fabrice Di Meglio <fdimeglio@google.com> | 2013-06-11 19:13:54 -0700 |
---|---|---|
committer | Fabrice Di Meglio <fdimeglio@google.com> | 2013-06-12 16:54:31 -0700 |
commit | c4d712237cba31d0f34c6b96ea3533d4a8e1f028 (patch) | |
tree | cd1023c5df31040b4946dba140d3b4cb547c69ce /graphics/java/android/renderscript/ScriptIntrinsicHistogram.java | |
parent | 97f41383eb2bb098767ca153e470009fea810540 (diff) |
Fix bug #9302365 HorizontalScrollView is not RTL aware
- make FrameLayout capable of forcing a Gravity.LEFT (when there will be
only one child with Gravity.RIGHT and wider than its parent like for
HorizontalScrollView)
- fix onLayout() so that it is forcing Gravity.LEFT if needed and
setting correctly the initial mScrollX
- also add restore/save from an instance state (by saving if the layout
is RTL and the scroll position)
Change-Id: Ida7ff4654c6a54a1696c2575af46f044dd1aabc8
Diffstat (limited to 'graphics/java/android/renderscript/ScriptIntrinsicHistogram.java')
0 files changed, 0 insertions, 0 deletions