Tab indicator of work tab should be in orange color
Also fix the tab according to the spec.
Fix: 70272233
Change-Id: Ib4a0446d52a8488aadada1b823b3f541c4031d43
diff --git a/res/layout/all_apps.xml b/res/layout/all_apps.xml
index 6e91095..73ed38a 100644
--- a/res/layout/all_apps.xml
+++ b/res/layout/all_apps.xml
@@ -50,29 +50,35 @@
android:layout_height="wrap_content"
android:layout_alignBottom="@+id/tabs" />
- <com.android.launcher3.views.SlidingTabStrip
+ <com.android.launcher3.allapps.PersonalWorkSlidingTabStrip
android:id="@+id/tabs"
android:layout_width="match_parent"
android:layout_height="@dimen/all_apps_header_tab_height"
android:layout_below="@id/header_content"
- android:orientation="horizontal" >
+ android:orientation="horizontal">
<Button
android:id="@+id/tab_personal"
android:layout_width="0dp"
android:layout_height="match_parent"
android:layout_weight="1"
+ android:background="?android:attr/selectableItemBackground"
+ android:fontFamily="sans-serif-medium"
android:text="@string/all_apps_personal_tab"
+ android:textAllCaps="true"
android:textColor="@color/all_apps_tab_text"
- android:background="?android:attr/selectableItemBackground"/>
+ android:textSize="14sp"/>
<Button
android:id="@+id/tab_work"
android:layout_width="0dp"
android:layout_height="match_parent"
android:layout_weight="1"
+ android:background="?android:attr/selectableItemBackground"
+ android:fontFamily="sans-serif-medium"
android:text="@string/all_apps_work_tab"
- android:textColor="@color/all_apps_tab_text"
- android:background="?android:attr/selectableItemBackground"/>
- </com.android.launcher3.views.SlidingTabStrip>
+ android:textAllCaps="true"
+ android:textColor="@color/all_apps_work_tab_text"
+ android:textSize="14sp"/>
+ </com.android.launcher3.allapps.PersonalWorkSlidingTabStrip>
</com.android.launcher3.allapps.FloatingHeaderView>
<!-- Note: we are reusing/repurposing a system attribute for search layout, because of a