Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Change App Overview Title Bar Color (Android & Ionic)

Is there a way to change the marked color below? I'm using using Ionic v3.x and couldn't find anything here and within Ionic docs. Thanks upfront for any tips!

Android App Overview Title Bar Color

like image 395
MickeyJones Avatar asked Feb 23 '26 20:02

MickeyJones


2 Answers

The Header Color plugin is used to change the header color in multitask view.

Plugin github page: https://github.com/tomloprod/cordova-plugin-headercolor

Example from Ionic documentation:

import { HeaderColor } from '@ionic-native/header-color';

constructor(private headerColor: HeaderColor) { }

...

this.headerColor.tint('#becb29');
like image 145
robbannn Avatar answered Feb 25 '26 10:02

robbannn


Try this:

// set status bar to white
this.statusBar.backgroundColorByHexString('#ffffff');

Doc link: https://ionicframework.com/docs/native/status-bar/

like image 40
Pratik Popat Avatar answered Feb 25 '26 09:02

Pratik Popat



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!