[Q][HARD] App XML Font Color Editing

thor6577

Senior Member
Feb 6, 2012
375
240
0
Mesquite
Hey guys I am trying to edit the mms.apk so that all the text color is cyan. I have NinjaMorph but I don't know which xml file the text part is in. My question is where the xml file is so i can edit it.
 

wewoapsiak

Senior Member
Sep 12, 2009
484
185
0
The drawables.xml has the following values:

Code:
    <item type="drawable" name="text_color">#ffffffff</item>
    <item type="drawable" name="text_color_red">#ffff0000</item>
    <item type="drawable" name="text_color_black">#ff000000</item>
    <item type="drawable" name="text_color_offwhite">#55ffffff</item>
    <item type="drawable" name="text_color_green">#ff00ff00</item>
Have you tried those?
 

thor6577

Senior Member
Feb 6, 2012
375
240
0
Mesquite
The drawables.xml has the following values:

Code:
    <item type="drawable" name="text_color">#ffffffff</item>
    <item type="drawable" name="text_color_red">#ffff0000</item>
    <item type="drawable" name="text_color_black">#ff000000</item>
    <item type="drawable" name="text_color_offwhite">#55ffffff</item>
    <item type="drawable" name="text_color_green">#ff00ff00</item>
Have you tried those?
Where is that xml file in the .apk?
 

wewoapsiak

Senior Member
Sep 12, 2009
484
185
0
Mms.apk\res\values

You have to decompile the apk for values subfolder to be viewable. When compiled this along with a bunch of other stuff gets "hidden" and lumped into the resources.arsc file.
 

thor6577

Senior Member
Feb 6, 2012
375
240
0
Mesquite
The drawables.xml has the following values:

Code:
    <item type="drawable" name="text_color">#ffffffff</item>
    <item type="drawable" name="text_color_red">#ffff0000</item>
    <item type="drawable" name="text_color_black">#ff000000</item>
    <item type="drawable" name="text_color_offwhite">#55ffffff</item>
    <item type="drawable" name="text_color_green">#ff00ff00</item>
Have you tried those?
Just making sure but I edit all of the text colors to the cyan code (#00FFFF) to make all text a cyan text color right?
 

wewoapsiak

Senior Member
Sep 12, 2009
484
185
0
You have to add transparency (alpha) code to the beginning of the setting. Cyan would be:
#ff00ffff

I've never messed with the mms.apk, but I think these should be the values you need to change.
 
  • Like
Reactions: buru898

wewoapsiak

Senior Member
Sep 12, 2009
484
185
0
Woah I can't compile my apk with APK Manager, Im getting an error. Any help?:confused:

What error? I just changed all the values I listed above then recompiled perfectly. Selected yes for system apk, then yes for the error question, deleted the resources.arsc, then continued.

Also the styles.xml has the following value that might help you if the above ones don't
<item name="android:textColor">?android:textColorPrimary</item>
You could try changing the ?android....Primary to the code for your color.
 

thor6577

Senior Member
Feb 6, 2012
375
240
0
Mesquite
What error? I just changed all the values I listed above then recompiled perfectly. Selected yes for system apk, then yes for the error question, deleted the resources.arsc, then continued.

Also the styles.xml has the following value that might help you if the above ones don't
<item name="android:textColor">?android:textColorPrimary</item>
You could try changing the ?android....Primary to the code for your color.
What did you use to recompile?

Sent from my phone
 

thor6577

Senior Member
Feb 6, 2012
375
240
0
Mesquite
I will try that version. I think I was using 5.2, but its a little glitchy. How large was your compiled apk after the delete of resources file? Mine is only 554 KB and im not sure if that is large enough.
 
Last edited: