From a0cc0903e8295a8febebd771503b74c9d302b14e Mon Sep 17 00:00:00 2001 From: Andy Wickham Date: Wed, 18 Aug 2021 15:17:54 -1000 Subject: [PATCH] Adds additional pages to Taskbar Edu. Currently there are pages for the following: - Splitscreen - Customize (add apps/predicted apps) - Docking (long press to hide) At the moment they all use the same placeholder image from before. Button states: Page 1: Close and Next Page 2: Back and Next Page 3: Back and Done You can also swipe left and right between the pages. Demo: https://drive.google.com/file/d/1_D3i-jZxCRRVHV92p6hG5cm3VGcJ_bhK/view?usp=sharing&resourcekey=0-KHLHTTx67JlmVv-UZoAUAw Bug: 180605356 Test: Manual Change-Id: Ibbb81610a611f6ca412e53ed90dc1c67764f417e --- quickstep/res/layout/taskbar_edu.xml | 120 ++++++++++++++---- quickstep/res/values/strings.xml | 24 +++- quickstep/res/values/styles.xml | 2 + .../taskbar/TaskbarEduController.java | 28 +++- .../taskbar/TaskbarEduPagedView.java | 79 ++++++++++++ .../launcher3/taskbar/TaskbarEduView.java | 38 +++++- 6 files changed, 260 insertions(+), 31 deletions(-) create mode 100644 quickstep/src/com/android/launcher3/taskbar/TaskbarEduPagedView.java diff --git a/quickstep/res/layout/taskbar_edu.xml b/quickstep/res/layout/taskbar_edu.xml index b7717b71be..ef57a53690 100644 --- a/quickstep/res/layout/taskbar_edu.xml +++ b/quickstep/res/layout/taskbar_edu.xml @@ -17,6 +17,7 @@ - + launcher:pageIndicator="@+id/content_page_indicator"> - + + + + + + + + + + + + + + + + + + + + +