CM10 lockscreen theming - Android

I searched like crazy and couldn't find anything out. At one point I found someone who had the lockscreen clock, date, and owner info color modded. But i can't find the post again to ask about it. Anyway, I'm trying to get the lockscreen colors changed. Got everything but the date and owner info. I have the colors updated in the in framework-res\res\values\colors.xml:
Code:
<color name="keyguard_text_color_decline">#ff33b5e5</color>
<color name="lockscreen_clock_background">#ff33b5e5</color>
<color name="lockscreen_clock_foreground">#ff33b5e5</color>
<color name="lockscreen_clock_am_pm">#ff33b5e5</color>
<color name="lockscreen_owner_info">#ff33b5e5</color>
<color name="facelock_spotlight_mask">#cc000000</color>
But only the clock color has changed. I have not been able to find anything else related to this....yet. What am I missing/doing wrong/overlooking?

Related

Font

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

SOLVED (Q)Toast text color?

Hi guys, I am customizing the looks of my phone and changed the default ics toast popup menu with another one which is dark and so I need to change text colour coz now it's black on black. I would like to change it to ics blue, which is the xml code that controls color of text on toast popup?
Solved:
I forgot to mention the changes were for the theme_values xml in MIUI...anyhoww, tring and tring i found out the cmd line is
<color name="background_light">COLOR</color>

app colors preview

Howdy all. I'm modifying the new version of the Yahoo mail app to make it less purple. I've got almost all traces of Teletubby puke out of the apk, but I am having issue with the colors.xml. The color name strings don't exactly tell me what color goes to to which elements in the app.
Such names are:
<color name="action_bar_top_gradient">#ffffff</color>
<color name="action_bar_bottom_gradient">#ebe8ed</color>
<color name="action_bar_split_top_gradient">#f5f2f7</color>
<color name="action_bar_split_bottom_gradient">#e3e1e5</color>
<color name="action_bar_edge_divider_line">#5533528f</color>
<color name="action_bar_extra_divider_line">#ffffff</color>
Colors.xml uses like 50 shades of purple. Saint's ColorEdit makes it easy to edit the color, I just need to figure out which color name goes to which element. Is there a preview emulator which I can run the apk with so I can see my color changes without having to recompile the apk and installing it on my phone everytime?

Does anyone know how to change the color of the text under the icons

Does anyone know how to change the color of the text under the icons , mine are like a off white color, is their a xposed app for this?
Look for some thing like this in you're launcher,res,values,color.xml
<color name="workspace_icon_text_color">#ff33b5e5</color>
<color name="quantum_panel_text_color">#ffd300</color>
<color name="quantum_panel_text_shadow_color">#ffd300</color>
They will give you the text change.

Help with change the "in call" icons color in SamsungInCallUI.apk.

Hello to all.
I have rooted note 8 N950F pie with deluxe rom and I try to color the "in call" icons from white to red.
what I did was to change some parameters in
colors.xml
Click to expand...
Click to collapse
in
SamsungInCallUI/res/values/colors.xml
Click to expand...
Click to collapse
.
The Parameters I changed are:
Code:
<color name="call_card_element_color_default">#ffff0000</color>
<color name="call_card_state_sub_text_color">#ffff0000</color>
<color name="incall_button_checked_disabled_tint">#66008000</color>
<color name="incall_button_checked_tint">#ff008000</color>
<color name="incall_button_default_tint">#ffff0000</color>
<color name="incall_button_disabled_text">#66ff0000</color>
<color name="incall_button_disabled_tint">#66ff0000</color>
<color name="incall_button_text">#ffff0000</color>
<color name="incoming_call_default_text_color">#ffff0000</color>
but there is no effect on the color.
Please can anyone can tell me what I need to do?
Thanks.

Categories

Resources