Skip to content
Permalink
Browse files
chore(docs): Update missing default resources for Android #689 (#291)
  • Loading branch information
distante committed Oct 19, 2020
1 parent b0a866c commit 642549590b8352df50ff84fcfeffe9393f8dc839
Showing 1 changed file with 14 additions and 0 deletions.
@@ -193,13 +193,27 @@ For more examples, please see [the Example Configuration](#example-android-confi

```xml
<platform name="android">
<!-- Default
Note: You should specify default resources for each density.
-- For instance, if the device(hdpi) is in landscape orientation and [density="land-hdpi"]
-- does not exists, [density="hdpi"] will be selected
If you do not declare this you will get MissingDefaultResource lint check errors.
-->
<splash src="res/screen/android/splash-port-hdpi.png" density="hdpi"/>
<splash src="res/screen/android/splash-port-ldpi.png" density="ldpi"/>
<splash src="res/screen/android/splash-port-mdpi.png" density="mdpi"/>
<splash src="res/screen/android/splash-port-xhdpi.png" density="xhdpi"/>
<splash src="res/screen/android/splash-port-xxhdpi.png" density="xxhdpi"/>

<!-- Landscape -->
<splash src="res/screen/android/splash-land-hdpi.png" density="land-hdpi" />
<splash src="res/screen/android/splash-land-ldpi.png" density="land-ldpi" />
<splash src="res/screen/android/splash-land-mdpi.png" density="land-mdpi" />
<splash src="res/screen/android/splash-land-xhdpi.png" density="land-xhdpi" />
<splash src="res/screen/android/splash-land-xxhdpi.png" density="land-xxhdpi" />
<splash src="res/screen/android/splash-land-xxxhdpi.png" density="land-xxxhdpi" />

<!-- Portrait -->
<splash src="res/screen/android/splash-port-hdpi.png" density="port-hdpi" />
<splash src="res/screen/android/splash-port-ldpi.png" density="port-ldpi" />
<splash src="res/screen/android/splash-port-mdpi.png" density="port-mdpi" />

0 comments on commit 6425495

Please sign in to comment.