FORUMS

New Xposed for Lollipop 5.0 Update Fixes Major Bugs

Senior Recognized Developer rovo89 has patched Xposed for Lollipop 5.0 to … more

Download Sony’s new AOSP-like concept for Xperia Z3

Over in our forums, Recognized Contributor Jozinek has posted a very … more

OnePlus 2 vs Moto X Style: Which is The Better Flagship?

Two big industry names have announced their newest flagship phones within the … more

Making Your Own Xposed Modules Is Easier Than You Think

Close to the heart of XDA is the Xposed Framework by Rovo89. Most of … more

[GUIDE][GB]How to place a custom icon on the title bar of a certain app

1,279 posts
Thanks Meter: 3,087
 
By Sniper Killer, Recognized Contributor on 2nd February 2014, 10:06 AM
Post Reply Subscribe to Thread Email Thread
23rd March 2014, 11:41 PM |#11  
Typhus_'s Avatar
Senior Member
Flag Lisbon
Thanks Meter: 210
 
Donate to Me
More
OK Sniper.

Thanks anyway.

I'll try to figure it out.
 
 
27th March 2014, 06:52 AM |#12  
GSculerlor's Avatar
Senior Member
Flag Malang
Thanks Meter: 86
 
More
How to place the icon on all apps ?
27th March 2014, 04:36 PM |#13  
Sniper Killer's Avatar
OP Recognized Contributor
Flag Tirana, Albania
Thanks Meter: 3,087
 
More
Quote:
Originally Posted by GSculerlor

How to place the icon on all apps ?

You should replace the icon with activity_title_bar.9.png on framework-res.apk/res/drawable-xdpi/. The png which you are going to replace must be a 9 patch png and also must be renamed to "activity_title_bar".
28th March 2014, 02:32 AM |#14  
san122's Avatar
Senior Member
Flag Unavailable.
Thanks Meter: 1,595
 
More
Quote:
Originally Posted by Sniper Killer

You should replace the icon with activity_title_bar.9.png on framework-res.apk/res/drawable-xdpi/. The png which you are going to replace must be a 9 patch png and also must be renamed to "activity_title_bar".

In our case its deawable-ldpi or mdpi in most of the roms instead of xdpi.:thumbup::thumbup::thumbup:

Sent from my GT-S5360 using Tapatalk 2
Last edited by san122; 28th March 2014 at 02:54 AM.
28th March 2014, 07:11 AM |#15  
Sniper Killer's Avatar
OP Recognized Contributor
Flag Tirana, Albania
Thanks Meter: 3,087
 
More
Quote:
Originally Posted by san122

In our case its deawable-ldpi or mdpi in most of the roms instead of xdpi.:thumbup::thumbup::thumbup:

Sent from my GT-S5360 using Tapatalk 2

I wrote xdpi so it could be every density. X -> l, m, h.

Sent from my GT-S5830i using Tapatalk 2
28th March 2014, 07:25 AM |#16  
san122's Avatar
Senior Member
Flag Unavailable.
Thanks Meter: 1,595
 
More
Quote:
Originally Posted by Sniper Killer

I wrote xdpi so it could be every density. X -> l, m, h.

Sent from my GT-S5830i using Tapatalk 2

Oh sorry i took it as xhdpi

Sent from my GT-S5360 using Tapatalk 2
28th March 2014, 03:11 PM |#17  
SpaceCaker's Avatar
Recognized Themer / Contributor
Flag netherlands
Thanks Meter: 10,926
 
More
actually it doesnt really matter if u place pngs in xhdpi or hdpi.

only they need the proper size ofhdpi

this way we can also use a lot of xhdpi pngs on our little devices without resizing

why?
android very clever

they have their own resizing already inside only png needs proper size for its dpi.



Sent from my S500 using xda app-developers app
2nd April 2014, 01:36 AM |#18  
GSculerlor's Avatar
Senior Member
Flag Malang
Thanks Meter: 86
 
More
How to resize title bar ?

Sent from my GT-S5360 using xda app-developers app
Attached Thumbnails
Click image for larger version

Name:	uploadfromtaptalk1396398955942.jpg
Views:	48
Size:	14.8 KB
ID:	2663523  
2nd April 2014, 02:03 AM |#19  
san122's Avatar
Senior Member
Flag Unavailable.
Thanks Meter: 1,595
 
More
Quote:
Originally Posted by GSculerlor

How to resize title bar ?

Sent from my GT-S5360 using xda app-developers app

If you placed rhis title bar only in settings then you need to add attribute windowtitlesize in your style.
If you did this via framework then open res/values/styles.xml abd search windowtitlesize and increase its value.
50.0 dip will look good for your titlebar.

Sent from my GT-S5360 using Tapatalk 2
The Following User Says Thank You to san122 For This Useful Post: [ View ]
Post Reply Subscribe to Thread
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes