summaryrefslogtreecommitdiffstats
path: root/res/layout/search_edittext.xml
Commit message (Collapse)AuthorAgeFilesLines
* Add ripple to search buttonYorke Lee2014-07-311-0/+1
| | | | | Bug: 15730203 Change-Id: Icd72854ed311b1cdf6130c6df0adec5e9638c232
* resolved conflicts for merge of 4d135767 to masterAndrew Lee2014-06-041-1/+1
|\ | | | | | | Change-Id: I8b156297f69e4ac629f72e1f3af92e06aa8652a5
| * Some more search polish.Andrew Lee2014-06-031-1/+1
| | | | | | | | | | | | | | | | | | | | - Reset padding after applying 9-patch so things are centered properly. - Properly adjust visibility of more views to make animation more smooth. Merge logic into common helper method. Bug: 15343931 Change-Id: I5ab62a823c8fad8a7644aaad641d5193d0dc6af8
| * DO NOT MERGE. Styling search to match redlines.Andrew Lee2014-06-031-21/+21
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - This conflicts with some of Sai's changes, so will manually cherrypick this CL back to master.. - Shift arrow/close icons. - Use 20sp font in expanded search (causes baseline to shift down). - Update action bar movement to use dialpad's interpolators and durations. - Smoothed out animations. Icons in the view being faded out are now instantaneously set to GONE. The margin animator when going from collapsed to expanded starts at 0.8f now, so that the searchbox does not shrink momentarily when switched to the 9-patch, because of the shadow. - Fix clipping because of 9-patch; refactored logic for updating the position and padding from the Activity into SearchFragment. This was motivated in part because we want a padding at the top of this list for the first item, but when the dialpad is shown we do not want that padding. Bug: 15343931 Change-Id: I7c3a96dd295c58c6955e6bd3e9d8cda151de4c3f
* | DO NOT MERGE. Styling search to match redlines.Andrew Lee2014-06-031-17/+16
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - Cherrypicking changes back to master. Mostly, this involved transferring changes dealing with padding and the translation values. - Shift arrow/close icons. - Use 20sp font in expanded search (causes baseline to shift down). - Update action bar movement to use dialpad's interpolators and durations. - Smoothed out animations. Icons in the view being faded out are now instantaneously set to GONE. The margin animator when going from collapsed to expanded starts at 0.8f now, so that the searchbox does not shrink momentarily when switched to the 9-patch, because of the shadow. - Fix clipping because of 9-patch; refactored logic for updating the position and padding from the Activity into SearchFragment. This was motivated in part because we want a padding at the top of this list for the first item, but when the dialpad is shown we do not want that padding. Bug: 15343931 Conflicts: res/layout/search_edittext.xml res/values/dimens.xml src/com/android/dialer/DialtactsActivity.java src/com/android/dialer/list/SearchFragment.java Change-Id: I8519e7e2ef5c75c0f170ff61ed22f44f95e07f74
* | Removed search_bar_expanded from DialerBrian Attwell2014-05-301-40/+1
|/ | | | | | The search_bar_expanded now belongs inside ContactsCommon. Change-Id: If359d08a2742d718a35d526f44fb64ae6d0707cf
* Updated colors and indent for search box according to redlines.Andrew Lee2014-05-301-3/+6
| | | | | Bug: 15345202 Change-Id: I2dc697d2918c5e4b0b2c3a61b27c524c54dd8d84
* Swap out search box contents when expandingYorke Lee2014-05-201-49/+101
| | | | | | | | | | | * Replace search box layout with two main child views - one for the collapsed state and one for the expanded state. * Add back button to the expanded state * Replaced OnTouchListener on the searchbox with an OnClickedListener Bug: 14900155 Change-Id: I4f07650ddf7e265ee5c4d1054c0bf0ff7494ab6b
* Make searchbox expand when entering search UIYorke Lee2014-05-201-1/+1
| | | | | Bug: 14900155 Change-Id: Ib6e500ed55db90ad1fa13ba6dd0e141721331ba4
* Merge "Replace 9patch with shadow on searchbox with elevated view"Yorke Lee2014-05-191-2/+3
|\
| * Replace 9patch with shadow on searchbox with elevated viewYorke Lee2014-05-191-1/+2
| | | | | | | | | | Bug: 14900155 Change-Id: Ib315cf449a0059a11ac50ba6e5a04b15e2db35a9
* | Make EditText non-long clickableYorke Lee2014-05-191-0/+1
|/ | | | Change-Id: I288e20d618ce7ebfed8307f5782b28d80cbd7b1b
* Add magnifying glass to search box.Andrew Lee2014-05-171-3/+10
| | | | | Bug: 14900155 Change-Id: I12cf9aa36c7947e7ee8078de088882b2b3fbdae6
* Move actionbar menu into menu button in search edit text.Andrew Lee2014-05-161-0/+8
| | | | | | | | | No longer use the built-in options menu functionality. Instead add our own menu button and handling its clicks as menu item clicks instead of options menu clicks. Bug: 14900155 Change-Id: I1ed15df2fc2463f963c1825f6f52437c6122f539
* Open search ui on touch, and handle related scenarios.Andrew Lee2014-05-161-2/+2
| | | | | | | | | | | | | | | | | | | | - Add a touch listener to enter the search ui when the user touches the search bar. - Add a key listener to exit the search ui if the user closes the keyboard while the text input is empty. SearchEditTextLayout was added to facilitate this.. - Get rid of mFragmentsFrame, and control visibility of the favorites view by adjusting the alpha of the lists framgent instead, - Delete (hack) logic to change the background color. - Enter the search ui whenever the dialpad is shown, and exit if it is hidden and there is no query. - Handle showing/hiding the actionbar depending on whether the overlapping panel is displayed. This solution is a little hack, but what seems to be a weird frameowrk interaction prevents the desired solution of showing the action bar and then updating the hide offset. Bug: 14900155 Change-Id: I4e06e4ed8eae49ef48317c99a556c51ff2a206a5
* Use EditText for search in ActionBarYorke Lee2014-04-301-0/+48
SearchView is too limited in terms of customizability for the kind of UI styling we are trying to do. All we really need is a space to enter text into, so use a EditText embedded in a custom ActionBar view instead. Bug: 13932490 Change-Id: I7081684c46b29b416dd6d0e5fcff249ee6f00405