Warning: file_get_contents(/data/phpspider/zhask/data//catemap/9/security/4.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Android 如何在compose theme.kt文件上创建闪屏主题_Android_Android Theme_Android Jetpack Compose - Fatal编程技术网

Android 如何在compose theme.kt文件上创建闪屏主题

Android 如何在compose theme.kt文件上创建闪屏主题,android,android-theme,android-jetpack-compose,Android,Android Theme,Android Jetpack Compose,我想移动所有与主题相关的xml代码来编写文件。有一个启动屏幕的xml代码,可以让它以撰写风格吗 <!-- Splash screen theme. --> <style name="splashScreenTheme" parent="Theme.AppCompat.Light.NoActionBar"> <item name="android:windowBackground">@drawa

我想移动所有与主题相关的xml代码来编写文件。有一个启动屏幕的xml代码,可以让它以撰写风格吗

<!-- Splash screen theme. -->
<style name="splashScreenTheme" parent="Theme.AppCompat.Light.NoActionBar">
    <item name="android:windowBackground">@drawable/splash_screen</item>
</style>

@Composable
fun splashScreenTheme() {

}

@可拉伸/飞溅屏幕
@组合的
有趣的主题(){
}