- 配置Android
找到android/app/src/main/res/values目录,打开styles.xml
将shortEdges放到style标签内。
<?xml version="1.0" encoding="utf-8"?>
<resources>
<!-- Theme applied to the Android Window while the process is starting -->
<style name="LaunchTheme" parent="

本文介绍如何在Flutter项目中配置Android应用的主题,包括设置启动页(Splash)和正常页面的主题样式,以及如何通过调整styles.xml文件实现对刘海屏的支持,并提供隐藏状态栏的方法。
最低0.47元/天 解锁文章
565





