commit | d3ee2c7d22c0cb204ea9077fa9e64511266d6799 | [log] [tgz] |
---|---|---|
author | Yuichi Araki <yaraki@google.com> | Tue Feb 10 21:51:55 2015 +0900 |
committer | Yuichi Araki <yaraki@google.com> | Wed Feb 18 16:03:13 2015 +0900 |
tree | 4273f2b928631d2515ce5b00989eb774a97460d7 | |
parent | d793fe09e20e5a13fcdfb685d45ee19768723210 [diff] |
Add selection feature to NavigationDrawerView. The selected item can be marked by MenuItem#setChecked in onNavigationItemSelected callback. This also takes MenuGroup into account, that is, NavigationDrawerView highlights only one item in one MenuGroup. Also removes an unnecessary separator when a MenuGroup comes at the top of the menu. Change-Id: Ia7373bb8b64836de8a0db7552c5304165afa7d64