Skip to content
This repository was archived by the owner on Apr 25, 2024. It is now read-only.
This repository was archived by the owner on Apr 25, 2024. It is now read-only.

splash screen - minor issue #38

@redgrapetech

Description

@redgrapetech

I have observed a minor jerk in the position of logo in the splash screen of the example
app quickandroidexample
I tried using the sample concept as described by you in
https://medium.com/@benlaud/complete-guide-to-make-a-splash-screen-for-your-qml-android-application-567ca3bc70af in a separate app and faced the same issue.

I think even quickandroidexample uses the same concept.
on my investigation i feel that the issue is that
the theme draws the splash screen once as:

apptheme.xml is

<?xml version="1.0" encoding="utf-8"?>
<resources>
    <style name="AppTheme" parent="@android:style/Theme.DeviceDefault.Light.NoActionBar">
        <item name="android:windowBackground">@drawable/splash</item>
    </style>
</resources>

and the instruction in AndroidManifest.xml also makes it draws once because of

  <!-- Splash screen -->
<meta-data android:name="android.app.splash_screen_drawable" 
android:resource="@drawable/splash"/>
  <!-- Splash screen -->

And both of them do not place the logo at exactly the same place.

Thanks for quickandroid .

regds
Rajesh Kumar Mallah.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions