OSDN Git Service

Add WidgetsAndMore bottom sheet
authorTony Wickham <twickham@google.com>
Tue, 21 Mar 2017 00:12:24 +0000 (17:12 -0700)
committerTony Wickham <twickham@google.com>
Thu, 30 Mar 2017 22:48:53 +0000 (15:48 -0700)
commit50e5165b78c75ccb022f0954699f49c579547115
tree754a3dfe45fbed74cb3b122312304cf406226ebf
parent8eb0de133154666cd20d0244953ee755b626b44a
Add WidgetsAndMore bottom sheet

- Contains two rows, one for widgets, and one for "configurable
  shortcuts" that have customization activities
- Extends AbstractFloatingView and uses VerticalPullDetector for
  touch interactions
- No way to show this currently; will add options to popup in followup

Bug: 34940468
Change-Id: Iab62c2cb89428f91119c9c86f9db886496c321fd
res/layout/widgets_and_more.xml [new file with mode: 0644]
res/layout/widgets_scroll_container.xml [new file with mode: 0644]
res/values/strings.xml
src/com/android/launcher3/AbstractFloatingView.java
src/com/android/launcher3/Launcher.java
src/com/android/launcher3/dragndrop/DragLayer.java
src/com/android/launcher3/folder/Folder.java
src/com/android/launcher3/popup/PopupContainerWithArrow.java
src/com/android/launcher3/widget/WidgetCell.java
src/com/android/launcher3/widget/WidgetsAndMore.java [new file with mode: 0644]
src/com/android/launcher3/widget/WidgetsContainerView.java