summaryrefslogtreecommitdiff
path: root/src/com/android/mail/ui/CustomViewToolbar.java
Commit message (Collapse)AuthorAgeFilesLines
* Reset search button visibility on account changeJin Cao2014-10-151-4/+26
| | | | | | b/17982775 Change-Id: Ia27a7364f49b7cf8a1cbfc158123b543d6b8b7fc
* Bug fixes for search tabletJin Cao2014-09-231-12/+28
| | | | | | | | | | | | | I introduced with some bugs with my recent CLs for showing the transparent search bar in tablet landscape. - don't call onConversationListLayout unless it's in tablet landscape (this is documented on the interface). - update the code for setupEndingButton to take into the new alignment into account. - set search button to invis after animating it to transparent. Change-Id: I348626603b47eb8a536cd5c54eaa9db5027fdbfe
* tablet search icon bug fixes and simplificationJin Cao2014-09-171-12/+16
| | | | | | | | | | | - instead of setting the title padding, simply set the full width of the parent accordingly for two-pane land. - only call onConversationListlayout in tablet landscape mode. - change from visibility to alpha animation to ease the transition. - set the icon to not be clickable when invisible. Change-Id: If992c97c96eff334a3de82c2583bcdd10e391ed6
* [Quantum search] new two-pane land search result listJin Cao2014-09-171-26/+19
| | | | | | | | | | In two-pane landscape, change the search bar accordingly when we are in conversation mode (so the menu items are visible). b/17361017 Change-Id: Icb07fff91f0533681478d866430fbaa82bc5850c
* Hide search button when drawer is openJin Cao2014-09-031-7/+21
| | | | | | | | | In two-pane landscape mode, hide the search button when the drawer opens instead of re-positioning it. b/17332335 Change-Id: Ibefb3b31998f3ac1a4d0095f274f307781b60008
* Fix search RTLJin Cao2014-09-021-4/+15
| | | | | | | | | - Fix search suggestions RTL padding and alignment - Fix search button positioning in RTL for tablet land. b/17328599 Change-Id: I982e086738f9f75f39ce9149590cfabc37259d30
* Add custom view for toolbar to reposition search iconJin Cao2014-08-251-0/+120
Remove search from the default menu items and add the search button to a custom view so we can position it ourselves. This involved extending the toolbar class because custom views cover up the toolbar title by default. b/17070560 Change-Id: Iba7d127a58b8061d84228732fcadbd82665d0835