Search code examples
androidsmart-devicegenexus

How to change the app startup screen, in Android, when NavigationStyle is Slide


I have two questions for a Slide App StartUp, when executed in Android.

1 - Is there any way of changing the menu icon color?

2 - I am using a SplashScreen but, in Android, after the SplashScreen, a blank panel is presented to the user. Is there any way of filling this panel with an image? (Note: in iOS this startup panel is filled with the splashscreen image).

Visual description


Solution

  • 1_ Yes, this icon is copy of the system icon and change with the "Android Base Style". If you use "Dark" it will use one icon and if you use "Light" it will use other.

    Also you can use a custom one if you override the file:

    gx_drawer_icon_dark.png

    in all the drawables folders:

    Android\FlexibleClient\res\drawable-hdpi

    Android\FlexibleClient\res\drawable-xhdpi

    etc.

    2_ You should use the Slide.Start event here.:

    http://wiki.genexus.com/commwiki/servlet/hwiki?Slide.Start+Event,

    and call an intro SDPanel