<resources xmlns:android=”http://schemas.android.com/apk/res/android”>
<style name=”CustomWindowTitleBackground”>
<item name=”android:background”>#00cc00</item>
</style>
<style name=”test” parent=”android:Theme”>
<item name=”android:windowTitleSize”>50dp</item>
<item name=”android:windowTitleBackgroundStyle”>@style/CustomWindowTitleBackground</item>
</style>
</resources>
Android 自定义标题栏(title栏)
最新推荐文章于 2024-03-16 15:40:45 发布