Skip to content

Commit

Permalink
Update sample app icon
Browse files Browse the repository at this point in the history
  • Loading branch information
ab-gnm committed Feb 12, 2025
1 parent 50e2300 commit 31e4b7f
Show file tree
Hide file tree
Showing 24 changed files with 10 additions and 218 deletions.
1 change: 0 additions & 1 deletion android/sample/src/main/AndroidManifest.xml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@
android:fullBackupContent="@xml/backup_rules"
android:icon="@mipmap/ic_launcher"
android:label="@string/app_name"
android:roundIcon="@mipmap/ic_launcher_round"
android:supportsRtl="true"
android:theme="@style/Theme.SourceForAndroid"
tools:targetApi="31">
Expand Down
Binary file added android/sample/src/main/ic_launcher-playstore.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Original file line number Diff line number Diff line change
Expand Up @@ -17,17 +17,13 @@ import androidx.compose.ui.text.style.TextOverflow
import androidx.compose.ui.tooling.preview.Preview
import androidx.compose.ui.unit.dp
import com.gu.source.Source
import com.gu.source.components.buttons.SourceButton
import com.gu.source.components.buttons.SourceIconButton
import com.gu.source.daynight.AppColour
import com.gu.source.daynight.AppColourMode
import com.gu.source.icons.*
import com.gu.source.icons.base.*
import com.gu.source.presets.palette.Neutral0
import com.gu.source.presets.palette.Neutral100
import com.gu.source.presets.typography.HeadlineBold20
import com.gu.source.presets.typography.TextSans15
import com.gu.source.presets.typography.TextSansBold15

private val icons = listOf(
Source.Icons.Base.AddToBasket,
Expand Down Expand Up @@ -227,7 +223,7 @@ internal fun IconsPreview(modifier: Modifier = Modifier) {
) {
LazyVerticalGrid(
columns = GridCells.Fixed(2),
contentPadding = PaddingValues(vertical = 8.dp),
contentPadding = PaddingValues(all = 8.dp),
) {
item(span = { GridItemSpan(2) }) {
Text(
Expand Down
170 changes: 0 additions & 170 deletions android/sample/src/main/res/drawable/ic_launcher_background.xml

This file was deleted.

30 changes: 0 additions & 30 deletions android/sample/src/main/res/drawable/ic_launcher_foreground.xml

This file was deleted.

5 changes: 5 additions & 0 deletions android/sample/src/main/res/mipmap-anydpi-v26/ic_launcher.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<adaptive-icon xmlns:android="http://schemas.android.com/apk/res/android">
<background android:drawable="@color/ic_launcher_background"/>
<foreground android:drawable="@mipmap/ic_launcher_foreground"/>
</adaptive-icon>
6 changes: 0 additions & 6 deletions android/sample/src/main/res/mipmap-anydpi/ic_launcher.xml

This file was deleted.

This file was deleted.

Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
4 changes: 4 additions & 0 deletions android/sample/src/main/res/values/ic_launcher_background.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
<?xml version="1.0" encoding="utf-8"?>
<resources>
<color name="ic_launcher_background">#FFFFFF</color>
</resources>

0 comments on commit 31e4b7f

Please sign in to comment.