Home > Net >  Reduce the size of Image in Splash Screen in Flutter
Reduce the size of Image in Splash Screen in Flutter

Time:02-23

I have a image which is quite big for Splash Screen. I want to reduce the size of this image but unable to do so. I have read already answers to this question which are here on SO but none of those answers helped. Please help.

launch_background.xml

<?xml version="1.0" encoding="utf-8"?>
<!-- Modify this file to customize your launch splash screen -->
<layer-list xmlns:android="http://schemas.android.com/apk/res/android">
    <item android:drawable="?android:colorBackground" />

    <!-- You can insert your own image assets here -->
    <item>
        <bitmap
            android:gravity="center"
            android:src="@drawable/bluetoothicon"
            android:width="100dp"
        android:height="100dp" />
    </item>
</layer-list>

Splash Screen

splash

  • Related