Merge "Fix white text on light accent color issue for all apps and widgets drawer" into sc-dev

This commit is contained in:
Hyunyoung Song 2021-05-12 16:42:09 +00:00 committed by Android (Google) Code Review
commit 15df06d05e
3 changed files with 4 additions and 4 deletions

View File

@ -14,6 +14,6 @@
limitations under the License.
-->
<selector xmlns:android="http://schemas.android.com/apk/res/android">
<item android:color="@android:color/white" android:state_selected="true"/>
<item android:color="?android:attr/textColorPrimaryInverse" android:state_selected="true"/>
<item android:color="?android:attr/textColorTertiary"/>
</selector>

View File

@ -35,7 +35,7 @@
android:background="?android:attr/selectableItemBackground"
android:text="@string/all_apps_personal_tab"
android:textColor="@color/all_apps_tab_text"
android:textSize="14sp" />
android:textSize="16sp" />
<Button
android:id="@+id/tab_work"
@ -45,5 +45,5 @@
android:background="?android:attr/selectableItemBackground"
android:text="@string/all_apps_work_tab"
android:textColor="@color/all_apps_tab_text"
android:textSize="14sp" />
android:textSize="16sp" />
</com.android.launcher3.workprofile.PersonalWorkSlidingTabStrip>

View File

@ -200,7 +200,7 @@
<item name="android:alpha">0</item>
<item name="android:elevation">3dp</item>
<item name="android:saveEnabled">false</item>
<item name="android:textColor">@android:color/white</item>
<item name="android:textColor">?android:attr/textColorPrimaryInverse</item>
<item name="android:includeFontPadding">false</item>
<item name="android:importantForAccessibility">no</item>
</style>