summaryrefslogtreecommitdiffstats
path: root/res/layout/widget_cell.xml
Commit message (Collapse)AuthorAgeFilesLines
* 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