Delphi firemonkey android全屏状态栏
如何按照提供的图像设计ui 这是全屏的,有状态栏。 当我将全屏设置为true时,它会隐藏状态栏 我还将状态栏Delphi firemonkey android全屏状态栏,delphi,firemonkey,Delphi,Firemonkey,如何按照提供的图像设计ui 这是全屏的,有状态栏。 当我将全屏设置为true时,它会隐藏状态栏 我还将状态栏visibility设置为visibale或visibaleandoverlap并选择一种颜色,但它看起来不像我发送的图像 这种设计在firemonkey中可用吗 您可以通过更新默认样式来完成此操作。您必须通过类似的方式更新AndroidManifest.template.xml <application android:persistent="%persistent%"
visibility
设置为visibale
或visibaleandoverlap
并选择一种颜色,但它看起来不像我发送的图像
这种设计在firemonkey中可用吗 您可以通过更新默认样式来完成此操作。您必须通过类似的方式更新AndroidManifest.template.xml
<application android:persistent="%persistent%"
android:restoreAnyVersion="%restoreAnyVersion%"
android:label="%label%"
android:debuggable="%debuggable%"
android:largeHeap="%largeHeap%"
android:icon="%icon%"
android:theme="@style/myAppTheme"
android:hardwareAccelerated="%hardwareAccelerated%">
(演示是alfmxcontrols)设置状态栏和导航栏背景完全透明
我多次尝试安装alcinoe,但我现在还无法安装:|@zeus您的解决方案是使系统栏半透明(半透明),因此它可以完美地工作,但不能使系统栏背景完全透明,如屏幕截图所示。我制作了一个完整解决方案的教程,用于设置状态栏和导航栏的全透明背景,包括在启动屏幕中,还可以设置系统栏前景的亮度,并教授如何预测系统栏的大小以填充形式。
<?xml version="1.0" encoding="utf-8"?>
<resources>
<style name="myAppTheme" parent="@android:style/Theme.Material.Light.NoActionBar">
<item name="android:windowTranslucentStatus">true</item>
<item name="android:windowTranslucentNavigation">true</item>
<item name="android:windowDrawsSystemBarBackgrounds">false</item>
<item name="android:colorPrimary">#ff2b2e38</item>
<item name="android:colorAccent">#ff0288d1</item>
<item name="android:windowBackground">@drawable/splash_screen</item>
<item name="android:statusBarColor">#ff0087b4</item>
</style>
</resources>