Need some help here puhlease.... I'm following the directions for displaying a full screen image as the splash and the additional comments from leoken23 in regards to landscape mode use.
styles.xml (in res/values)
<resources>
<style name="Theme.NoShadow" parent="android:style/Theme.NoTitleBar">
<item name="android:windowBackground">@drawable/splash_background</item>
<item name="android:windowDrawsSystemBarBackgrounds">true</item>
<item name="android:windowTranslucentStatus">true</item>
<item name="android:windowTranslucentNavigation">true</item>
</style>
</resources>
splash-background.xml (in res/drawable)
<?xml version="1.0" encoding="utf-8"?>
<layer-list xmlns:android="http://schemas.android.com/apk/res/android">
<item>
<bitmap
android:gravity="center"
android:src="@drawable/splash_image_land" />
</item>
</layer-list>
I also have a png file in the same folder: "splash_image_land.png"
I also made a new folder "layout-land" located in: (app_entry/res). There is also a folder just called "Layout" in the res folder so I'm assuming this is the correct folder.
In the "layout-land" folder I have a copy of "splash-background.xml":
<?xml version="1.0" encoding="utf-8"?>
<layer-list xmlns:android="http://schemas.android.com/apk/res/android">
<item>
<bitmap
android:gravity="center"
android:src="@drawable/splash_image_land" />
</item>
</layer-list>
I am getting a splash screen to show up. But it appears to be scaled twice the size. The device I'm testing on is in landscape mode running at 1920x1080. If I place a 1920x1080 png splash image, it seems to be double size when displayed. So for testing I created a half size 960x540 images instead and it looks fine. It's full screen and not cropped in the middle, etc. But obviously it's not utilizing the full resolution of the device. Any idea why this splash image is being scaled twice as large?
Also, assuming I get this working, since I'm not going to be using a custom resource ane, where do I place the other splash images to support the other device resolutions and what file names do I make them? Thx for any help.