-1

I need to make the status bar black. How can I do this by editing launcher's XML files?

2
  • AFAIK you cannot affect the color of the status bar in the launcher app, unless your app is the launcher app. Commented Mar 7, 2021 at 19:43
  • My Android version is Kitkat 4.4, which has transparent status bar on home/unlock menu. How can i change the color of that? Commented Mar 7, 2021 at 19:50

2 Answers 2

0

You can't effect the color of the status bar with Trebuchet Launcher. Just something similar like the drawer style since Version Marshmallow +. Even the mentioned Android 4.4 Kitkat (CM11) is too low for that.

For further accessibility for layout settings you can either download matching versions of Trebuchet or use third party launchers like Action Launcher and Nova Launcher.

Sign up to request clarification or add additional context in comments.

7 Comments

There is no "styles.xml" in Trebuchet.apk
I suggest to use Android Studio to build your unique Application. I know that Trebuchet isn't that flexible to customize everything. Do you might have screenshot of your work, to help you further?
Do you know what is Trebuchet? It's Cyanogenmod launcher
What Version do you use? On version Marshmallow + you can change that in the drawer style. In case you wish to use the paged style layout, you can either download older versions of Trebuchet or use third party launchers like Action Launcher and Nova Launcher.
Android 4.4 Kitkat (CM11)
|
0
        <item name="android:statusBarColor" tools:targetApi="l">? 
attr/colorPrimaryDark</item>

Add this to the style used by the activity. That should change the statusbarcolor.

Remember that you can add any color of your choice.

you can find that from the theme.xml. You can know which specific style to edit by checking out the AndroidManifest and check the `android:theme.

4 Comments

I meant launcher's status bar color, and not of ordinary app
sorry I did not quite get your question, are you creating a launcher app and want to change it's status bar ? or you want to change the status bar of your app's launcher activity
I want to change launcher's status bar
Do you hear me?

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.