Welcome to XDA

Search to go directly to your device's forum

Register an account

Unlock full posting privileges

Ask a question

No registration required
Post Reply

[HELP] Theme Code Editing

OP riki075

25th September 2014, 11:12 AM   |  #1  
OP Member
Thanks Meter: 3
 
35 posts
Join Date:Joined: Nov 2013
Hi, I want to edit a theme.apk that I'm using. In the screenshots I highlighted what I want to edit.
Screenshot 1: I want to edit the colors of the two kind of highlighted text.
Screenshot 2: I want to find and edit (maybe with Paint) highlighted images.

1:


2:


I tried to extract the APK and I think color codes are in ..\res\values\colors.xml but I don't know which code I have to edit.
This is the file: DOWNLOAD ( VIEW VERSION )

Thank you!
25th September 2014, 02:11 PM   |  #2  
Primokorn's Avatar
Recognized Contributor
Thanks Meter: 2,912
 
5,106 posts
Join Date:Joined: Nov 2012
Donate to Me
More
Quote:
Originally Posted by riki075

Hi, I want to edit a theme.apk that I'm using. In the screenshots I highlighted what I want to edit.
Screenshot 1: I want to edit the colors of the two kind of highlighted text.
Screenshot 2: I want to find and edit (maybe with Paint) highlighted images.

1:



2:


I tried to extract the APK and I think color codes are in ..\res\values\colors.xml but I don't know which code I have to edit.
This is the file: DOWNLOAD ( VIEW VERSION )

Thank you!

2. QS text color is managed by a style from SystemUI. You won't find anything into colors.xml
25th September 2014, 03:48 PM   |  #3  
OP Member
Thanks Meter: 3
 
35 posts
Join Date:Joined: Nov 2013
Quote:
Originally Posted by Primokorn

2. QS text color is managed by a style from SystemUI. You won't find anything into colors.xml

But It change when I apply the theme
25th September 2014, 03:51 PM   |  #4  
Primokorn's Avatar
Recognized Contributor
Thanks Meter: 2,912
 
5,106 posts
Join Date:Joined: Nov 2012
Donate to Me
More
Quote:
Originally Posted by riki075

But It change when I apply the theme

The theme changes the tiles. Nothing weird. The color is just defined into styles.xml and not colors.xml
25th September 2014, 05:18 PM   |  #5  
OP Member
Thanks Meter: 3
 
35 posts
Join Date:Joined: Nov 2013
Quote:
Originally Posted by Primokorn

The theme changes the tiles. Nothing weird. The color is just defined into styles.xml and not colors.xml

I found "folder_icon_title_text" and "folder_title_text" in colors.xml
Code:
<color name="folder_icon_title_text">#ffffffff</color>
<color name="folder_title_text">#ff33b5e5</color>
#ffffffff is white and 33b5e5 is light blue, but in the screenshot the two colors aren't those. What do you think?
Last edited by riki075; 25th September 2014 at 05:52 PM.
25th September 2014, 06:17 PM   |  #6  
Primokorn's Avatar
Recognized Contributor
Thanks Meter: 2,912
 
5,106 posts
Join Date:Joined: Nov 2012
Donate to Me
More
Quote:
Originally Posted by riki075

I found "folder_icon_title_text" and "folder_title_text" in colors.xml

Code:
<color name="folder_icon_title_text">#ffffffff</color>
<color name="folder_title_text">#ff33b5e5</color>
#ffffffff is white and 33b5e5 is light blue, but in the screenshot the two colors aren't those. What do you think?

Here is how I change the color if the tile text through systemui:
Code:
<style name="TextAppearance.StatusBar.Expanded.Network.EmergencyOnly" parent="@android:style/TextAppearance" />
    <style name="TextAppearance" />
    <style name="TextAppearance.QuickSettings" parent="@style/TextAppearance" />
    <style name="TextAppearance.QuickSettings.TileView" parent="@style/TextAppearance.QuickSettings">
        <item name="android:textSize">12.0dip</item>
        <item name="android:textStyle">bold</item>
        <item name="android:textColor">#ff111111</item>
        <item name="android:textAllCaps">true</item>
        <item name="android:paddingStart">6.0dip</item>
        <item name="android:paddingEnd">6.0dip</item>
    </style>
Post Reply Subscribe to Thread
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes