我能夠獲得自

但是加載片段的框架布局不可見

uj5u.com熱心網友回復:
在你的風格上做一些小的改變。
<style name="Theme.HealthApp"
parent="Theme.MaterialComponents.Light.NoActionBar">
<item name="android:statusBarColor" tools:targetApi="l">#2fad9a</item>
<item name="colorPrimary">#2fad9a</item>
<item
name="bottomSheetDialogTheme">@style/AppBottomSheetDialogTheme</item>
</style>
uj5u.com熱心網友回復:
將您的樣式DarkActionBar更改為NoActionBar
從 :
<style name="Theme.HealthApp"
parent="Theme.MaterialComponents.Light.NoActionBar">
<item name="android:statusBarColor" tools:targetApi="l">#2fad9a</item>
<item name="colorPrimary">#2fad9a</item>
<item
name="bottomSheetDialogTheme">@style/AppBottomSheetDialogTheme</item>
</style>
到 :
<style name="Theme.HealthApp"
parent="Theme.MaterialComponents.Light.NoActionBar">
<item name="android:statusBarColor" tools:targetApi="l">#2fad9a</item>
<item name="colorPrimary">#2fad9a</item>
<item
name="bottomSheetDialogTheme">@style/AppBottomSheetDialogTheme</item>
</style>
轉載請註明出處,本文鏈接:https://www.uj5u.com/yidong/342893.html
標籤:安卓 安卓布局 android-actionbar android-工具栏 android-tablayout
上一篇:Android多行純文本背景
