concept background.png in category nativescript

appears as: background.png, background.png
NativeScript in Action

This is an excerpt from Manning's book NativeScript in Action.

Listing 12.2 The splash_screen.xml file, which defines a NativeScript app’s launch screen
<layer-list xmlns:android="http://schemas.android.com/apk/res/android" android:gravity="fill"> <item> <bitmap android:gravity="fill" android:src="@drawable/background" /> #1 </item> <item> <bitmap android:gravity="center" android:src="@drawable/logo" /> #2 </item> </layer-list> #1 Points to background.png, an image filling the background of the launch screen #2 Points to logo.png, the image centered on the launch screen
Figure 12.12 The drawable-* folders containing background.png and logo.png files, used to create a launch screen for various screen resolutions.