diff --git a/res/values-v31/colors.xml b/res/values-v31/colors.xml
index 985fe77f62..0c036ff314 100644
--- a/res/values-v31/colors.xml
+++ b/res/values-v31/colors.xml
@@ -28,6 +28,9 @@
@android:color/system_accent1_100
@android:color/system_accent2_600
+ @android:color/system_accent3_200
+ @android:color/system_accent3_100
+
@android:color/system_neutral1_0
@android:color/system_neutral1_1000
@@ -40,7 +43,6 @@
@android:color/system_neutral1_900
- @android:color/system_accent3_100
@android:color/system_accent1_600
@android:color/system_accent2_100
diff --git a/res/values/attrs.xml b/res/values/attrs.xml
index 813653446d..418f5a73d1 100644
--- a/res/values/attrs.xml
+++ b/res/values/attrs.xml
@@ -40,8 +40,8 @@
+
-
@@ -90,7 +90,6 @@
-
diff --git a/res/values/colors.xml b/res/values/colors.xml
index 9e734535d1..b1bff18c8a 100644
--- a/res/values/colors.xml
+++ b/res/values/colors.xml
@@ -54,6 +54,9 @@
#FFF
#757575
+ #6DD58C
+ #C4EED0
+
#FFF
#FF000000
@@ -66,7 +69,6 @@
#F9F9F9
#464746
- ?attr/colorPrimary
#ff006c5f
#ffbfebe3
diff --git a/res/values/styles.xml b/res/values/styles.xml
index 11861b9884..8f75550e10 100644
--- a/res/values/styles.xml
+++ b/res/values/styles.xml
@@ -41,6 +41,7 @@
- @color/popup_shade_second_light
- @color/popup_shade_third_light
- @color/popup_notification_dot_light
+ - @color/notification_dot_color_light
- false
- false
- @color/workspace_text_color_light
@@ -49,7 +50,6 @@
- #89000000
- @drawable/workspace_bg
- @style/WidgetContainerTheme
- - @color/folder_dot_color
- @color/folder_pagination_color_light
- @color/folder_preview_light
- @color/folder_background_light
@@ -109,8 +109,8 @@
- @color/popup_shade_first_dark
- @color/popup_shade_second_dark
- @color/popup_shade_third_dark
+ - @color/notification_dot_color_dark
- @style/WidgetContainerTheme.Dark
- - @color/folder_dot_color
- @color/folder_pagination_color_dark
- @color/folder_preview_dark
- @color/folder_background_dark
diff --git a/src/com/android/launcher3/BubbleTextView.java b/src/com/android/launcher3/BubbleTextView.java
index 450a9f0069..f920d7507c 100644
--- a/src/com/android/launcher3/BubbleTextView.java
+++ b/src/com/android/launcher3/BubbleTextView.java
@@ -77,6 +77,7 @@ import com.android.launcher3.util.IntArray;
import com.android.launcher3.util.MultiTranslateDelegate;
import com.android.launcher3.util.SafeCloseable;
import com.android.launcher3.util.ShortcutUtil;
+import com.android.launcher3.util.Themes;
import com.android.launcher3.views.ActivityContext;
import com.android.launcher3.views.IconLabelDotView;
@@ -387,8 +388,7 @@ public class BubbleTextView extends TextView implements ItemInfoUpdateReceiver,
}
FastBitmapDrawable iconDrawable = info.newIcon(getContext(), flags);
mDotParams.appColor = iconDrawable.getIconColor();
- mDotParams.dotColor = getContext().getResources()
- .getColor(android.R.color.system_accent3_200, getContext().getTheme());
+ mDotParams.dotColor = Themes.getAttrColor(getContext(), R.attr.notificationDotColor);
setIcon(iconDrawable);
applyLabel(info);
}
diff --git a/src/com/android/launcher3/folder/PreviewBackground.java b/src/com/android/launcher3/folder/PreviewBackground.java
index 2465745f47..406955c417 100644
--- a/src/com/android/launcher3/folder/PreviewBackground.java
+++ b/src/com/android/launcher3/folder/PreviewBackground.java
@@ -43,6 +43,7 @@ import android.view.View;
import com.android.launcher3.CellLayout;
import com.android.launcher3.DeviceProfile;
import com.android.launcher3.R;
+import com.android.launcher3.util.Themes;
import com.android.launcher3.views.ActivityContext;
/**
@@ -150,7 +151,7 @@ public class PreviewBackground extends CellLayout.DelegatedCellDrawing {
mInvalidateDelegate = invalidateDelegate;
TypedArray ta = context.getTheme().obtainStyledAttributes(R.styleable.FolderIconPreview);
- mDotColor = ta.getColor(R.styleable.FolderIconPreview_folderDotColor, 0);
+ mDotColor = Themes.getAttrColor(context, R.attr.notificationDotColor);
mStrokeColor = ta.getColor(R.styleable.FolderIconPreview_folderIconBorderColor, 0);
mBgColor = ta.getColor(R.styleable.FolderIconPreview_folderPreviewColor, 0);
ta.recycle();