commit | 751f63a635fde79965712a5660a5edf5ead3bff3 | [log] [tgz] |
---|---|---|
author | Raff Tsai <rafftsai@google.com> | Wed Jan 15 17:22:43 2020 +0800 |
committer | Raff Tsai <rafftsai@google.com> | Wed Jan 15 17:22:43 2020 +0800 |
tree | b99aea82d041230c41063704d38442844fe320de | |
parent | 5fae0c617c4e5f6603a2de9f09fd71cfb34fe4b1 [diff] |
Fix tabLayout swipe direction - Fix swipe direction by add layoutDirection=ltr in xml - Reverse viewPager tab index when layoutDirection is rtl Fixes: 147415514 Test: 1. change to rtl language 2. Settings -> Account 3. Swipe from left to right, should move tab to left. 4. Swipe from right to left, should move tab to right Change-Id: Ib5a080f4706161fd9c0f4d7f2da4d7b98946d960