Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8807125
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 14, 20262026-06-14T02:17:40+00:00 2026-06-14T02:17:40+00:00

In my AndroidManifest.xml I’m using the android:theme=@android:style/Theme.NoTitleBar.Fullscreen attribute in the application tag. When I

  • 0

In my AndroidManifest.xml I’m using the android:theme="@android:style/Theme.NoTitleBar.Fullscreen" attribute in the application tag. When I start my app from the apps menu, it works: both, the title bar and the status bar are hidden and the app uses the full screen.

However, when I start my app on boot (it is the default home screen), the app still uses the full screen but the status bar is visible.

It looks like that my app is running in the back ground. Starting a new activity in the same app doesn’t change that behaviour. I need to restart the app in order to hide the status bar.

Any solutions?

using Android 2.3.6

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-14T02:17:41+00:00Added an answer on June 14, 2026 at 2:17 am

    I found the problem! I had overridden following method:

    @Override
    public void onAttachedToWindow()
    {  
        System.out.println("Onactivity attached :");
        this.getWindow().setType(WindowManager.LayoutParams.TYPE_KEYGUARD);
        super.onAttachedToWindow();
    }
    

    Seems like setting the window type to TYPE_KEYGUARD in the first activity causes troubles. I put the code into another activity, now it works, the status bar is never shown 🙂

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a style applied to my whole application: AndroidManifest.xml: <application android:theme=@style/ApplicationStyle android:icon=@drawable/icon android:label=@string/app_name>
In AndroidManifest.xml, the application tag has: android:label=@string/app_name and app_name in res/values/strings.xml reads My App.
I want to change the app typeface and I can't: AndroidManifest.xml ... <application android:icon=@drawable/ic_launcher
How Do I Pull The Application Version Listed in AndroidManifest.xml From Java, android:versionName specifically?
Is there a way for my app to know the android:versionCode from AndroidManifest.xml or
I have this declared in my AndroidManifest.xml: <activity android:name=x.y.z.MyActivity android:label=@string/app_name android:theme=@style/MyTheme > <intent-filter> <action
Currently I have a theme specified in AndroidManifest.xml file: android:theme=@android:style/Theme.Holo.Light Now I'm working to
I have published an app with this AndroidManifest.xml: <supports-screens android:smallScreens=true android:normalScreens=true android:largeScreens=true android:anyDensity=false />
I have an Android Application that has the AndroidManifest.xml listed below. After uploading to
The AndroidManifest.xml contains the version name of the application, something like android:versionName=1.0 Now the

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.