summaryrefslogtreecommitdiff
path: root/res/layout/phone_favorite_tile_view.xml
AgeCommit message (Collapse)Author
2014-08-11Use light ripple on favorites overflow.Andrew Lee
Bug: 15725264 Change-Id: Ice64b4d0188a96ea02df5066c24e749e47b3419c
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-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-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-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-13Star icon touchups.Andrew Lee
- Tweak dimensions/alignment. - Delete unused icons. Change-Id: Ieee0ea1640d1a7fdafdb73ad7586f01552ac4f1f
2014-05-13Change star icon in favorites tile.Andrew Lee
Change-Id: I0e459cf3e6956f4a424a1da1076c6d4d052f7592
2014-04-21Use PhoneFavoritesTileAdapter directly in GridViewYorke Lee
This CL moves the adapter that contains the speed dial contacts into its own GridView that lives in PhoneFavoritesFragment. This is the first step to splitting up PhoneFavoritesMergedAdapter into a list of shortcuts and a grid of contacts, and also get rid of the convoluted ContactTileRow logic within PhoneFavoritesTileAdapter, to facilitate a future transition to RecyclerView. * PhoneFavoritesTileAdapter now directly returns PhoneFavoriteTileViews rather than ContactTileRows. * Deleted a lot of unnecessary complicated logic within PhoneFavoritesTileAdapter that had to do with ContactTileRows. * Simplified and rewrote animation logic so that animations now perform as expected within the GridView. In the future this may not be necessary if RecyclerView is used. * Rewrote layout/measurement logic for PhoneFavoriteTileView. It now determines its height directly based on what its measured width is. * Replaced PhoneFavoritesListView in PhoneFavoriteFragment with a standard GridView * Delete stale PhoneFavoriteTileAdapter tests Notes: Call shortcut cards are now temporarily missing due to this change Bug: 13963734 Bug: 13933092 Bug: 13419223 Change-Id: I71e8970667589e4024d00e9af2c8b45c843c5db1
2014-04-18Add favorites/star icon to the phone favorite tile view.Andrew Lee
Bug: 14116267 Change-Id: Id4ea8dafcfe4fa46ab0ea7677cada4f2e64aff7a
2014-04-16Make speed dial contacts fill grid betterYorke Lee
Change-Id: I90a38a5b02280b0b1ddb5b993ba8fdd978cf0825
2014-03-20Remove deprecated swipe to remove codeYorke Lee
Change-Id: I83b286db71f3ae2df3a31bbfc66c0045faa8f5ef
2014-03-18Swap 9 patch for contact tilesYorke Lee
Tweak contact tile dimensions slightly Bug: 13526106 Change-Id: I7ae82dc1815c95577c204dd6ed955d0bf1bc0dc3
2014-03-14Slight UX tweaks to DialerYorke Lee
* Add drawable and apply to dialpad fragment for shadow effect * Tweak name/number padding in tiles * Tweak default letter avatar placing in tiles * Add shadow for dialpad * Swap out 9patch drawable for recents * Add 9patch to contact tile Bug: 13421236 Bug: 13418523 Bug: 13421916 Bug: 13421236 Bug: 13419201 Bug: 13418712 Change-Id: I6ff8fe41d7e2d02db105bb542f425be13ae5fef7
2014-02-24Always show overflow icon for quick contacts affordanceYorke Lee
Remove the star icon used to bring up quick contacts, and in its place, always show the overflow icon. Bug: 13177113 Change-Id: I88e99b7c45da10013f4bdff879c106fac9e23f89
2014-02-18Switch favorites screen to grid layoutYorke Lee
* Add logic to PhoneFavoritesTileAdapter so that it now supports an unlimited number of tiled rows. * Tiles now have a configurable height to width ratio. * Fix animations so that tiles moving up and down rows appear to animate in from the correct direction. Tiles moving to the row above should animate in from right to left. Tiles moving to the row below should animate in from left to right. * Update the number of columns in the grid to 2. * Update layout of individual tiles to match redlines from UX. * Tweak font sizes for tiles * No longer truncate names in tiles * Tiles have a 2-3 height to width ratio * Update assets and layout for favorite and more info icons * Add content description for the favorite button * Add tests for PhoneFavoritesTileAdapter Change-Id: I50b298f0941698985d281f13e6a87c5a9b613efa
2013-11-13Make fonts and colors consistent across views.Chiao Cheng
Updated gradient on 3 tiles to make white text pop more. Bug: 11674807 Change-Id: I6554169388aaf792fd096a32a976c66d9022b37f
2013-09-30Enlarge the click area of star in favorite tilesChristine Chen
Bug: 10980561 Change-Id: I609a45b6a16b0d8004e0983555bd0292316b0552
2013-09-24Fix some padding issues related to the top 3 favoritesYorke Lee
Also fixed a bug that would cause Index OOB exceptions if we were to use anything other than 1 row of tiled favorites. Bug: 10888792 Change-Id: I671032f48fa054847692d28a7c58836bf67c9b29
2013-09-24Restore the phone disambiguation dialogYorke Lee
As discussed: 1) If a contact has more than one phone number and no default set, don't show the phone number type. Instead, just center the contact name. 2) Clicking on a contact with more than one phone number and no default will launch the disambiguation dialog. 3) If a contact has a default phone number set or only has one phone number, show the phone number type. 4) Add phone number type to the top 3 contacts, if one is present. Change-Id: I6a60fc6111e8f9494eca5e35d7cfbaf40aa99e57
2013-09-24Adds star to indicate favorite contactsChristine Chen
- For squared tiles, stars will replace info icons when a contact is a favorite contact. And clicking on either star or info icon will bring up the quick contact card. Bug: 10862067 Change-Id: Ie0ad9e7e5969a70c3bafef5c2bb47fb84cd7ffdb
2013-09-05Use same dismissed tombstone state as GmailHongwei Wang
Bug: 10509640 Changes - Imported new undo arrows - Added divider for undo in regular favorite row - Removed italic in undo - Align start for undo text Change-Id: I3a962d842c588f4af9d9b694c1b5071665091f3a
2013-08-16Use swipe helper for swipingYorke Lee
* Use SwipeHelper for swiping, in SwipeableListView for regular favorites. SwipeHelper and SwipeableListView are copied from DeskClock, with minor modifications (to prevent swiping or call log items, and all contact buttons). * Make ContactTileRow implement SwipeHelperCallback so that tiled favorites can be swiped. * Remove PhoneFavoriteGestureListener * Add selectable item backgrounds to undo buttons on removal dialog * Moved common code shared by PhoneFavoriteRegularRowView and PhoneFavoriteSquareTileView to PhoneFavoriteTileView * Standardize layout ids for phone_favorite_regular_row_view and phone_favorite_tile_view * Add long click listener to PhoneFavoriteTileView to trigger the start of a drag and drop operation * Remove any contact entries that are in the removal dialog phase if the app is paused Bug: 10257340 Bug: 10341201 Bug: 10328093 Bug: 10290239 Bug: 10262721 Bug: 10257340 Change-Id: I20448048b658759f6de75d643d2150be5a6ba8af
2013-07-31Adds undo favorite removal dialogue redlines.Christine Chen
Change-Id: I2edcccdd4acdd3ff281132efc66e21def228002f
2013-07-31Adds Drag and Drop UI to the Dialer main view.Christine Chen
- Adds drag and drop listner. - Changes the FavoritesTileAdapter to use an array stored in cache to populate the view. - Adds animation for drag and drop. - Adds swipe to delete an entry. Change-Id: I0717fb3d256b2ab2353f86a998de07edb24e9b4c
2013-07-30Change overlay and styles for contact tilesYorke Lee
* Add shadow overlay * Change font and color of contact tile name * Change various padding values Change-Id: I298a2cc58ed3cf1ab310bb5c5cfc243e3eee117e
2013-07-22Style and layout changes to match redlinesYorke Lee
* Swapped out some icons with newly added assets. * Changed search view into edit text with accompanying close button so that it can be more easily styled. * Changed various background colors. * Tweaked padding values to match redlines * Removed margins from PhoneFavoriteRegularRowView and PhoneFavoriteTileView and instead use a standardized set of margins for all rows in PhoneFavoritesTileAdapter * Added bottom_border_background drawable to create a bordered background. * Remove PhoneFavoritesTileAdapter.ViewTypes.STARRED/STARRED_PHONE since they are no longer relevant Change-Id: I65dfd5adf6cfbcb2c9d283aef2bd10e5d2a82dc7
2013-07-16Initial commit of all new dialer activities, layouts and stylesYorke Lee
As far as possible, this change does not modify any behavior/look of the existing dialer. All modifications to classes/layouts/style attributes that would affect functionality of the old dialer are instead done in separate new files. Added new versions of all activities, fragments, layouts, menus and resources that have been rewritten or modified. The activities do not have intent filters yet in order to not interfere with the existing dialer. Added some new values in colors/styles/dimens for the newly added layouts. Added NewCallLogActivity to separate the CallLogFragment from DialtactsActivity. All call log and voicemail entries are now presented in a separate (New)CallLogActivity. IntentProvider.getCallDetailIntent now takes a cursor instead of an adapter for more flexibility. Add OnListFragmentScrolledListener interface for DialtactsActivity to receive callback when one of its children fragment is scrolled. Added slide in and slide out animations for DialpadFragment. Add slide up and hide animations for search view All menu options now show up in a PopupMenu in NewPhoneFavoriteFragment. Added call log adapter into NewPhoneFavoriteMergedAdapter. Rewrote layout of DialpadFragment to show up as a fragment partially overlaying the screen. Removed some unused code in DialpadFragment (smart dialing, menu handling) Add fragments and adapters for SmartDial. - Update Dialer database to support highlight masking and record contact data Uri, as well as photo uri - Add a fragment and adapter for smart dialing - Add SmartDialCursorLoader to load SmartDial results. - Typing in the dialpad now returns smart dialing results instead of regular search results QuickContactTiles for all sub-adapters of PhoneFavoriteMergedAdapter now use light theme instead of the the default dark theme. Removed all redundant call log filter and contacts to display filter code Moved Dialer specific UI list-related classes to the Dialer package Change-Id: I34885813e4fa79b69e29ac870a87a56d6f08a5e7