views:

59

answers:

1

Hi,

Please give me solution to hide the status bar of translucant screen, i have tries by setting Theme.NoTitleBar.Fullscreen but it works for normal activity, but its not working for the screen witch is translucant.Please give me the hint to solve the problem.

Thanks

A: 

That's how I usually do this by overriding one of standard themes.

<style name="ExampleTheme" parent="android:Theme.Light">
    <item name="android:windowNoTitle">true</item>
    <item name="android:windowFullscreen">true</item>
</style>

You then can apply the theme to your activity. I hope that helps.

Konstantin Burov
But background screen is not tranperent, i want transperent screen
Navya
Then override transparent theme.
Konstantin Burov
you can also set the @android:style/Theme.Translucent.NoTitleBar.Fullscreen as theme for activity.
Konstantin Burov
How to set two thems for same activity?
Navya
No resource found that matches the given name 'android:style//Theme.Translucent.NoTitleBar.Fullscreen'
Navya
Sorry its single forward slash. but still its not working
Navya