summaryrefslogtreecommitdiff
path: root/res/layout
AgeCommit message (Collapse)Author
2014-06-12Fixed FAB margin issue.Sai Cheemalapati
Fixed floating action button margins so it is centered on screen. Change-Id: I8b67dbe96776e4313872ffcc11cc21868674d148
2014-06-11Merge "Update strings for empty lists in Dialer."Andrew Lee
2014-06-11Update strings for empty lists in Dialer.Andrew Lee
Also, some slight renaming for consistency across dialer. Bug: 15513399 Change-Id: Ia66084630fc9473dc24303aab0d777e1bde1b41a
2014-06-11Merge "Increased padding beneath the call log day/group headers."Andrew Lee
2014-06-11Increased padding beneath the call log day/group headers.Andrew Lee
Change-Id: I4a479063546ffe7e90772c79651193d313239603
2014-06-11Code cleanup: delete all contact button.Andrew Lee
Change-Id: I612b5a9dd8451c18ae5b5d38291182b8f5b1589f
2014-06-11Use Framelayout instead of RelativeLayout in DialtactsActivityYorke Lee
Switch to FrameLayout instead of RelativeLayout since we don't need the more complicated and expensive layout abilities of RelativeLayout. This improves startup time (on hammerhead-eng, interpreted ART mode) to about 1150ms on average from 1300ms originally. Change-Id: I94400dcc58cc74497c71a7432a06a4dffe3b078d
2014-06-11resolved conflicts for merge of 0a4327e6 to masterAndrew Lee
Change-Id: I98b24e23d9d3283223f8db0c58930977b7a8fd35
2014-06-11resolved conflict for merge of 469e9df0 to masterAdrian Roos
Change-Id: Ic96a35172c113e8b25084de3c8cf5e44f931903b
2014-06-11am a9a75dc1: Merge "UI improvements on tabs, recent expanded card, speed ↵Andrew Lee
dial grid." into lmp-preview-dev * commit 'a9a75dc1956f4b6a3d3527b7b9e204acbb316b68': UI improvements on tabs, recent expanded card, speed dial grid.
2014-06-10Update empty list assets and text.Andrew Lee
- Add new assets for empty lists, delete old no favorites banner. - Adapt phone_no_favorites.xml into generic container shown when a list is empty. - Add helper to DialerUtils to configure empty list view with a provided image and message. - Configure empty list view in relevant fragments. - Some text styling/margin/padding to get things to spec. A minimum height is used on the message so that the icons and text will be laid out in a consistent manner. Bug: 15513399 Change-Id: I52337a4544065a991d3b8084d96b01516a458c42
2014-06-10Merge "Revise remove view target positioning." into lmp-preview-devAndrew Lee
2014-06-09Revise remove view target positioning.Andrew Lee
- Move placement from dialtacts activity layout to the lists fragment, so that it can be positioned over the tab bar. - Relocate references to RemoveView/RemoveViewContainer to the lists fragment from the activity class. - Set colors using tints, remove old highlight state asset. - Fade out search bar and recent card when dragging. Bug: 15434489 Change-Id: I49205c79aeb008a30efc3c2ea417b8836444e203
2014-06-09Applying call details red-lines.Tyler Gunn
- Contact photo is now quick-contact which invokes quick-contact view. - Removed send MS and call affordances, along with scrolling effect. - Added missing accessibility strings to voicemail controls. Bug: 15328410 Change-Id: I6d78d582af8c3a5cea8e051911cf3be763df2a36
2014-06-06UI improvements on tabs, recent expanded card, speed dial grid.Andrew Lee
- Changed tab weight from bold to medium. - Darkened the lists background by ~2% black to improve contrast for the expanded call log items. - Fixed colors on the expanded call log item, back to white. - Some cleanup to store constant properties as member variables in the CallLogAdapter. - Fixed vertical margins on the speed dial favorite square views. Bug: 15470880 Change-Id: Ia2583f527e1fc91af08e049312eaa724176b761d
2014-06-06am b6c81586: Merge "Remove contacts tiles 9-patch from favorites tile view." ↵Andrew Lee
into lmp-preview-dev * commit 'b6c81586ff375eecd9c74bae23823e21b24d54cd': Remove contacts tiles 9-patch from favorites tile view.
2014-06-06Merge "Remove contacts tiles 9-patch from favorites tile view." into ↵Andrew Lee
lmp-preview-dev
2014-06-05Remove contacts tiles 9-patch from favorites tile view.Andrew Lee
It looks like this 9-patch was responsible for the shadow which was observed below the speed dial tiles in the associated bug. Even if not, doesn't seem like we're using this anymore, as far as I'm aware, so this should be safe to remove. Bug: 15385828 Change-Id: If7eccf767562bee0367e58363142116095bf06a6
2014-06-05am 161f0116: Merge "Add elevation to call log activity view pager tabs." ↵Andrew Lee
into lmp-preview-dev * commit '161f0116fb9b4f5cf4f66f4910bc9dde28b721ad': Add elevation to call log activity view pager tabs.
2014-06-05Merge "Add elevation to call log activity view pager tabs." into lmp-preview-devAndrew Lee
2014-06-05Add elevation to call log activity view pager tabs.Andrew Lee
Bug: 15385828 Change-Id: Ia0b175a53bec1d28836f612fe4f304e9fb2c2c14
2014-06-05Add searchbox icon tint to the close button.Andrew Lee
Bug: 15411375 Change-Id: I9f5857eb1f1edaa1ca91d9b0ce64a90c57edb95a
2014-06-04resolved conflicts for merge of 4d135767 to masterAndrew Lee
Change-Id: I8b156297f69e4ac629f72e1f3af92e06aa8652a5
2014-06-04am e1c0396d: Change day group header label in recents to medium weight.Andrew Lee
* commit 'e1c0396db7e655e2a4e9ce5ce85c614ea450c723': Change day group header label in recents to medium weight.
2014-06-04am 44198fe1: Use padding instead of margin so that it only applies to list ↵Andrew Lee
"top". * commit '44198fe16e007fa60afe8ebf32b1bdd17141fb9e': Use padding instead of margin so that it only applies to list "top".
2014-06-04Merge "Some more search polish." into lmp-preview-devAndrew Lee
2014-06-04DO NOT MERGE Decreased shadows for search bar and recent contactNancy Chen
Lowered elevation/z-level for search bar ("Search contacts & places") and recent contact card ("Caller ID by Google is enabled") Bug: 15385828 Change-Id: Icdbc87d4046953bafcb5e0c7686e6efb3a49bdfb
2014-06-03Some more search polish.Andrew Lee
- 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
2014-06-03Decreased shadows for search bar and recent contactNancy Chen
Lowered elevation/z-level for search bar ("Search contacts & places") and recent contact card ("Caller ID by Google is enabled") Bug: 15385828 Change-Id: Icdbc87d4046953bafcb5e0c7686e6efb3a49bdfb
2014-06-03DO NOT MERGE. Styling search to match redlines.Andrew Lee
- 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
2014-06-03Merge "DO NOT MERGE. Styling search to match redlines." into lmp-preview-devAndrew Lee
2014-06-03Change day group header label in recents to medium weight.Andrew Lee
Bug: 15408691 Change-Id: Id54cfac084a0ec0e80704ba602f32dfff544b4f8
2014-06-03DO NOT MERGE. Styling search to match redlines.Andrew Lee
- 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
2014-06-02Use padding instead of margin so that it only applies to list "top".Andrew Lee
Bug: 15332945 Change-Id: Ic51b49ea57a4c6f1072bab701697d72c92f2601b
2014-06-02Matching landscape dialer to mockups.Sai Cheemalapati
Dialer now matches mockup in landscape mode. Bug: 15386162 Change-Id: I8abb7a6c13bbeb1cb9210532e850010b196fe14e
2014-05-30Removed search_bar_expanded from DialerBrian Attwell
The search_bar_expanded now belongs inside ContactsCommon. Change-Id: If359d08a2742d718a35d526f44fb64ae6d0707cf
2014-05-30Merge "Updated colors and indent for search box according to redlines." into ↵Andrew Lee
lmp-preview-dev
2014-05-30Updated colors and indent for search box according to redlines.Andrew Lee
Bug: 15345202 Change-Id: I2dc697d2918c5e4b0b2c3a61b27c524c54dd8d84
2014-05-30Merge "Matching recents to redlines." into lmp-preview-devAndrew Lee
2014-05-30Merge "Add padding at top of contacts list." into lmp-preview-devAndrew Lee
2014-05-30Matching recents to redlines.Andrew Lee
- Tweak some positionings and the action height. - Changed action text to 12sp (from 14) and bold (instead of medium). - Some of this was (I believe) already addressed in previous CLs. Bug: 15332481 Change-Id: I28e7c0ee6f5e4e4cdcdbb27d3e3356b370c68ea4
2014-05-30Add padding at top of contacts list.Andrew Lee
Bug: 15332945 Change-Id: I305cf9ef051d18d1da80a35bb1ee94a88af035c8
2014-05-30Updating speed dial to match redlines.Andrew Lee
- Increase width/height ratio to 80% - Indent overflow icon further in - Shift text upwards. - Changed name to medium font weight. - Use layout-weights to size shadow overlay to 40%. Change-Id: Ib6946679a567faffc25087d625338c7a8c3520d1
2014-05-29Adjust call log text padding.Andrew Lee
- Set elegant text height to false on the name and location/date. - Add margin below the name TextView. Bug: 15196725 Change-Id: Ia1735cb75194ab8b0418e138f4f11ec17ae626db
2014-05-23Increase size of actionBarYorke Lee
* Increase size of actionBar to 64dps and also add 8dps of padding to the search box. * Removed some unused styles Bug: 15165670 Change-Id: Ia232431b2e637c9ccbdd0710f723f2063add524b
2014-05-23Merge "Cleanup of call log entry horizontal padding and RTL support. DO NOT ↵Tyler Gunn
MERGE" into lmp-preview-dev
2014-05-23Merge "Add padding to bottom of listviews" into lmp-preview-devYorke Lee
2014-05-23Cleanup of call log entry horizontal padding and RTL support. DO NOT MERGETyler Gunn
Bug: 15165669 Change-Id: Iceba7fdfcecb79c3d1ef30505e27b5274da67111 (cherry picked from commit b2a0168c53ef96ac26a2abb8dcb2c34b49c9becc)
2014-05-22Add padding to bottom of listviewsYorke Lee
Bug: 15164687 Change-Id: I142e8900b471bfb05cf8dad1ed8b0d8d0e4efae6
2014-05-22DO NOT MERGE. Tidy up call log shadow/touch interactions.Andrew Lee
- Constrain the recents list footer ripple to its dimensions. - Eliminate bottom margin on the call log list items. - Changed translationZ on expand to apply to the call log list item instead of just its primary action view. - Adjust the outline clipping so that a shadow doesn't appear under the day group header, now that the translation is applied to the entire list item. - Instantiated a number of fixed property values in onCreate() in the CallLogFragment, instead of whenever they're needed. Bug: 15165669 Change-Id: I5ed81ae49fb0c3f6eed360f247c1fd67278a628c (cherry picked from commit 6e765f9a71b450809c4916a5d5562cdc1372a39a)
2014-05-21Changed color/font of view all contacts text.Sai Cheemalapati
Removed whitespace. Added font family string to values and bolded text. Added do not translate to font string. Bug: 13936108 Change-Id: Ic8a6e525e34ccc839e77b622071279d71d9b290e
2014-05-21Add padding to bottom of speed dial fragmentYorke Lee
Add padding to bottom of speed dial grid view so that content is not obscured by floating action button Also rename the layout to the more sane sounding speeddial_fragment.xml Change-Id: I5e745f6a0a3657bae7f84a3728a1c75986d32ebf
2014-05-21Removing the delete button from call log entries.Tyler Gunn
Bug: 13962594 Change-Id: I59ee9badc239f4ce3a81320cb0e801af973707a5
2014-05-20Clean up some interactions in entering/exiting searchUIYorke Lee
Entering/exiting the search UI should now behave as a state machine that is described as follows: * Tapping on the search box or the dialpad brings up the search UI * If back is pressed when in the search UI, one of three things happens 1) If the dialpad or IME is up and a query exists in the searchbox or the dialpad, the IME/dialpad is hidden to allow the user to scroll search results. 2) If the dialpad or IME is up and the query is empty, hide the dialpad and IME, and exit the search UI. 3) If the dialpad or IME is not up and the query is not empty, clear the search query and exit the search UI. Change-Id: I9ba21227e1f1fcba4cde1101b3516009ee55da12
2014-05-20Swap out search box contents when expandingYorke Lee
* 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
2014-05-20Make searchbox expand when entering search UIYorke Lee
Bug: 14900155 Change-Id: Ib6e500ed55db90ad1fa13ba6dd0e141721331ba4
2014-05-19Merge "Replace 9patch with shadow on searchbox with elevated view"Yorke Lee
2014-05-19Replace 9patch with shadow on searchbox with elevated viewYorke Lee
Bug: 14900155 Change-Id: Ib315cf449a0059a11ac50ba6e5a04b15e2db35a9
2014-05-19Merge "Make EditText non-long clickable"Yorke Lee
2014-05-19Make EditText non-long clickableYorke Lee
Change-Id: I288e20d618ce7ebfed8307f5782b28d80cbd7b1b
2014-05-18Remove unused resources in DialerYorke Lee
Change-Id: I674b2a9620f7b2ca0116cc4db16f27e78eeef5e7
2014-05-17Add magnifying glass to search box.Andrew Lee
Bug: 14900155 Change-Id: I12cf9aa36c7947e7ee8078de088882b2b3fbdae6
2014-05-16Merge "Cleaning up shadowing and animation of call log expansion."Tyler Gunn
2014-05-16Cleaning up shadowing and animation of call log expansion.Tyler Gunn
Bug: 13962594 Change-Id: Ifbbf7fa75ffccfb893e6825774565c1e21e86c76
2014-05-16Move actionbar menu into menu button in search edit text.Andrew Lee
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
2014-05-16Merge "Open search ui on touch, and handle related scenarios."Andrew Lee
2014-05-16Open search ui on touch, and handle related scenarios.Andrew Lee
- 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
2014-05-16Adding call details affordance to call log.Tyler Gunn
Bug: 14876142 Change-Id: Ic4e806153156489473aeff91dbb9380302431ace
2014-05-14Adding day group headings in the call log which group call log entriesTyler Gunn
under 4 headings, "Today", "Yesterday", "Last week", "Other". Bug: 13962594 Change-Id: I6f7cfb93ca03bbbe0c3e4736efb3b8a4244c1dba
2014-05-13Merge "Animate call log expand/collapse"Yorke Lee
2014-05-13Merge "Use one ImageButton for the floating action button."Andrew Lee
2014-05-13Use one ImageButton for the floating action button.Andrew Lee
This means that the touch feedback transition can continue to propagate, even while we're switching the icons. Change-Id: Ia0c4e7bb4556c84cabccbda5f4c5861e25e2928f
2014-05-13Star icon touchups.Andrew Lee
- Tweak dimensions/alignment. - Delete unused icons. Change-Id: Ieee0ea1640d1a7fdafdb73ad7586f01552ac4f1f
2014-05-13Animate call log expand/collapseYorke Lee
2014-05-13Change star icon in favorites tile.Andrew Lee
Change-Id: I0e459cf3e6956f4a424a1da1076c6d4d052f7592
2014-05-13Merge "Make ActionBar scroll together with other lists"Yorke Lee
2014-05-13Merge "Added touch feedback to call log rows for primary action area. Added ↵Tyler Gunn
touch feedback to call log action buttons."
2014-05-13Added touch feedback to call log rows for primary action area.Tyler Gunn
Added touch feedback to call log action buttons. Bug: 13962594 Change-Id: I685c932354616cbbff9a8f115c4656897e33da42
2014-05-12Make ActionBar scroll together with other listsYorke Lee
* Refactor PanelSlideListener into its own member variable to make the code cleaner * Offset the ActionBar appropriately in onPanelSlide so that it appears to be sliding together with the rest of the list Bug: 14234101 Change-Id: I7060f015ed72b5d0ece7069e50590b569b729142
2014-05-12Merge "Use new nested scrolling APIs"Yorke Lee
2014-05-12Merge "Change search list background to grey."Andrew Lee
2014-05-12Change search list background to grey.Andrew Lee
- Change the layout parent background programatically in the activity, when the dialpad is shown or hidden. - Change the gradient above the dialpad fragment in Dialer too. - Add directory header attrs color. Change-Id: I97be52f07480ee5b4db55555ef4e4de0feb7d55a
2014-05-12Use new nested scrolling APIsYorke Lee
Bug: 14234101 Change-Id: Icb77f327e455fc9f0fb797b3f31d6f3467b2f358
2014-05-12Adjust height of call log tabs.Andrew Lee
Change-Id: I4dcf7d0bffd3b12f494612d5e76645edf46267d4
2014-05-09Add touch feedback to Dialer buttons.Andrew Lee
Now, on touch they'll have an yellow accent tint. Change-Id: I8b13ec443185a8f18891997b7830d7c901578dea
2014-05-09Change FAB background (to teal) and icons.Andrew Lee
Change-Id: I9e36a17bd0769d80e52a9e218ceb947aa57b9604
2014-05-08Merge "Tighten up tab bar styling."Andrew Lee
2014-05-07Tighten up tab bar styling.Andrew Lee
- Added touch feedback / ripples on press. - Increased the font size. - Lowered the height. Change-Id: I38e604d45f9c127b6381701f9d32917d7211cb96
2014-05-07Merge "Setting call log item elevation and background color when items are ↵Tyler Gunn
expanded/shrunk per redlines."
2014-05-07Delete dialpad_digits.xmlAndrew Lee
Seems that this is not used anymore, following the consolidation of many things dialpad to ContactsCommon.. Bug: 14471388 Change-Id: I8df282b2e69b79250e478e5bb1e420dd8721a798
2014-05-07Merge "Make drag shadow work across entire layout"Yorke Lee
2014-05-07Setting call log item elevation and background color when items areTyler Gunn
expanded/shrunk per redlines. Bug: 13962594 Change-Id: I5614a896c06bd29ddc6d3996a1563a0547310e6a
2014-05-07Hide remove view at startupYorke Lee
Change-Id: Ic564c562c8133d00c2dff6b3f80aaf88efe5a7ce
2014-05-07Make drag shadow work across entire layoutYorke Lee
Move drag shadow view into main layout so that it can be drawn over all other views. Also offset it accordingly based on its parent's X/Y coordinates Bug: 14393052 Change-Id: I957469cf505d30812b539517d2aeab3f72a733ca
2014-05-06Refactor drag and drop to work for entire Dialer layoutYorke Lee
Add a drag listener to the main dialer layout and manipulate drag events correctly in DragDropController so that drag and drop works throughout the main Dialer layout, rather than just the speed dial fragment. Also shift the remove view into dialtacts_mainlayout so that it can continue receiving drag events. Bug: 14393052 Change-Id: I90c26fee4fe681d0e237aa490185e850628e4cd0
2014-05-06Merge "Adding support for expandable call log entries."Tyler Gunn
2014-05-05Adding support for expandable call log entries.Tyler Gunn
Bug: 13962594 Change-Id: I19a4a65dce922619df0a709293ca291c345c8be7
2014-05-05Move Dialpad-related resources to ContactsCommonYorke Lee
Change-Id: Ide81e00c798f3c2b9a4b4bc46a8ca8ac2971d2ca
2014-05-02Refactor dialpad into its own viewYorke Lee
Initial work needed to make the dialpad shareable within Dialer and InCallUI. This CL refactors the code that controls the appearance of the dialpad into a new custom view called DialpadView. The parent activity/fragment is still responsible for assigning listeners and handling event callbacks from the DialpadView. Change-Id: I11ab8159619413caf1c3d8fa16fff475b822633b
2014-04-30Use EditText for search in ActionBarYorke Lee
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