What's new
DroidForums.net | Android Forum & News

This is a sample guest message. Register a free account today to become a member! Once signed in, you'll be able to participate on this site by adding your own topics and posts, as well as connect with other members through your own private inbox!

Theming Guide for changing system text settings.

May someone please help me; to get this working on my computer. I think its my environment variables. It want let me complie and a apk and Im using the stock famework apk that someone posted on here.

C:\DroidDoes\tools;C:\Program Files (x86)\Java\jre6\bin\;C:\DroidDoes\tools;C:\DroidDoes\tools\Apk_Manager_4.8\other
 
I just set the end of my path to C:\Android\tools

I just stuck apk manager in the tools folder.
 
Are you trying to push with the phone on or in recovery? If you are leaving it on then you can use root explorer and go into your system and select rw at the top to make it read write. If your in recovery you could try adb shell, su, sysrw to get it read write or adb shell, su, mountsys. really depends on the rom you are running and their code for mounting system read write. or go into mount options and just mount system prolly a little quicker.


Yes I have had the phone on I did not know that it would make a difference if it was on or off. I thank you for getting back to me I am going to work now but will try this tonight thanks again.
 
My first attempt at theming a App

Here is a screen shot of my Calculator App
It is just the App that I have been playing around with to see what does what.
Just thought I would share.
 
OK, anyone, please point me to the font color for contats.apk I want to change it.
 
How about changing the font color for dropdown boxes? I'm having issues finding this one. Also, is there a way to change the font color for selected tabs from default white to black when selected?

I'm assuming the dropdown box font color is one of these:

<style name="TextAppearance.Widget.DropDownHint" parent="@style/TextAppearance.Widget">
<item name="textSize">14.0sp</item>
<item name="textColor">?textColorPrimaryInverse</item>
</style>

<style name="TextAppearance.Widget.DropDownItem" parent="@style/TextAppearance.Widget">
<item name="textColor">@color/primary_text_light_disable_only</item>
</style>
 
Last edited:
I haven't tried it, but it would probably be one of those. Either change the color directly or point it to colors.
 
Is there a way to change the font color for selected tabs from the default white to black when selected?


There are two xmls for changing the tabs font colors. One is for regular tabs and one is for v4 tabs. It's stupid but there is a difference. The two xmls are in /res/color and are tab_indicator_text and tab_indicator_text_v4
 
How about changing the font color for dropdown boxes? I'm having issues finding this one. Also, is there a way to change the font color for selected tabs from default white to black when selected?

I'm assuming the dropdown box font color is one of these:

<style name="TextAppearance.Widget.DropDownHint" parent="@style/TextAppearance.Widget">
<item name="textSize">14.0sp</item>
<item name="textColor">?textColorPrimaryInverse</item>
</style>

<style name="TextAppearance.Widget.DropDownItem" parent="@style/TextAppearance.Widget">
<item name="textColor">@color/primary_text_light_disable_only</item>
</style>

I have changed those and it seems to work but some drop downs don't go off of that setting. Another thing to look at is in /res/layout/simple_dropdown_hint.xml . I believe I had to changed that one as well. Still some app developers decided to put there own static codes in but use the same images from the framework, go figure.
 
This may have been addressed... but I am being lazy and don't want to read 36 pages.

I did a test by editing the style.xml as in the op. Saved. Then after hitting 11... I get a big error log. What am I missing? I wasn't sure what you meant by the environment variables of the apktool.jar. Can someone explain?

Some of the errors....

S: Could not decode file...... 9.png
I: Copying assests and libs...
W: Could not find sources
I: Checking whether resources has changed...
I: Building resources...
libpng error: Read Error
ERROR: Failure processing PNG image..... Etc.

I think you get the jist.
 
Make sure you have all the stock images in the apk or you'll receive those errors everytime.

I edit the xmls, then transfer the files after compiling.
 
That's all I'm editing. I don't care about the png errors. The main error at the bottom....

brut.commom.BrutException: could not exec command: [appt, p, F, .........\out\AndroidManifest.xml] at brut.util.OS.exec(Unknown Source)
... 7 more.


Does it have to do with the path thing?
 
Back
Top