From 510a64d099aa0c87244388c314927cfacf373ce3 Mon Sep 17 00:00:00 2001 From: Mario Bertschler Date: Wed, 15 Nov 2017 11:53:32 -0800 Subject: Adding a sliding tab strip to the custom tab layout. Bug: 68713881 Change-Id: Ib0873482f80903611f183ccf430185f40a292f8e --- res/color/all_apps_tab_text.xml | 19 ++++ res/layout/all_apps.xml | 8 +- res/values/dimens.xml | 1 + .../launcher3/allapps/AllAppsContainerView.java | 5 +- .../android/launcher3/views/SlidingTabStrip.java | 107 +++++++++++++++++++++ 5 files changed, 136 insertions(+), 4 deletions(-) create mode 100644 res/color/all_apps_tab_text.xml create mode 100644 src/com/android/launcher3/views/SlidingTabStrip.java diff --git a/res/color/all_apps_tab_text.xml b/res/color/all_apps_tab_text.xml new file mode 100644 index 000000000..f0c6310ad --- /dev/null +++ b/res/color/all_apps_tab_text.xml @@ -0,0 +1,19 @@ + + + + + + \ No newline at end of file diff --git a/res/layout/all_apps.xml b/res/layout/all_apps.xml index 05f509f13..832aaeff4 100644 --- a/res/layout/all_apps.xml +++ b/res/layout/all_apps.xml @@ -44,8 +44,8 @@ android:layout_width="match_parent" android:layout_height="wrap_content"/> -