こんにちは、私はすでに Android アプリ用に独自のカスタム Windows タイトル バーを作成していますが、アプリを開くたびにデフォルトのタイトル バーが表示されますが、透明な背景を配置しようとしましたが、動作しません私のコード:
custom_title.xml:
<resources>
<style name="CustomWindowTitleBackground">
<item name="android:background">@android:color/transparent</item>
</style>
<style name="CustomTheme" parent="android:Theme">
<item name="android:windowTitleSize">35dip</item>
<item name="android:windowTitleBackgroundStyle">@style/CustomWindowTitleBackground</item>
</style>
どうもありがとうございました。