-1

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

Griesur
  • 9
  • 1
  • 3
  • AFAIK you cannot affect the color of the status bar in the launcher app, unless your app *is* the launcher app. – CommonsWare Mar 07 '21 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? – Griesur Mar 07 '21 at 19:50

2 Answers2

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.

  • There is no "styles.xml" in Trebuchet.apk – Griesur Mar 07 '21 at 20:18
  • 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? –  Mar 07 '21 at 20:35
  • Do you know what is Trebuchet? It's Cyanogenmod launcher – Griesur Mar 07 '21 at 20:40
  • 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. –  Mar 07 '21 at 20:48
  • Android 4.4 Kitkat (CM11) – Griesur Mar 07 '21 at 20:51
  • Also, i don't need the other launcher, since I want to change the appearance by changing the APK code, and not through the launcher settings – Griesur Mar 07 '21 at 20:54
  • I found the solution written solution above. You can't change that. Probably in the future. I think this answer will help others also. Cheers buddy! –  Mar 07 '21 at 21:20
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.

The Codepreneur
  • 236
  • 3
  • 12