Is there a way to change the color of the font on your phone? Also what do i need to click in font installer to change all my fonts not just some fonts? Tia
Sent from my EVO using xda premium
wileout said:
Is there a way to change the color of the font on your phone? Also what do i need to click in font installer to change all my fonts not just some fonts? Tia
Sent from my EVO using xda premium
Click to expand...
Click to collapse
I don't know about the color part, but if you hit menu on the main screen of font installer then preferences, you can choose which fonts to overwrite/ replace. Hope that helps. Make a backup I guess in case you don't like the way something looks when you're done.
ducky1131 said:
I don't know about the color part, but if you hit menu on the main screen of font installer then preferences, you can choose which fonts to overwrite/ replace. Hope that helps. Make a backup I guess in case you don't like the way something looks when you're done.
Click to expand...
Click to collapse
Yea figured that part about changing fonts right I typed this up...still wanna know if I change colors tho lol
Sent from my EVO using xda premium
Well you will first need to decompile the framework apk's and edit the text color on those as many apps call to framework-res.apk/com.htc.resources.apk for text color then where you don't see changes you will need to decompile the particular apk associated with the place you like to change it. For example, statusbar related text is found in SystemUI.apk. Once you decompile it go to the color folder and you will see list_item_primary_text.xml, open it and you will see
Code:
<?xml version="1.0" encoding="utf-8"?>
<selector
xmlns:android="http://schemas.android.com/apk/res/android">
<item android:state_enabled="false" android:color="[COLOR="red"]@color/primary_text_disable"[/COLOR] />
<item android:color="[COLOR="Red"]@android:color/primary_text_dark[/COLOR]" />
</selector>
notice the sections marked in red.
The first one @color/primary_text_disable tells you that the color code is coming from within the app so go to /res/values/colors.xml and open it. you will see the following code
Code:
<?xml version="1.0" encoding="utf-8"?>
<resources>
<color name="status_bar_recents_app_label_color">#ffffffff</color>
<color name="notification_list_shadow_top">#80000000</color>
<color name="white">#ffffffff</color>
<color name="black">#ff000000</color>
<color name="half_white">#7fffffff</color>
<color name="half_black">#7f000000</color>
[COLOR="red"]<color name="primary_text_disable">#ff4c4c4c</color>[/COLOR]
<color name="secondary_text_disable">#ff4c4c4c</color>
<color name="multiply_color">#ffbdff67</color>
</resources>
here is the color code its referring to. Now you can either change the color code here or you can just change android:color="@color/primary_text_disable" to android:color="colorcodehere" (example ff000000)
Now notice the <item android:color="@android:color/primary_text_dark" /> on the first code...this tells us that the code is being called upon from the framework.
You can also change "@android:color/primary_text_dark" to "colorcodehere" or to "@color/primary_text_disable" to make the color reference internal in the app.
There are many different ways to get the changes you want...some changes are a bit harder as they are coded through smali.
I suggest you start with a non-framework apk and make the color references internal.
Hope this helps
eg1122 said:
Well you will first need to decompile the framework apk's and edit the text color on those as many apps call to framework-res.apk/com.htc.resources.apk for text color then where you don't see changes you will need to decompile the particular apk associated with the place you like to change it. For example, statusbar related text is found in SystemUI.apk. Once you decompile it go to the color folder and you will see list_item_primary_text.xml, open it and you will see
Code:
<?xml version="1.0" encoding="utf-8"?>
<selector
xmlns:android="http://schemas.android.com/apk/res/android">
<item android:state_enabled="false" android:color="[COLOR="red"]@color/primary_text_disable"[/COLOR] />
<item android:color="[COLOR="Red"]@android:color/primary_text_dark[/COLOR]" />
</selector>
notice the sections marked in red.
The first one @color/primary_text_disable tells you that the color code is coming from within the app so go to /res/values/colors.xml and open it. you will see the following code
Code:
<?xml version="1.0" encoding="utf-8"?>
<resources>
<color name="status_bar_recents_app_label_color">#ffffffff</color>
<color name="notification_list_shadow_top">#80000000</color>
<color name="white">#ffffffff</color>
<color name="black">#ff000000</color>
<color name="half_white">#7fffffff</color>
<color name="half_black">#7f000000</color>
[COLOR="red"]<color name="primary_text_disable">#ff4c4c4c</color>[/COLOR]
<color name="secondary_text_disable">#ff4c4c4c</color>
<color name="multiply_color">#ffbdff67</color>
</resources>
here is the color code its referring to. Now you can either change the color code here or you can just change android:color="@color/primary_text_disable" to android:color="colorcodehere" (example ff000000)
Now notice the <item android:color="@android:color/primary_text_dark" /> on the first code...this tells us that the code is being called upon from the framework.
You can also change "@android:color/primary_text_dark" to "colorcodehere" or to "@color/primary_text_disable" to make the color reference internal in the app.
There are many different ways to get the changes you want...some changes are a bit harder as they are coded through smali.
I suggest you start with a non-framework apk and make the color references internal.
Hope this helps
Click to expand...
Click to collapse
Thanks bro that helps a ton now to just go thru and do it to each one of my 100 apps lmao
Sent from my EVO using xda premium
Can i change color my clock in statusbar on my LWW ? I have CyanogenTimeScape
streetu said:
Can i change color my clock in statusbar on my LWW ? I have CyanogenTimeScape
Click to expand...
Click to collapse
Yes and quite easily too. I'll explain how later when I get a chance but I will say now that you'll need to decompile your SystemUI.apk
Ticklefish said:
Yes and quite easily too. I'll explain how later when I get a chance but I will say now that you'll need to decompile your SystemUI.apk
Click to expand...
Click to collapse
why not add tha tutorial to yur thread?
I now it's systemui.apk but i don't know which files in this apk is responsible for this. Who's know it ?
Decompile systemui.apk with apktool 1.4.3.. I use xDA AutoTool
Open res/values/styles.xml
u will find this and change last line to @android:color/holo_blue_light as below
Code:
<style name="TextAppearance.StatusBar.Clock" parent="@android:style/TextAppearance.StatusBar.Icon">
<item name="android:textSize">16.0dip</item>
<item name="android:textStyle">normal</item>
<item name="android:textColor">[B]@android:color/holo_blue_light[/B] </item>
</style>
do same for Date
Code:
<style name="TextAppearance.StatusBar.Date" parent="@android:style/TextAppearance.StatusBar.Icon">
<item name="android:textSize">16.0sp</item>
<item name="android:textStyle">normal</item>
<item name="android:textColor">@android:color/holo_blue_light</item>
</style>
have fun...:fingers-crossed:
I thanks for help but i didn't have values
I have only:
-anim
-some drawable
-some layout
-menu
-raw
jjdoctor said:
Decompile systemui.apk with apktool 1.4.3.. I use xDA AutoTool
Open res/values/styles.xml
u will find this and change last line to @android:color/holo_blue_light as below
Code:
<style name="TextAppearance.StatusBar.Clock" parent="@android:style/TextAppearance.StatusBar.Icon">
<item name="android:textSize">16.0dip</item>
<item name="android:textStyle">normal</item>
<item name="android:textColor">[B]@android:color/holo_blue_light[/B] </item>
</style>
do same for Date
Code:
<style name="TextAppearance.StatusBar.Date" parent="@android:style/TextAppearance.StatusBar.Icon">
<item name="android:textSize">16.0sp</item>
<item name="android:textStyle">normal</item>
<item name="android:textColor">@android:color/holo_blue_light</item>
</style>
have fun...:fingers-crossed:
Click to expand...
Click to collapse
If you just want to change the clock colour, you could make a new style specifically for it.
streetu said:
I thanks for help but i didn't have values
I have only:
-anim
-some drawable
-some layout
-menu
-raw
Click to expand...
Click to collapse
Yes, you do. Your app won't work without it. Did it fully decompile?
Ticklefish said:
If you just want to change the clock colour, you could make a new style specifically for it.
Click to expand...
Click to collapse
tha above code wont work??
Will change color as the status bar? I would like to help me,
I'm using CM9, thanks.
Now color is black
Okay, I'm finally in a position to answer this properly.
First, you need to decompile SystemUI.apk. The best tool I can recommend for this is Tickle My Android. Partially because I made it, but also because I know it works for our devices. I'm always messing around with my SystemUI.apk and I never have any issues.
Next, edit res\layout\status_bar.xml
This is the code that describes how your status bar is put together and in there will a line of code similar to:
Code:
<com.android.systemui.statusbar.policy.Clock android:id="@id/clock" android:paddingLeft="6.0dip" android:layout_width="wrap_content" android:layout_height="fill_parent" android:gravity="left|center" android:textAppearance="@style/TextAppearance.StatusBar.Clock" android:singleLine="true" />
Exactly what you'll have, I don't know, but there'll be mention of the clock somewhere.
Now you just need to add one extra parameter, 'android:textColor':
Code:
<com.android.systemui.statusbar.policy.Clock android:id="@id/clock" android:paddingLeft="6.0dip" android:layout_width="wrap_content" android:layout_height="fill_parent" android:gravity="left|center" android:textAppearance="@style/TextAppearance.StatusBar.Clock" android:singleLine="true" android:textColor="#ff33b5e5"/>
Here, the 'ff33b5e5' is an ARGB code for a particular colour and transparency. Work out what the code for the colour you want is and change the line to fit.
Now, recompile the apk, get the compression and signing right and put it back on your phone.
Simple.
I have mentioned making a new style to do this. This is possible and will help if you're changing the colour of a lot of strings of text, but it's not needed just to this one thing.
---------- Post added at 09:52 AM ---------- Previous post was at 09:49 AM ----------
whalesplaho said:
tha above code wont work??
Click to expand...
Click to collapse
Oh, it will. But it will change the colour of everything that uses that style. Nothing wrong with that at all..if that's what you want to do.
---------- Post added at 09:52 AM ---------- Previous post was at 09:52 AM ----------
cholopo said:
Will change color as the status bar? I would like to help me,
I'm using CM9, thanks.
Now color is black
Click to expand...
Click to collapse
Do you want the clock the same colour as the status bar?
In which program you do it ? Because i have it:
streetu said:
In which program you do it ? Because i have it:
Click to expand...
Click to collapse
I just use Notepad. Sometimes Notepad++ if I'm working on xml that's very busy.
Did you decompile the apk?
I do all but color is same like before :/
streetu said:
I do all but color is same like before :/
Click to expand...
Click to collapse
Hmm..what colour did you try to change it to?
Are you using a theme at all?
From cyan to violet
streetu said:
From cyan to violet
Click to expand...
Click to collapse
Simple enough, I did the same sort of thing to my tablet (although I got my colour code wrong and made it pink instead..lol)
Can you share your status_bar.xml and I'll see what's gone wrong?
This is my status_bar.xml
streetu said:
This is my status_bar.xml
Click to expand...
Click to collapse
I think I know what the problem is. You've got your clock colour as a RGB code but it needs to be ARPG. If you're not too worried about having transparency, try putting 'ff' in front of the colour code.
ARGB color picker?
Ticklefish said:
Here, the 'ff33b5e5' is an ARGB code for a particular colour and transparency. Work out what the code for the colour you want is and change the line to fit.
[QUOTE/]
is this a hex color code..? i could really use some help finding a way to get color values. In the process of re-themeing my entire z902 systemUI..
Click to expand...
Click to collapse
Hello,
I would like to display a header bar in all my activities (with background image, title, back and home buttons)
I began with Window.FEATURE_CUSTOM_TITLE but the height must be fixed in dp units for example and I'm not sure
it will display correctly on all the different devices.
So I'm trying with the Window.FEATURE_NO_TITLE and XML view.
Is there a better way than the <include /> ?
Or maybe I'm doing this the wrong way ?
I started playing with the SystemUI.apk, first because with the last official ROM of my JiayuG4A the status bar became trasparent (and i hated that thing) then because now i want to try a couple of things to edit further my smartphone (JB 4.2.2)
Here's the question:
I would like to create two different BackGround for my StatusBar, on HomeScreen view, and on InApp view:
Like, when I'm working on the desktop, on the drawer (maybe) etc, there should be a particular background
while, when I'm with an App opened (the browser, the messages, whatever) there should be another background.
Looking on the internet and inside SystemUI/res/Layout i thought this:
Gemini_Super_Status_Bar.xml & Super_Status_Bar.xml are used to define the StatusBar for the HomeScreen view
Gemini_Status_Bar.xml & Status_Bar.xml are used to define the StatusBar for the InApp view
So i made this changes:
SystemUI/res/drawable/ gradient_sb.xml
Code:
<?xml version="1.0" encoding="utf-8"?>
<shape android:shape="rectangle"
xmlns:android="there's a link here, i can't post it XD">
<gradient
android:startColor="#ff000000"
android:endColor="#44000000"
android:angle="270.0"
android:centerColor="#bb000000" />
</shape>
SystemUI/res/layout/ gemini_super_status_bar.xml & super_status_bar.xml
Code:
android:background="@drawable/gradient_sb"
SystemUI/res/layout/ gemini_status_bar.xml & status_bar.xml
Code:
android:background="#ff000000"
I checked the apk a couple of times before putting it inside the system/app folder of my device. So i'm sure that these changes have been made.
But now the StatusBar appears to be always black and without gradient.
Is there something i missed, something i need to do to make this changes work?
Help please!!
I'm not sure how to put this to words in any understandable way so I'll give my latest attempt on a line of my appfilter.xml:
Code:
<item drawable="{'banking1', 'banking2', 'banking3', 'banking4'}" component="ComponentInfo{com.bank.name.and.stuff/banky.bank}" />
Is it possible to get 1 component using multiple drawables? for the banking app I want to include a coloured, grey, black, and white version of the icon in the Icon Pack but I'm super duper new to any of this and can't find it in any tutorial or wiki so I hope somebody here has an idea.