Rename resource to avoid resource override when generating screenshot.
This commit is contained in:
parent
7ce58fee6c
commit
427ccb41c3
5 changed files with 6 additions and 6 deletions
|
|
@ -33,7 +33,7 @@ internal fun IconPreview() {
|
||||||
Image(painter = painterResource(id = R.mipmap.ic_launcher_background), contentDescription = null)
|
Image(painter = painterResource(id = R.mipmap.ic_launcher_background), contentDescription = null)
|
||||||
Image(
|
Image(
|
||||||
modifier = Modifier.align(Alignment.Center),
|
modifier = Modifier.align(Alignment.Center),
|
||||||
painter = painterResource(id = R.mipmap.ic_launcher_foreground),
|
painter = painterResource(id = R.mipmap.ic_launcher_foreground_enterprise),
|
||||||
contentDescription = null,
|
contentDescription = null,
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
|
@ -46,7 +46,7 @@ internal fun RoundIconPreview() {
|
||||||
Image(painter = painterResource(id = R.mipmap.ic_launcher_background), contentDescription = null)
|
Image(painter = painterResource(id = R.mipmap.ic_launcher_background), contentDescription = null)
|
||||||
Image(
|
Image(
|
||||||
modifier = Modifier.align(Alignment.Center),
|
modifier = Modifier.align(Alignment.Center),
|
||||||
painter = painterResource(id = R.mipmap.ic_launcher_foreground),
|
painter = painterResource(id = R.mipmap.ic_launcher_foreground_enterprise),
|
||||||
contentDescription = null,
|
contentDescription = null,
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -16,6 +16,6 @@
|
||||||
-->
|
-->
|
||||||
|
|
||||||
<adaptive-icon xmlns:android="http://schemas.android.com/apk/res/android">
|
<adaptive-icon xmlns:android="http://schemas.android.com/apk/res/android">
|
||||||
<background android:drawable="@drawable/ic_launcher_background"/>
|
<background android:drawable="@drawable/ic_launcher_background_enterprise"/>
|
||||||
<foreground android:drawable="@mipmap/ic_launcher_foreground"/>
|
<foreground android:drawable="@mipmap/ic_launcher_foreground_enterprise"/>
|
||||||
</adaptive-icon>
|
</adaptive-icon>
|
||||||
|
|
|
||||||
|
|
@ -16,6 +16,6 @@
|
||||||
-->
|
-->
|
||||||
|
|
||||||
<adaptive-icon xmlns:android="http://schemas.android.com/apk/res/android">
|
<adaptive-icon xmlns:android="http://schemas.android.com/apk/res/android">
|
||||||
<background android:drawable="@drawable/ic_launcher_background" />
|
<background android:drawable="@drawable/ic_launcher_background_enterprise" />
|
||||||
<foreground android:drawable="@mipmap/ic_launcher_foreground" />
|
<foreground android:drawable="@mipmap/ic_launcher_foreground_enterprise" />
|
||||||
</adaptive-icon>
|
</adaptive-icon>
|
||||||
|
|
|
||||||
|
Before Width: | Height: | Size: 17 KiB After Width: | Height: | Size: 17 KiB |
Loading…
Add table
Add a link
Reference in a new issue