0

Can we change the colour of title in an Android application.See the Below Image

I want to change the colour of label which has contents Abc Supply Company. This label is in Manifest file. Can we change the colour for this label. Looking forward to your reply. thanks.

Mukunda
  • 1,593
  • 3
  • 26
  • 45

3 Answers3

1

I think you want to change color of Application Label that comes in every screen.If i am right then there is no solution

In this case you have use theme for activity in android manifest file like this to remove that label

android:theme="@android:style/Theme.Black.NoTitleBar.Fullscreen"

Then design you own custom Label in Layout and then you can do whatever you want to do.

Hope this help you :)

Tofeeq Ahmad
  • 11,935
  • 4
  • 61
  • 87
0

Solution for this is known as Custom Title bar in Android, check this article: http://coderzheaven.com/2011/06/custom-title-bar-in-android/

enter image description here

Paresh Mayani
  • 127,700
  • 71
  • 241
  • 295
-1

Of course you can do.
You need to get reference of your

Textview yourTextView = ( TextView ) findViewById( R.id.YOUR_TEXT_VIEW );

and then call the function setTextColor( YOUR COLOR );

ann
  • 576
  • 1
  • 10
  • 19
SAMD
  • 421
  • 1
  • 3
  • 7