hi i already create my own custom windows title bar for my android app but now every time i open the app i see for a second the default title bar yet i tried to put transparent background but doesnt work heres my code:
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>
any help ill appreciate, thanks very much.
Do you try
full screenActivity?OrnoTitleBartheme for your Activity?Then create a layout for Activity that has sub layout looks like your custom title bar,which it is first in it.For example your layout may be look like this:So when your Activity propose for user,default title bar is not visible and your custom layout(that you include in your layout) seems as title bar.