mirror of
https://github.com/LawnchairLauncher/lawnchair.git
synced 2026-03-01 00:06:47 +00:00
Implement light mode for persistent Taskbar.
NavbarButtonsViewController has been massaged to make sure the buttons contrast well with the color of the Taskbar background that they are on, if applicable. Test: Manual Fix: 268052229 Change-Id: I917a1a1be013c304910b0f674ae8a13abb8e47a1 Merged-In: I917a1a1be013c304910b0f674ae8a13abb8e47a1
This commit is contained in:
@@ -142,9 +142,8 @@ public class TaskbarView extends FrameLayout implements FolderIcon.FolderIconPar
|
||||
: R.drawable.ic_taskbar_all_apps_button));
|
||||
mAllAppsButton.setScaleX(mIsRtl ? -1 : 1);
|
||||
mAllAppsButton.setPadding(mItemPadding, mItemPadding, mItemPadding, mItemPadding);
|
||||
mAllAppsButton.setForegroundTint(mActivityContext.getColor(isTransientTaskbar
|
||||
? R.color.all_apps_button_color
|
||||
: R.color.all_apps_button_color_dark));
|
||||
mAllAppsButton.setForegroundTint(
|
||||
mActivityContext.getColor(R.color.all_apps_button_color));
|
||||
|
||||
if (FeatureFlags.ENABLE_TASKBAR_PINNING.get()) {
|
||||
mTaskbarDivider = LayoutInflater.from(context).inflate(R.layout.taskbar_divider,
|
||||
|
||||
Reference in New Issue
Block a user