Code Monkey home page Code Monkey logo

Comments (5)

zoontek avatar zoontek commented on July 17, 2024 3

Not possible anymore with Android SplashScreen API.

Lots of duplicate issues, I highly doubt you checked before ticking the I checked for possible duplicate issues, with possible answers.

from react-native-bootsplash.

zoontek avatar zoontek commented on July 17, 2024

bootsplash.xml does not exists in v5.

from react-native-bootsplash.

ItsFlash10 avatar ItsFlash10 commented on July 17, 2024

@zoontek even using it as follows results in shrinked image as mentioned above:

<resources>
    <!-- Base application theme. -->
    <style name="AppTheme" parent="Theme.AppCompat.DayNight.NoActionBar">
        <!-- Customize your theme here. -->
        <item name="android:editTextBackground">@android:color/transparent</item>
        <item name="android:windowTranslucentStatus">false</item>
    </style>
    <!-- BootTheme should inherit from Theme.BootSplash or Theme.BootSplash.EdgeToEdge -->
    <style name="BootTheme" parent="Theme.BootSplash">
        <item name="android:navigationBarColor">#ebf7f7</item> <!--  to change the color of bottom navigationBar @splashScreen  -->
        <item name="android:windowBackground">@drawable/launch_screen</item>
        <item name="postBootSplashTheme">@style/AppTheme</item>
        <!-- This is line is to change statusBar color(white) -->
        <item name="colorPrimaryDark">@color/bootsplash_background</item> 
    </style>
</resources>

Here I'm using the image directly as windowBackground

from react-native-bootsplash.

ItsFlash10 avatar ItsFlash10 commented on July 17, 2024

Can you please let me know how can I achieve the expected result that I mentioned?

from react-native-bootsplash.

ItsFlash10 avatar ItsFlash10 commented on July 17, 2024

@zoontek I did, and I have been looking into it for the last 4days but most of 'em wanted full screen which I might have confused with the area including the status and navigationBar, also I wanted to check if anyone got a way to do it somehow.
Moreover, the last screenshot that I attached gave me hope that it is possible to fix the image but not sure how we can achieve the same in the splash screen.

from react-native-bootsplash.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.