commit | 9558a884ddf52a38d471477abbc6b52c853471a9 | [log] [tgz] |
---|---|---|
author | Tony Mak <ming030890@gmail.com> | Sat Dec 16 11:43:21 2017 +0000 |
committer | Tony Mak <tonymak@google.com> | Mon Dec 18 11:56:48 2017 +0000 |
tree | b3b463279af5aea68c55776918134358e79ecbc4 | |
parent | 50f85e04f0358e524880fe496a3254c19fce6975 [diff] |
Fix tab selected color is not rendered properly We used to use mSelectedPosition for both tab / indicator position. However, they are not always in sync. For example, if user taps on a tab, that tab will be in "selected state" right away when we are still showing the sliding animation. The fix is to use two separate variables to keep track of tab / indicator position. Fix: 70778492 Change-Id: I9b01fa2108b256448d3de0113f9bed75043afefd