First, sorry my bad english.
You must create new folder on root and rename it "res".
What you want see loading image? Copy it in "res" folder.
You must create styles.xml in "res" folder.
This is styles.xml:
<? Xml version="1.0" encoding="UTF-8"?> <resources> <Style name = "MyTheme . notitleb is . custombackground "parent =" @ android: Theme . Black "> <item name="android:windowbackground"> @ drawable / loading </ item> <item name="android:windownotitle"> true </ item> <item name="android:windowfullscreen"> true </ item> <item name="android:windowcontentoverlay"> @ null </ item> </ Style> </ Resources>
Open project and open top menu in Project>>Deployment, well opening deployment screen.
Click add button and add res\loading.png, res\styles.xml
But this 2 folders platforms only Android fix it.
Look at Remote Path columns and change this:
- Loading.png = res\drawable-port
- styles.xml = res\values
After making the adjustments, press CTRL + F9 one time and "androidmanifest.template.xml" file will give rise to.
Open "AndroidManifest.template.xml"
Change this : android:theme=”%theme%”
Like This : android:theme=”@style/MyTheme.NoTitleBar.CustomBackground
After you save the file by pressing F9 can enjoy.
ORIGINAL TOPIC = http://brsatalay.com/?p=336