# Replacing gray launch background in Android

**URL:** <https://forums.fusetools.com/t/replacing-gray-launch-background-in-android/4020>\
**Category:** How-to Discussions\
**Created:** [July 22, 2015, 5:18am UTC](https://forums.fusetools.com/t/replacing-gray-launch-background-in-android/4020 "2015-07-22T05:18:42Z")\
**Posts on this page:** 11\
**Page:** 1

<div class="post-metadata">

**Author:** ![Anders\_Jakob\_Sivesin](https://yyz1.discourse-cdn.com/flex035/user_avatar/forums.fusetools.com/anders_jakob_sivesin/32/548_2.png) [@Anders\_Jakob\_Sivesin](https://forums.fusetools.com/u/Anders_Jakob_Sivesin)\
**Post date:** [July 22, 2015, 5:18am UTC](https://forums.fusetools.com/t/replacing-gray-launch-background-in-android/4020/1 "2015-07-22T05:18:42Z")

</div>

My first Fuse app is nearing completion! 🙂

There is more or less only one more thing I wish to change before doing a closed beta: When launching the app in Android this gray screen appears before the app finish loading.  
Is there anyway I can replace it with an image (like the LaunchImage for iOS) or something similar?

Thank you!

And for anyone interested; you can learn more about my app at this page: [http://www.andersware.com/zigne/](http://www.andersware.com/zigne/)

---

<div class="post-metadata">

**Author:** ![Anders\_Lassen](https://yyz1.discourse-cdn.com/flex035/user_avatar/forums.fusetools.com/anders_lassen/32/522_2.png) [@Anders\_Lassen](https://forums.fusetools.com/u/Anders_Lassen)\
**Post date:** [July 22, 2015, 5:25am UTC](https://forums.fusetools.com/t/replacing-gray-launch-background-in-android/4020/2 "2015-07-22T05:25:03Z")

</div>

Hi, cool 🙂

Unfortunately, Android doesn’t support launch images like iOS does. E.g. if i cold-launch the GMail app on my phone, it also just flashes white for the first few frames.

The trick is to render the first frame quickly and then load the rest of your stuff, if you have a lot to load. Most apps load fairly quickly though. Do you know where the gray color comes from? Do you knwo why your app takes long to load?

---

<div class="post-metadata">

**Author:** ![Anders\_Jakob\_Sivesin](https://yyz1.discourse-cdn.com/flex035/user_avatar/forums.fusetools.com/anders_jakob_sivesin/32/548_2.png) [@Anders\_Jakob\_Sivesin](https://forums.fusetools.com/u/Anders_Jakob_Sivesin)\
**Post date:** [July 22, 2015, 7:07am UTC](https://forums.fusetools.com/t/replacing-gray-launch-background-in-android/4020/3 "2015-07-22T07:07:43Z")

</div>

I am not entirely sure, but it takes 5+ seconds to show the app.

Here is a screenshot of the gray screen that appears:  
[https://fuseweb.azureedge.net/forum-user-uploads/2016/08/22/QvdmalfebhsK-legacy-files-jOt2ivZ3DMgtk3y6-1g0kWsi1n9c0dxtUHX\_Pu6SI.png](https://s3.us-east-2.amazonaws.com/fuse-legacy-forum-assets/QvdmalfebhsK-legacy-files-jOt2ivZ3DMgtk3y6-1g0kWsi1n9c0dxtUHX_Pu6SI.png)

I am using a custom loading procedure, but I am Initializing the UX first:

```auto
public MainView() {
    InitializeUX(); //Initialize the UX
    Timer.Wait(3, splash); //Navigate from splash screen to main menu
    loadSettings(); //Attempt to read settings from file
    serialAdd(null, null); //Add a dummy object
}

```

The app is only using a handful of images, and they aren’t very big (around 15KB).

---

<div class="post-metadata">

**Author:** ![Anders\_Lassen](https://yyz1.discourse-cdn.com/flex035/user_avatar/forums.fusetools.com/anders_lassen/32/522_2.png) [@Anders\_Lassen](https://forums.fusetools.com/u/Anders_Lassen)\
**Post date:** [July 22, 2015, 10:13am UTC](https://forums.fusetools.com/t/replacing-gray-launch-background-in-android/4020/4 "2015-07-22T10:13:15Z")

</div>

5+ seconds is a long time, judging from your screenshots there is no reason why your app should have any startup time at all.

Are you including large images or a lot of fonts?

---

<div class="post-metadata">

**Author:** ![Anders\_Jakob\_Sivesin](https://yyz1.discourse-cdn.com/flex035/user_avatar/forums.fusetools.com/anders_jakob_sivesin/32/548_2.png) [@Anders\_Jakob\_Sivesin](https://forums.fusetools.com/u/Anders_Jakob_Sivesin)\
**Post date:** [July 22, 2015, 1:42pm UTC](https://forums.fusetools.com/t/replacing-gray-launch-background-in-android/4020/5 "2015-07-22T13:42:48Z")

</div>

I have 11 images, but they are all quite small (eg. 16KB), I also have 3 fonts.

---

<div class="post-metadata">

**Author:** ![Anders\_Lassen](https://yyz1.discourse-cdn.com/flex035/user_avatar/forums.fusetools.com/anders_lassen/32/522_2.png) [@Anders\_Lassen](https://forums.fusetools.com/u/Anders_Lassen)\
**Post date:** [July 22, 2015, 2:09pm UTC](https://forums.fusetools.com/t/replacing-gray-launch-background-in-android/4020/6 "2015-07-22T14:09:38Z")

</div>

Should not take 5 seconds to load then. Something is wrong…

---

<div class="post-metadata">

**Author:** ![Anders\_Jakob\_Sivesin](https://yyz1.discourse-cdn.com/flex035/user_avatar/forums.fusetools.com/anders_jakob_sivesin/32/548_2.png) [@Anders\_Jakob\_Sivesin](https://forums.fusetools.com/u/Anders_Jakob_Sivesin)\
**Post date:** [July 22, 2015, 2:22pm UTC](https://forums.fusetools.com/t/replacing-gray-launch-background-in-android/4020/7 "2015-07-22T14:22:19Z")

</div>

You may have a copy of the source if you’d like?

---

<div class="post-metadata">

**Author:** ![Cristian\_Karmy1](https://yyz1.discourse-cdn.com/flex035/user_avatar/forums.fusetools.com/cristian_karmy1/32/480_2.png) [@Cristian\_Karmy1](https://forums.fusetools.com/u/Cristian_Karmy1)\
**Post date:** [July 22, 2015, 2:49pm UTC](https://forums.fusetools.com/t/replacing-gray-launch-background-in-android/4020/8 "2015-07-22T14:49:43Z")

</div>

My app have similar number of images and fonts and take 5 seconds aprox. to launch (In a Galaxy S6 Edge)

---

<div class="post-metadata">

**Author:** ![Anders\_Lassen](https://yyz1.discourse-cdn.com/flex035/user_avatar/forums.fusetools.com/anders_lassen/32/522_2.png) [@Anders\_Lassen](https://forums.fusetools.com/u/Anders_Lassen)\
**Post date:** [July 22, 2015, 2:57pm UTC](https://forums.fusetools.com/t/replacing-gray-launch-background-in-android/4020/9 "2015-07-22T14:57:36Z")

</div>

Feel free to upload your apps and we might be able to figure out why

---

<div class="post-metadata">

**Author:** ![Anders\_Jakob\_Sivesin](https://yyz1.discourse-cdn.com/flex035/user_avatar/forums.fusetools.com/anders_jakob_sivesin/32/548_2.png) [@Anders\_Jakob\_Sivesin](https://forums.fusetools.com/u/Anders_Jakob_Sivesin)\
**Post date:** [July 22, 2015, 3:07pm UTC](https://forums.fusetools.com/t/replacing-gray-launch-background-in-android/4020/10 "2015-07-22T15:07:00Z")

</div>

For some reason .zip and .rar files can no longer be uploaded in this box, so here is a link:  
[http://in-dev.andersware.com/Zigne.rar](http://in-dev.andersware.com/Zigne.rar)

---

<div class="post-metadata">

**Author:** ![Anders\_Jakob\_Sivesin](https://yyz1.discourse-cdn.com/flex035/user_avatar/forums.fusetools.com/anders_jakob_sivesin/32/548_2.png) [@Anders\_Jakob\_Sivesin](https://forums.fusetools.com/u/Anders_Jakob_Sivesin)\
**Post date:** [August 4, 2015, 3:12am UTC](https://forums.fusetools.com/t/replacing-gray-launch-background-in-android/4020/11 "2015-08-04T03:12:52Z")

</div>

After the latest update I experience shorter loading times. Now it’s closer to 2 seconds rather than 5-7. 🙂
