summaryrefslogtreecommitdiffstats
path: root/res/layout/widget_cell.xml
Commit message (Collapse)AuthorAgeFilesLines
* Adding support for showing the widget preview based on the provided RemoteViewsSunny Goyal2017-03-171-44/+1
| | | | | Bug: 35811129 Change-Id: I336e48cd00cfec2e617ac73bd8a81419b0944aa7
* Updating widget tray themeSunny Goyal2017-02-091-7/+5
| | | | | | | | | | Using standard theme attributes rather than custom color codes, so that it plays nice with system theme changes. Bug: 34819119 Bug: 34897402 Bug: 21446746 Change-Id: I265fba3ceae8873650fd09e4704838d313155e83
* Updating widget preview generation to not embed any badge.Sunny Goyal2017-01-191-3/+2
| | | | | | | | | Instead drawing badge in the view directly. This will allow us to reuse the same preview when we do not want to draw badges. This also simplified badging of shortcut config activities. Change-Id: I9c07c33bf9c2b8ef81a00026b1d42587868c906f
* Update Launcher to use theme colors.Andrew Sapperstein2016-06-201-1/+1
| | | | | | | | | | | | | | | | | | | Instead of using hard-coded variants of colors, use the theme color that corresponds (colorAccent, colorPrimary, etc). Updated: - "Search for more apps" text - App info drop target hover color - PageIndicatorDots - All apps & widget scroll bar & scroll popup colors - All apps section text color - widget picker background color TODO: - widget picker header color BUG: 28625102 Change-Id: I74b543ff71b8caef8cd950c8183ac84c759cb4d5
* Widget cell improvementSunny Goyal2015-05-191-15/+10
| | | | | | | | | > Using a custom view for preview, instead of extensing image view > Preventing relayout when applying preview > Removing unnecessary method calls Bug: 21133230 Change-Id: Iab12fa1e5c871ee43a9fb0e6b6af897fecfb345f
* Changing the text sizes in the widget tray based on feedback from UXHyunyoung Song2015-05-141-2/+2
| | | | Change-Id: Ide984049a326a6629269e90be3468a53a9dc60e3
* Fixing several layout issues.Hyunyoung Song2015-05-121-7/+5
| | | | | | | | | | | | | | - N7/N9 indented area should not block scroll view - separator at the end of the widget cell should not show up on the last item. Not covered in this CL: - Guarantee that last item is showing only 20~40%. Right now, the hand picked constant works for N5,6,7,9 b/20338324 b/20763871 Change-Id: I274ab95c6c3e2fc8be8ceafb2e8172c0174a41a5
* Ensure that clipping widget size is 20~40% of its width on every devicesHyunyoung Song2015-05-111-3/+3
| | | | | | | b/20338324 b/20763871 Change-Id: I69114cb6dfec95c473313a440a6db76a052e5601
* WidgetTray UI - change text color for the section and widget nameHyunyoung Song2015-05-011-2/+2
| | | | Change-Id: I8ce966d151bc62a9eb23ca3fa8c13c3aeb0c7f37
* Widget tray alignment according to UX specHyunyoung Song2015-04-271-5/+3
| | | | | | | | | - Fixing an issue where widget preview is not loaded do to faulty canceling of loading async task when view is detached from the window. b/20338334 Change-Id: I1e3bd6b6cdafda8d1e0a7a0e87c8089100c341a7
* Add drop animation / Toast to widgettrayHyunyoung Song2015-04-231-2/+2
| | | | | | | | | | | - show instruction toast on clicking the widget - Add animation when widget drops on the workspace. Added WidgetHostViewLoader to handle short press and assign widget host view to enable animation b/19897708 Change-Id: Iec36d72cb21bf09343d0beeb31a09bf8b0cb5e0d
* Widgettray UI tweak that introduces bounding box around the widgets.Hyunyoung Song2015-04-221-3/+4
| | | | | | | | Note: waiting on more polished UX spec right now. But until then, these padding and dimensions are what is used to get the bounding box around the widgets. Change-Id: I7a6a5fa04bbdb135b39291cb671b9a719fcdc4fc
* WidgetTray UI tweakHyunyoung Song2015-04-191-7/+5
| | | | | | | | | | | - set fixed image view width - fade in when widget bitmap populates - widget dimension is next to the widget name text. - elevation of the widgets content and the reveal view is the same b/19897708 Change-Id: Ia656144412e7d63a491ce67ff15fb58c05d9a9d9
* WidgetTray improvementHyunyoung Song2015-04-131-1/+0
| | | | | | | | | | | | | | | | | | UI - Fixing the issue of widget row not rendering - Moved the resetting of previous bitmap to the start of onBind instead of the onDetachedWindow. Performance - WidgetModel do not have to keep packageName list around. Will com in immediate follow up CLs - use lowRes widgets bitmap before fully loading the fullRes one. - application icons are fully loaded in background thread. b/19897708 Change-Id: I5b3b43a5c543a5135c395f90df32e66d57dc86e0
* WidgetTray UI improvementHyunyoung Song2015-04-091-1/+1
| | | | | | | | | | - Long application title should be ellipsized - Disable the drawable when the view is no longer attached to the window - Save the PackageItemInfo to the WidgetModel once full res icon bitmap is loaded b/19897708 Change-Id: I96f260f9d165b206905a127fcee9879556c3d0c4
* WidgetTray revamp workHyunyoung Song2015-04-081-0/+85
- RecyclerView is rendering - Animation is connected - Drag and drop is now handled - UI tweaking: background, margins, more to come. - Flicker and preview not loading issue: fixed height for the horizontal scroll view. - Shortcuts are added - Widget Preview loading should support shortPress for drop - UI tweaks left: overlay of arrow when there are more items to scroll - icons are added in the section header - Sorting of widget sections and widget horizontal list - Adding all the padding constants to dimen.xml file - RecyclerView should only support one view type For items to be addressed in follow up patches OR CLs, TODO is added to the comment. b/19897708 Change-Id: Ibfc4da1696a23d20bada93db46e126706eb13cdc