summaryrefslogtreecommitdiff
path: root/res/layout
AgeCommit message (Collapse)Author
2015-04-16Move call log actions into expandable view.Andrew Lee
This isn't the prettiest thing ever, but with this the "framework" of all of the changes for the new visual style of the call logs is in place. From here on out, the remainder of tasks should be unblocked and relatively independent. + Rename ...ItemViews to ...ItemViewHolder. This probably wasn't completely necessary, but is more proper given the new architecture. + ViewHolder is now officially where most of the independent UI logic for a single call log list item should live. This changelist moves further in that direction by storing references and helpers in it, to lessen what must be passed in from the adapter. + Split out the call action from the rest of the actions, since it has a special treatment on the card. + Convert text action buttons into a vertical stack. + Consolidate action stylings into a single style, for simplicity. + Miscellaneous style and string changes to put things in a better state. This included tweaking some of the (ripple) backgrounds. + Update tests, according to changes. Bug: 19372817 Change-Id: Ic923c0bcbbc1c153952131d0c772df9e9589fb03
2015-04-13Make call log cards white.Andrew Lee
Disassociate the color of the cards/list items from the background color. Before, they were connected so they were ending up as the same color. Bug: 19372817 Change-Id: Id31891a0f86f98bd6143911e361abc70435abddf
2015-04-10Cardify the call log list items!Andrew Lee
+ Added card view dependencies to makefile. + Convert call log list items to use card views. + Cleaned up code style and unused views in fragment xml. - Removed deprecated expand code (more work to be done here). - Removed now-unused constants. Bug: 19372817 Change-Id: I237cf214f8f052de5fb1f41908d6012f52de994e
2015-04-09Replace ListView with RecyclerView in call log.Andrew Lee
Yay, finally! + Replace ListView with RecyclerView in layout and fragment files. + Change GroupingListAdapter to extend RecyclerView.Adapter instead of BaseAdapter. + Change CallLogListItemViews to extend RecyclerView.ViewHolder. + Adapt onBindViewHolder and onCreateViewHolder methods in the CallLogAdapter. + Update/rework tests for related classes. + Fix a bug in the GroupingListAdapter, where childCount was not updated for standalone views, and the previously cached group size was used instead. Set childCount to 1 for standalone views. - Removed the idea of creating different views for standalone vs group vs group headers from the adapters. This logic has not been used for quite some time and all these functions funneled into createView/bindView methods anyways, so there is no logical difference. If we need to create custom views in the future, we can leverage onCreateViewHolder's viewType parameter. Bug: 19372817 Change-Id: I1b7289340600609669db22d8bc89265240d0b561
2015-04-08Remove footer view.Andrew Lee
This depends on ListView footer functions, but the Call Log is being migrated to the RecyclerView. This view will be added back later, with that work tracked in b/20108202 in scope of M. Bug: 20108202 Bug: 19372817 Change-Id: I55201e068362083bf5c18ebd08c2e57c97c1b827
2015-03-25Fix image-related GoogleDialer compiler warnings.Andrew Lee
Fix warnings of form: "libpng warning: iCCP: Not recognizing known sRGB profile that has been edited". Most of these were swaped by replacing the old assets with newer or equivalent versions. Bug: 19536005 Change-Id: I0535c0876806607f4aa170a5839829fff367ab9a
2015-03-16Merge "Delete call log list item extras."Andrew Lee
2015-03-16Delete call log list item extras.Andrew Lee
- Remove isCallLog specific code from adapter; now everything will always be in the call log. - Remove unneeded adapter bits from ListsFragment; there is now no shortcut card shown in the lists fragment. - Remove call log list item extra. We won't bind badges using this any more. This will be superseded by the actions. Remove badge-related code in CallLogAdapter. + Leaving the add-person icon, since it will be used in the future. Bug: 19372817 Bug: 19627987 Change-Id: I4db8149761b017e02e89c081930a05f3aafe9606
2015-03-16Fix remove view visibility.Andrew Lee
It was "broken" because it was hidden under the action bar. Fixed by adding the height of the action bar as top margin to the remove view. Bug: 19684430 Change-Id: I0ea54184499d41e5267ddff8862ba3bc9ca2efbe
2015-03-06Remove OverlappingPaneLayout.Andrew Lee
- Remove the OverlappingPaneLayout, which is no longer needed since the recents card has been removed. - Known Issue: SearchBar is no longer hidden on scroll. - Known Issue: shouldShowActionBar does not return correct value. I plan to fix these KIs in a follow up CL, but going for incremental changes for now to try to keep it apparent what is being done. Bug: 19372817 Change-Id: I9ae1ca19820c87f252863074a5bcab6923b03558
2015-03-05Remove the shortcut/recents card.Andrew Lee
- Delete SwipeableShortcutCard, ShortcutCardsManager. - Remove related references in ListsFragment, layouts, helpers for swipe behavrio, dimensions, and ids. + Update sliding logic in ListsFragment. It's not ideal to use a frame layout to provide spacing/color, but this is the most straightforward way to maintain behavior for now. This can/should be revisited if removing the OverlappingPaneLayout. Bug: 19372817 Change-Id: I789119fb8f87ea19cda545eec7c722306fc2813d
2015-02-26Merge "Use new PowerManager API to implement voicemail proximity"Yorke Lee
2015-02-26Use new PowerManager API to implement voicemail proximityYorke Lee
This allows us to fully blank out the screen instead of faking a black screen leaving the nav bar and notification bar active. Bug: 11734938 Change-Id: I716642fa7f85776d1701d3b95736065dec4d2eac
2015-02-26Remove custom Preference.Header layout.Andrew Lee
This custom adapter was legacy from our implementation of Material design, but we should use the system default styling now. Bug: 19529041 Change-Id: Ie30e283bdc00895746c429a337cad19a95ac6b0f
2015-02-17Merge "Remove shortcut cards list view"Yorke Lee
2015-02-17Remove shortcut cards list viewYorke Lee
Remove ListView containing shortcut cards and replace it with a single ShortcutCard card. Rename ShortcutCardAdapter to ShortcutCardManager with slight refactor. Some corresponding logic changes inside ListsFragment. Reduces the number of getView calls at startup from 4 to 1. Change-Id: I11787bdb1d04cc19634c21bfd398b7533c75d339
2015-02-03Convert unnecessary RelativeLayout to FrameLayoutYorke Lee
Change-Id: I8b68eadf13f581d10b92ae58eb78d04f31a6ff60
2014-12-04Expand search bar text to vertically fit on small devices.Nancy Chen
The text "Search contacts & places" gets cut off because the small size of certain devices causes the text to spill over to a second line. Use "wrap_content" for height instead of "search_box_icon_size" Bug: 18552411 Change-Id: I2263aca687d1d2a431146d057099980970df75f0
2014-11-14Fix for empty list view text being obscuredYorke Lee
Add static padding to top of empty list view text instead of centering in layout. Bug: 18357286 Change-Id: I9b63eda0de0134e7e4b8dde3984ef4bdb239feec
2014-11-11Add padding around empty list text view.Andrew Lee
After removing newlines from the string, it's going to the edge of the string because it's pretty long. We don't want to do newlines this way because it makes life harder for translations, which could well be shorter and fit on one line. Bug: 17446974 Change-Id: Ie758668c2b70f82916993017fa5c3611c150f257
2014-10-31Add an additional line to Call Log for PhoneAccount nameNancy Chen
Add a line under call log to display PhoneAccount label in the color of the account/SIM. Bug: 17971273 Change-Id: I16c37ae8828245f928bc3867a498a29e73b5925c
2014-10-24Remove CallLogListItemViewYorke Lee
CallLogListItemView is a custom view that might have done something once, but doesn't anymore. It makes the code more complicated to read and requires a lot of casting that does nothing at all. Change-Id: I53efb35367d748aa3d164d0fb56686175967c90e
2014-10-15Merge "Add touch feedback to action buttons" into lmp-mr1-devYorke Lee
2014-10-15Merge "Remove dead code" into lmp-mr1-devYorke Lee
2014-10-14Remove dead codeYorke Lee
The TileInteractionTeaserView is no longer displayed in the UI. Change-Id: Ieaf24cdf2ecd5971a22e58e34c49a4481b7d6320
2014-10-14Add touch feedback to action buttonsYorke Lee
Bug: 17506540 Change-Id: I9ad4bf66c08dbbf3e283cc780ff8cbca9b3495a3
2014-10-14Increase touch target for dismiss iconYorke Lee
Bug: 17754808 Change-Id: I7848edbcc7f6bb3dbdc93d13fe4b8e6cfd048451
2014-10-09Use darker blue for call log "extras" text/icon.Andrew Lee
Bug: 17931509 Change-Id: I3660e963187aa46910b805ad022ccbcb80057f23
2014-10-02Fix RTL issues in Dialer.Andrew Lee
+ Force LTR if textviews show numbers. + Change history header with to match_parent so it aligns tor the right properly. Before, it was on the left, even in RTL languages. Bug: 17776561 Change-Id: I53907496fe4e7a12f8962d4bc7295ed7a294c6e5
2014-09-25Update padding base settings for dialerNancy Chen
2. Adjusted the padding around the base call settings preference page to match the settings on the sub preferences Bug: 17529308 Change-Id: Iba1c6cfb4057cf56e8250abea25602aa2ce4eac8
2014-09-17Update colors in Dialer for GAR requirementsYorke Lee
Make View call history color #737373 Make preference headers #333333 Make preference descriptions/summaries #737373 Bug: 17548969 Change-Id: I2cf85896d6bbef934fee73ac2f8a3a96d50ef3ac
2014-09-10Update keyguard preview per UX feedbackYorke Lee
Bug: 17446553 Change-Id: I92f3ae9f5b6205f868b4cec0968337f4ea386b8e
2014-09-05Don't set the same viewId twiceBrian Attwell
This change is necessitated by a change in ag/541280. Dialer doesn't actually use the account_filter_header. But I figure I should keep references to it upto date as long as they have it. Bug: 17399714 Change-Id: I0a853876af895b9cb5493e872b91c44ba3bbba2f
2014-09-02Use different FAB for dialpad, and use new animations.Andrew Lee
+ Use scaleIn/scaleOut for FABs in the Dialer application. + Add assets for green fab. + Update dialpad fragment, both the Java and layouts, to have their own FAB containers and FABs. + Change DialpadSlidingLinearLayout into DialpadSlidingRelativeLayout. - Removed or relocated dial some FAB handling, visibility, and translation functions. Now that the FABs in the dialpad fragment and DialtactsActivity are distinct, the logic can be scoped more precisely to a particular fragment/view. Bug: 16399233 Change-Id: I86f9f0053dc3c50fe0d5046389632af7ddff9f67
2014-08-22Add "add to contacts" actionable item to shortcut card.Andrew Lee
+ This appears for contacts with no lookup key. This means that it will show up for businesses too; even though we match a name, there's no lookup key. + Remove missed call information which used to be shown below the shortcut card, but no longer is. + Make alignment of this call log list item more pretty. + Add tinted person_add drawable for this actionable item. Bug: 17186220 Change-Id: Iabcfa73c2ffeeb0bb24127ef74e85e612be51b9e
2014-08-21Merge "Update UI for Caller ID by Google is enabled badge." into lmp-devNancy Chen
2014-08-21Update UI for Caller ID by Google is enabled badge.Nancy Chen
* Changed settings gear icon * Made the dismiss button a visible color * Realigned the text * Removed most of the extra space around the dividing line Bug: 15740204 Change-Id: I4049a04b4bc48747ffe8208bd79d58ca8a423e38
2014-08-20Change tint of call log phone account icon to match text.Nancy Chen
^see title Bug: 16685783 Change-Id: I652386918b118d591743a36008e78a41747bc3a8
2014-08-16Merge "Expand transcription view when call log item clicked" into lmp-devYorke Lee
2014-08-19Expand transcription view when call log item clickedYorke Lee
* Expand and collapse voicemail transcription view as necessary when tweaked * Modify call_log_list_item layout slightly to pin the photo at the top of the call log item Bug: 16320164 Change-Id: Ib0d84dd77065dce86339c852313adb94b34ba5aa
2014-08-18Reveal InCallUI from touch point in Dialer. COMPLETED.Nancy Chen
Reveal now works from the favorites tiles, recent cards/call back, search results, dialpad, and disambiguation dialog. Bug: 15284651 Change-Id: I43ba1d7095b839ec24faa043de042048d36057b1
2014-08-11Use light ripple on favorites overflow.Andrew Lee
Bug: 15725264 Change-Id: Ice64b4d0188a96ea02df5066c24e749e47b3419c
2014-08-10Replace voicemail seekbar playback assetYorke Lee
Bug: 15935940 Change-Id: Icdbd06ea882e59fdca25d13e63557efacf14451c
2014-08-06Allow voicemail playback view to scrollYorke Lee
Add the voicemail-related views into the ListView's header view so that it can scroll. Also refactored some layouts so that we only inflate the voicemail views if hasVoicemail() is true Bug: 16518757 Change-Id: I17fb303efa96c28c6b97e5cfbf5d8b1ef6a0159c
2014-08-05Merge "Add white touch feedback drawable to Dialer" into lmp-devYorke Lee
2014-07-31Add white touch feedback drawable to DialerYorke Lee
Move item_background_material_dark drawable to ContactsCommon, and use it in Dialer Bug: 15725264 Change-Id: I5181646ea4a787593689784d35812bceaf051119
2014-07-31Add ripple to search buttonYorke Lee
Bug: 15730203 Change-Id: Icd72854ed311b1cdf6130c6df0adec5e9638c232
2014-07-29Continue to make UI color changes in Dialer.Nancy Chen
Specifically to update text and background color in call details and colors in dialpad. Bug: 16356911 Change-Id: I048ca9d71a7befb25aa9f68bace5b6cd7f76e47a
2014-07-25Merge "Decreased height of action bars in dialer" into lmp-devNancy Chen
2014-07-28Decreased height of action bars in dialerNancy Chen
Kept the height of the search box the same while decreasing the height of all other action bars. Bug: 16627750 Change-Id: I43f2ae6b0f67113df2522369f5fef78c0dc12df4
2014-07-26Merge "Add account label to call details if appropriate" into lmp-devNancy Chen
2014-07-25Add account label to call details if appropriateNancy Chen
We will be adding the account label field to call details if there is more than one account to disambiguate. Otherwise this field will be hidden. Bug: 16488229 Change-Id: Idb03d09d63372655504a5f9178e6f2e408aefb88
2014-07-25Merge "Update asset for the icon to put on to the recent call card" into lmp-devNancy Chen
2014-07-25Update asset for the icon to put on to the recent call cardNancy Chen
The icon was not updated, adding assets. See bug for screenshot. Bug: 15188371 Change-Id: I1e2ded0c57d64707eae44820af09caaf763549ce
2014-07-25Add preview layout for lockscreen phone affordanceJorim Jaggi
With the new interaction to launch the phone from the lockscreen, Dialer needs to provide a static layout which looks as close as possible to the screen after Dialer is fully loaded. Bug: 15126905 Change-Id: Ide1a54833ed00a9e8854408d7cb872d33633b6e5
2014-07-24Add voicemail transcriptions to DialerYorke Lee
* Display voicemail transcriptions in the call log and call details activity in the Dialer * Fix a bug in CallDetailActivity that would result in multiple instances of VoicemailPlaybackFragment being added on rotation. Now, reuse the same fragment if it is already present in the FragmentManager, to avoid creating new ones * Simplify some test and ctor logic in PhoneCallDetails to reduce the pain of adding new fields into PhoneCallDetails * Simplified playback_layout.xml to remove unnecessary parent LinearLayouts Bug: 16320164 Change-Id: Ie68acc9058aace49d8e64f44a0128de0b6a3f842
2014-07-23Add disambiguation phone icon to recent phone callNancy Chen
Adding phone icon to recent phone card to differentiate behavior from a regular call log item. Bug: 15188371 Change-Id: I7de2c019e318f8d74a7783c7a566239f9d4e1725
2014-07-22Make ViewPagerTabs and FABController RTL awareYorke Lee
* Underline in ViewPagerTabStrips is correctly drawn in RTL mode * Clicking on ViewPagerTabs propogates correct onPageSelected position to ViewPager * FAB is now end aligned instead of right aligned * ViewPager in Dialer is correctly reversed and behaves correctly * Call Log groups headers in call log are now correctly aligned in RTL Bug: 16162264 Bug: 16464471 Change-Id: I2db6b9147a628a68fba5bbbdb7276855d483bad5
2014-07-22Merge commit '5cb300ef' into manualmergeYorke Lee
Change-Id: I0a250709eca34fcbbfdd94cf1cf25195bce844b8
2014-07-22Merge "Fix VVM playback control buttons don’t support TALKBACK"Yorke Lee
2014-07-22Move ViewPagerTabs out of Dialer repoBrian Attwell
Bug: 16158921 Bug: 15616182 Change-Id: Ie648d78dd4df402936c4665eca7c6998e463ca2b
2014-07-21Update call settings to mocksNancy Chen
Increase padding and modify text spacing. See screenshot here https://drive.google.com/a/google.com/file/d/0B0hheJjccUOjMHAycHN5Qy01MVk/view?usp=sharing Bug: 15571286 Change-Id: Ieb3c9e0103bcf2bdfe236ba84d21897b4757faf1
2014-07-18Replace shadow workaround with a different oneChris Craik
bug:15023558 Change-Id: Ie85b281ff77694874953ff88297e0d034560c82b
2014-07-15Various call log / call details video call changes.Tyler Gunn
Requires cl/501841. Call log: 1. Add video call affordance. 2. Add accessibility text for calls, video call afforance. 3. Fixed unit test Call details: 1. Showing video icon when a call had video. 2. Changing call headings to indicate they were video calls. Bug: 16013879 Bug: 16013344 Bug: 16013684 Change-Id: I53b5bf9b0b1a63f9d119318d59f690d310cca7c8
2014-07-14DO NOT MERGE Added report button to UI and database.Sai Cheemalapati
It toasts when clicked for now. The database is not updated when it is clicked yet. Bug: 11150383 Change-Id: Ifd588bdfb36dd8a96977a870071a064726f6e669 (cherry picked from commit 3eae4825ee9a29bd43c9b01d3cbf92de6ad3eb11)
2014-07-02Rename Telecomm "Subscription" to "Account" (3/7)Ihab Awad
Change-Id: I866e9d4f629a2b23acb3d3d3f2baeb0a674522f7
2014-06-26Add icon indicating subscription in call log/call historyNancy Chen
Display an icon in the call details showing which connection provider (subscription) is responsible for the call. Bug: 15473965 Change-Id: I0c6755864083799b8bafe20c3692b0d943beeee3
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