commit | e4c7e61dbe94a77c5389eb20952d6b7ed6536caf | [log] [tgz] |
---|---|---|
author | Jonathan Koren <jdkoren@google.com> | Mon Jan 23 15:26:28 2017 -0800 |
committer | Jonathan Koren <jdkoren@google.com> | Sat Jan 28 14:34:20 2017 -0800 |
tree | 1a78cc6c3284a7a4a0a13e7f378a216396126558 | |
parent | 6a15b09e37b960e774dd4806165e7da642b0d9ad [diff] |
Add setSelectedItemId() to BottomNavigationView Also fixes a bug where programmatic selection of an item (previously by calling setChecked(true) on a menu item) does not invoke the OnNavigationItemSelectedListener and does not animate properly. Bug: 34627065 Bug: 33002556 Test: Added new tests in BottomNavigationViewTest Change-Id: I2acbacaedb6cf7a05135ba90137f939b690190da