Skip to content

Light/Dark launch background depending on the current theme #42710

@nbros

Description

@nbros

Use case

Flutter create automatically creates a pure-white launch background for Android (in android\app\src\main\res\drawable\launch_background.xml, with a @android:color/white drawable).

Proposal

Instead, it could use the ?android:attr/colorBackground theme attribute to have a launch background that depends on the current light or dark theme.

cf https://developer.android.com/guide/topics/ui/look-and-feel/darktheme#launch_screens

Metadata

Metadata

Assignees

No one assigned

    Labels

    P3Issues that are less important to the Flutter projectc: new featureNothing broken; request for a new capabilityf: material designflutter/packages/flutter/material repository.frameworkflutter/packages/flutter repository. See also f: labels.platform-androidAndroid applications specificallytoolAffects the "flutter" command-line tool. See also t: labels.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions