Janusz
Janusz

Reputation: 189554

How to exclude the title from theme applied to the application?

I'm using a theme for my app to set some common layout features.

One of the things I change in this theme is the text style. I change the color and the size of the text in the whole app. Sadly the text in the titlebar is also changed and the result is a somewhat blurry ugly style. I don't know if it is the color or the size of the text

Is it possible to somehow overwrite the style for the title in the theme? Or exclude the title?

Upvotes: 2

Views: 435

Answers (3)

anon
anon

Reputation:

Could you just set the title color separately programatically using the method setTitleColor of the Windows class?

So you could overwrite the color you have set in the theme file

Upvotes: 1

Charles Merriam
Charles Merriam

Reputation: 20520

Just turn off the title:

requestWindowFeature(Window.FEATURE_NO_TITLE); 

Am I missing somthing?

Upvotes: 0

Ravi Vyas
Ravi Vyas

Reputation: 12375

you could go full screen : Hiding Title in a Fullscreen mode?

or

have a custom title bar

Custom title bar without padding (Android)

Upvotes: 1

Related Questions