commit | c4d712237cba31d0f34c6b96ea3533d4a8e1f028 | [log] [tgz] |
---|---|---|
author | Fabrice Di Meglio <fdimeglio@google.com> | Tue Jun 11 19:13:54 2013 -0700 |
committer | Fabrice Di Meglio <fdimeglio@google.com> | Wed Jun 12 16:54:31 2013 -0700 |
tree | cd1023c5df31040b4946dba140d3b4cb547c69ce | |
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