Skip to content

Commit 5eabeb3

Browse files
authored
Add pink app icon (#6531)
Task/Issue URL: https://app.asana.com/1/137249556945/project/488551667048375/task/1210966431908701?focus=true ### Description - Adds a pink app icon. ### Steps to test this PR - [x] Go to Appearance > App Icon - [x] Select the pink app icon - [x] Verify that the icon is changed to the pink one ### UI changes <img width="1080" height="824" alt="Screenshot_20250805_202830" src="https://github.com/user-attachments/assets/782dfb52-24b2-4e89-b3e3-827635e307ab" /> <img width="1080" height="476" alt="Screenshot_20250805_203111" src="https://github.com/user-attachments/assets/d81664ad-ff85-43f6-a189-4d0bedcf2bd5" />
1 parent 59d5f98 commit 5eabeb3

File tree

5 files changed

+64
-0
lines changed

5 files changed

+64
-0
lines changed

app/src/main/AndroidManifest.xml

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -105,6 +105,21 @@
105105
</intent-filter>
106106
</activity-alias>
107107

108+
<activity-alias
109+
android:name="com.duckduckgo.app.launch.LauncherPink"
110+
android:enabled="false"
111+
android:exported="true"
112+
android:icon="@mipmap/ic_launcher_pink"
113+
android:roundIcon="@mipmap/ic_launcher_pink_round"
114+
android:targetActivity="com.duckduckgo.app.launch.LaunchBridgeActivity">
115+
<intent-filter>
116+
<action android:name="android.intent.action.MAIN" />
117+
118+
<category android:name="android.intent.category.LAUNCHER" />
119+
<category android:name="android.intent.category.APP_BROWSER" />
120+
</intent-filter>
121+
</activity-alias>
122+
108123
<activity-alias
109124
android:name="com.duckduckgo.app.launch.LauncherBlue"
110125
android:enabled="false"

app/src/main/java/com/duckduckgo/app/icon/api/AppIconModifier.kt

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,10 @@ enum class AppIcon(
4646
componentName = "$QUALIFIER.Launcher",
4747
icon = R.mipmap.ic_launcher_red_round,
4848
),
49+
PINK(
50+
componentName = "$QUALIFIER.LauncherPink",
51+
icon = R.mipmap.ic_launcher_pink_round,
52+
),
4953
GOLD(
5054
componentName = "$QUALIFIER.LauncherGold",
5155
icon = R.mipmap.ic_launcher_gold,
Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<!--
3+
~ Copyright (c) 2025 DuckDuckGo
4+
~
5+
~ Licensed under the Apache License, Version 2.0 (the "License");
6+
~ you may not use this file except in compliance with the License.
7+
~ You may obtain a copy of the License at
8+
~
9+
~ http://www.apache.org/licenses/LICENSE-2.0
10+
~
11+
~ Unless required by applicable law or agreed to in writing, software
12+
~ distributed under the License is distributed on an "AS IS" BASIS,
13+
~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14+
~ See the License for the specific language governing permissions and
15+
~ limitations under the License.
16+
-->
17+
18+
<adaptive-icon xmlns:android="http://schemas.android.com/apk/res/android">
19+
<background android:drawable="@color/ic_launcher_pink_background"/>
20+
<foreground android:drawable="@mipmap/ic_launcher_foreground"/>
21+
<monochrome android:drawable="@mipmap/ic_launcher_silhouette_foreground"/>
22+
</adaptive-icon>
Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<!--
3+
~ Copyright (c) 2025 DuckDuckGo
4+
~
5+
~ Licensed under the Apache License, Version 2.0 (the "License");
6+
~ you may not use this file except in compliance with the License.
7+
~ You may obtain a copy of the License at
8+
~
9+
~ http://www.apache.org/licenses/LICENSE-2.0
10+
~
11+
~ Unless required by applicable law or agreed to in writing, software
12+
~ distributed under the License is distributed on an "AS IS" BASIS,
13+
~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14+
~ See the License for the specific language governing permissions and
15+
~ limitations under the License.
16+
-->
17+
18+
<adaptive-icon xmlns:android="http://schemas.android.com/apk/res/android">
19+
<background android:drawable="@color/ic_launcher_pink_background"/>
20+
<foreground android:drawable="@mipmap/ic_launcher_foreground"/>
21+
<monochrome android:drawable="@mipmap/ic_launcher_silhouette_foreground"/>
22+
</adaptive-icon>

common/common-ui/src/main/res/values/design-system-colors.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -247,6 +247,7 @@
247247
<color name="ic_launcher_purple_background">#7A4BDC</color>
248248
<color name="ic_launcher_blue_background">#4179ED</color>
249249
<color name="ic_launcher_black_background">#262626</color>
250+
<color name="ic_launcher_pink_background">#E37089</color>
250251
</resources>
251252

252253
<!-- Opacity Prefixes

0 commit comments

Comments
 (0)