• After 15+ years, we've made a big change: Android Forums is now Early Bird Club. Learn more here.

Can an experienced themer help me with an xml question please..

paris8577

Android Enthusiast
I am new to theming. and I am having trouble with xml. I have researched all over and I cannot find an answer. my question is when I open up the horizontal progress xml it is a bunch of yyyyyyy and weird characters. There are no hex values to change the color. It looks nothing like i have seen in guides that show how to change the color of the progress and download bar. I cannot figure it out. I am sure it is quite simple but like I said I am new to all this. I would appreciate any help given very much.
 
Sounds like the xml file your'e looking at has not be decompiled. You'll have to do this in order to see the hex values.
 
Sounds like the xml file your'e looking at has not be decompiled. You'll have to do this in order to see the hex values.

thank you very much that was the problem! now i have a new problem.. all i did was change the 3 values of the gradient color from green to blue in eclipse. saved the xml and try to recompile. and all i get is errors in apk multitool.. i did nothing else but change those 3 numbers. do you know what i might be doing wrong?
 
Ok cool, no problem. Okay what exact errors are you getting? Open up the log and you'll be able to see what errors your'e getting. When I made some custom rom themes I had some similar issues but I can't remember now what the fix was. I know this may seem obvious but make sure you haven't included an extra letter or number in one of the hex values as that will give you errors. Also a good resource may be over at XDA I think there's a super long thread about APK manager and I'm sure there's some people that have had similar issues.
 
Ok cool, no problem. Okay what exact errors are you getting? Open up the log and you'll be able to see what errors your'e getting. When I made some custom rom themes I had some similar issues but I can't remember now what the fix was. I know this may seem obvious but make sure you haven't included an extra letter or number in one of the hex values as that will give you errors. Also a good resource may be over at XDA I think there's a super long thread about APK manager and I'm sure there's some people that have had similar issues.

C:\Program Files (x86)\Android\android-sdk\platform-tools\..\projects\framework-
res.apk\res\values\public.xml:3585: error: Public symbol drawable/sym_keyboard_r
eturn declared here is not defined.
C:\Program Files (x86)\Android\android-sdk\platform-tools\..\projects\framework-
res.apk\res\values\public.xml:3586: error: Public symbol drawable/sym_keyboard_s
hift declared here is not defined.
C:\Program Files (x86)\Android\android-sdk\platform-tools\..\projects\framework-
res.apk\res\values\public.xml:3587: error: Public symbol drawable/sym_keyboard_s
hift_locked declared here is not defined.
C:\Program Files (x86)\Android\android-sdk\platform-tools\..\projects\framework-
res.apk\res\values\public.xml:3588: error: Public symbol drawable/sym_keyboard_s
pace declared here is not defined.
C:\Program Files (x86)\Android\android-sdk\platform-tools\..\projects\framework-
res.apk\res\values\public.xml:2921: error: Public symbol drawable/tab_bottom_lef
t declared here is not defined.
C:\Program Files (x86)\Android\android-sdk\platform-tools\..\projects\framework-
res.apk\res\values\public.xml:2922: error: Public symbol drawable/tab_bottom_lef
t_v4 declared here is not defined.
C:\Program Files (x86)\Android\android-sdk\platform-tools\..\projects\framework-
res.apk\res\values\public.xml:2923: error: Public symbol drawable/tab_bottom_rig
ht declared here is not defined.
C:\Program Files (x86)\Android\android-sdk\platform-tools\..\projects\framework-
res.apk\res\values\public.xml:2924: error: Public symbol drawable/tab_bottom_rig
ht_v4 declared here is not defined.
C:\Program Files (x86)\Android\android-sdk\platform-tools\..\projects\framework-
res.apk\res\values\public.xml:3589: error: Public symbol drawable/tab_focus decl
ared here is not defined.
C:\Program Files (x86)\Android\android-sdk\platform-tools\..\projects\framework-
res.apk\res\values\public.xml:3590: error: Public symbol drawable/tab_focus_bar_
left declared here is not defined.
C:\Program Files (x86)\Android\android-sdk\platform-tools\..\projects\framework-
res.apk\res\values\public.xml:3591: error: Public symbol drawable/tab_focus_bar_
right declared here is not defined.
C:\Program Files (x86)\Android\android-sdk\platform-tools\..\projects\framework-
res.apk\res\values\public.xml:2925: error: Public symbol drawable/tab_indicator
declared here is not defined.
C:\Program Files (x86)\Android\android-sdk\platform-tools\..\projects\framework-
res.apk\res\values\public.xml:2926: error: Public symbol drawable/tab_indicator_
v4 declared here is not defined.
C:\Program Files (x86)\Android\android-sdk\platform-tools\..\projects\framework-
res.apk\res\values\public.xml:3592: error: Public symbol drawable/tab_press decl
ared here is not defined.
C:\Program Files (x86)\Android\android-sdk\platform-tools\..\projects\framework-
res.apk\res\values\public.xml:3593: error: Public symbol drawable/tab_press_bar_
left declared here is not defined.
C:\Program Files (x86)\Android\android-sdk\platform-tools\..\projects\framework-
res.apk\res\values\public.xml:3594: error: Public symbol drawable/tab_press_bar_
right declared here is not defined.
C:\Program Files (x86)\Android\android-sdk\platform-tools\..\projects\framework-
res.apk\res\values\public.xml:3595: error: Public symbol drawable/tab_selected d
eclared here is not defined.
C:\Program Files (x86)\Android\android-sdk\platform-tools\..\projects\framework-
res.apk\res\values\public.xml:3596: error: Public symbol drawable/tab_selected_b
ar_left declared here is not defined.
C:\Program Files (x86)\Android\android-sdk\platform-tools\..\projects\framework-
res.apk\res\values\public.xml:3597: error: Public symbol drawable/tab_selected_b
ar_left_v4 declared here is not defined.
C:\Program Files (x86)\Android\android-sdk\platform-tools\..\projects\framework-
res.apk\res\values\public.xml:3598: error: Public symbol drawable/tab_selected_b
ar_right declared here is not defined.
C:\Program Files (x86)\Android\android-sdk\platform-tools\..\projects\framework-
res.apk\res\values\public.xml:3599: error: Public symbol drawable/tab_selected_b
ar_right_v4 declared here is not defined.
C:\Program Files (x86)\Android\android-sdk\platform-tools\..\projects\framework-
res.apk\res\values\public.xml:3600: error: Public symbol drawable/tab_selected_v
4 declared here is not defined.
C:\Program Files (x86)\Android\android-sdk\platform-tools\..\projects\framework-
res.apk\res\values\public.xml:3601: error: Public symbol drawable/tab_unselected
declared here is not defined.
C:\Program Files (x86)\Android\android-sdk\platform-tools\..\projects\framework-
res.apk\res\values\public.xml:3602: error: Public symbol drawable/tab_unselected
_v4 declared here is not defined.
C:\Program Files (x86)\Android\android-sdk\platform-tools\..\projects\framework-
res.apk\res\values\public.xml:3603: error: Public symbol drawable/text_select_ha
ndle_left declared here is not defined.
C:\Program Files (x86)\Android\android-sdk\platform-tools\..\projects\framework-
res.apk\res\values\public.xml:3604: error: Public symbol drawable/text_select_ha
ndle_middle declared here is not defined.
C:\Program Files (x86)\Android\android-sdk\platform-tools\..\projects\framework-
res.apk\res\values\public.xml:3605: error: Public symbol drawable/text_select_ha
ndle_right declared here is not defined.
C:\Program Files (x86)\Android\android-sdk\platform-tools\..\projects\framework-
res.apk\res\values\public.xml:3606: error: Public symbol drawable/textfield_defa
ult declared here is not defined.
C:\Program Files (x86)\Android\android-sdk\platform-tools\..\projects\framework-
res.apk\res\values\public.xml:3607: error: Public symbol drawable/textfield_disa
bled declared here is not defined.
C:\Program Files (x86)\Android\android-sdk\platform-tools\..\projects\framework-
res.apk\res\values\public.xml:3608: error: Public symbol drawable/textfield_disa
bled_selected declared here is not defined.
C:\Program Files (x86)\Android\android-sdk\platform-tools\..\projects\framework-
res.apk\res\values\public.xml:3609: error: Public symbol drawable/textfield_pres
sed declared here is not defined.
C:\Program Files (x86)\Android\android-sdk\platform-tools\..\projects\framework-
res.apk\res\values\public.xml:2927: error: Public symbol drawable/textfield_sear
ch declared here is not defined.
C:\Program Files (x86)\Android\android-sdk\platform-tools\..\projects\framework-
res.apk\res\values\public.xml:3610: error: Public symbol drawable/textfield_sear
ch_default declared here is not defined.
C:\Program Files (x86)\Android\android-sdk\platform-tools\..\projects\framework-
res.apk\res\values\public.xml:2928: error: Public symbol drawable/textfield_sear
ch_empty declared here is not defined.
C:\Program Files (x86)\Android\android-sdk\platform-tools\..\projects\framework-
res.apk\res\values\public.xml:3611: error: Public symbol drawable/textfield_sear
ch_empty_default declared here is not defined.
C:\Program Files (x86)\Android\android-sdk\platform-tools\..\projects\framework-
res.apk\res\values\public.xml:3612: error: Public symbol drawable/textfield_sear
ch_empty_pressed declared here is not defined.
C:\Program Files (x86)\Android\android-sdk\platform-tools\..\projects\framework-
res.apk\res\values\public.xml:3613: error: Public symbol drawable/textfield_sear
ch_empty_selected declared here is not defined.
C:\Program Files (x86)\Android\android-sdk\platform-tools\..\projects\framework-
res.apk\res\values\public.xml:3614: error: Public symbol drawable/textfield_sear
ch_pressed declared here is not defined.
C:\Program Files (x86)\Android\android-sdk\platform-tools\..\projects\framework-
res.apk\res\values\public.xml:3615: error: Public symbol drawable/textfield_sear
ch_selected declared here is not defined.
C:\Program Files (x86)\Android\android-sdk\platform-tools\..\projects\framework-
res.apk\res\values\public.xml:3616: error: Public symbol drawable/textfield_sele
cted declared here is not defined.
C:\Program Files (x86)\Android\android-sdk\platform-tools\..\projects\framework-
res.apk\res\values\public.xml:2929: error: Public symbol drawable/timepicker_dow
n_btn declared here is not defined.
C:\Program Files (x86)\Android\android-sdk\platform-tools\..\projects\framework-
res.apk\res\values\public.xml:3617: error: Public symbol drawable/timepicker_dow
n_disabled declared here is not defined.
C:\Program Files (x86)\Android\android-sdk\platform-tools\..\projects\framework-
res.apk\res\values\public.xml:3618: error: Public symbol drawable/timepicker_dow
n_disabled_focused declared here is not defined.
C:\Program Files (x86)\Android\android-sdk\platform-tools\..\projects\framework-
res.apk\res\values\public.xml:3619: error: Public symbol drawable/timepicker_dow
n_normal declared here is not defined.
C:\Program Files (x86)\Android\android-sdk\platform-tools\..\projects\framework-
res.apk\res\values\public.xml:3620: error: Public symbol drawable/timepicker_dow
n_pressed declared here is not defined.
C:\Program Files (x86)\Android\android-sdk\platform-tools\..\projects\framework-
res.apk\res\values\public.xml:3621: error: Public symbol drawable/timepicker_dow
n_selected declared here is not defined.
C:\Program Files (x86)\Android\android-sdk\platform-tools\..\projects\framework-
res.apk\res\values\public.xml:2930: error: Public symbol drawable/timepicker_inp
ut declared here is not defined.
C:\Program Files (x86)\Android\android-sdk\platform-tools\..\projects\framework-
res.apk\res\values\public.xml:3622: error: Public symbol drawable/timepicker_inp
ut_disabled declared here is not defined.
C:\Program Files (x86)\Android\android-sdk\platform-tools\..\projects\framework-
res.apk\res\values\public.xml:3623: error: Public symbol drawable/timepicker_inp
ut_normal declared here is not defined.
C:\Program Files (x86)\Android\android-sdk\platform-tools\..\projects\framework-
res.apk\res\values\public.xml:3624: error: Public symbol drawable/timepicker_inp
ut_pressed declared here is not defined.
C:\Program Files (x86)\Android\android-sdk\platform-tools\..\projects\framework-
res.apk\res\values\public.xml:3625: error: Public symbol drawable/timepicker_inp
ut_selected declared here is not defined.
C:\Program Files (x86)\Android\android-sdk\platform-tools\..\projects\framework-
res.apk\res\values\public.xml:2931: error: Public symbol drawable/timepicker_up_
btn declared here is not defined.
C:\Program Files (x86)\Android\android-sdk\platform-tools\..\projects\framework-
res.apk\res\values\public.xml:3626: error: Public symbol drawable/timepicker_up_
disabled declared here is not defined.
C:\Program Files (x86)\Android\android-sdk\platform-tools\..\projects\framework-
res.apk\res\values\public.xml:3627: error: Public symbol drawable/timepicker_up_
disabled_focused declared here is not defined.
C:\Program Files (x86)\Android\android-sdk\platform-tools\..\projects\framework-
res.apk\res\values\public.xml:3628: error: Public symbol drawable/timepicker_up_
normal declared here is not defined.
C:\Program Files (x86)\Android\android-sdk\platform-tools\..\projects\framework-
res.apk\res\values\public.xml:3629: error: Public symbol drawable/timepicker_up_
pressed declared here is not defined.
C:\Program Files (x86)\Android\android-sdk\platform-tools\..\projects\framework-
res.apk\res\values\public.xml:3630: error: Public symbol drawable/timepicker_up_
selected declared here is not defined.
C:\Program Files (x86)\Android\android-sdk\platform-tools\..\projects\framework-
res.apk\res\values\public.xml:2833: error: Public symbol drawable/title_bar decl
ared here is not defined.
C:\Program Files (x86)\Android\android-sdk\platform-tools\..\projects\framework-
res.apk\res\values\public.xml:3631: error: Public symbol drawable/title_bar_medi
um declared here is not defined.
C:\Program Files (x86)\Android\android-sdk\platform-tools\..\projects\framework-
res.apk\res\values\public.xml:3632: error: Public symbol drawable/title_bar_port
rait declared here is not defined.
C:\Program Files (x86)\Android\android-sdk\platform-tools\..\projects\framework-
res.apk\res\values\public.xml:3633: error: Public symbol drawable/title_bar_shad
ow declared here is not defined.
C:\Program Files (x86)\Android\android-sdk\platform-tools\..\projects\framework-
res.apk\res\values\public.xml:3074: error: Public symbol drawable/title_bar_tall
declared here is not defined.
C:\Program Files (x86)\Android\android-sdk\platform-tools\..\projects\framework-
res.apk\res\values\public.xml:3063: error: Public symbol drawable/toast_frame de
clared here is not defined.
C:\Program Files (x86)\Android\android-sdk\platform-tools\..\projects\framework-
res.apk\res\values\public.xml:3634: error: Public symbol drawable/unknown_image
declared here is not defined.
C:\Program Files (x86)\Android\android-sdk\platform-tools\..\projects\framework-
res.apk\res\values\public.xml:3635: error: Public symbol drawable/usb_android de
clared here is not defined.
C:\Program Files (x86)\Android\android-sdk\platform-tools\..\projects\framework-
res.apk\res\values\public.xml:3636: error: Public symbol drawable/usb_android_co
nnected declared here is not defined.
C:\Program Files (x86)\Android\android-sdk\platform-tools\..\projects\framework-
res.apk\res\values\public.xml:3064: error: Public symbol drawable/zoom_plate dec
lared here is not defined.
C:\Program Files (x86)\Android\android-sdk\platform-tools\..\projects\framework-
res.apk\res\values\public.xml:3637: error: Public symbol drawable/zz_stat_sys_r_
signal_0_sprint declared here is not defined.
C:\Program Files (x86)\Android\android-sdk\platform-tools\..\projects\framework-
res.apk\res\values\public.xml:3638: error: Public symbol drawable/zz_stat_sys_r_
signal_1_sprint declared here is not defined.
C:\Program Files (x86)\Android\android-sdk\platform-tools\..\projects\framework-
res.apk\res\values\public.xml:3639: error: Public symbol drawable/zz_stat_sys_r_
signal_2_sprint declared here is not defined.
C:\Program Files (x86)\Android\android-sdk\platform-tools\..\projects\framework-
res.apk\res\values\public.xml:3640: error: Public symbol drawable/zz_stat_sys_r_
signal_3_sprint declared here is not defined.
C:\Program Files (x86)\Android\android-sdk\platform-tools\..\projects\framework-
res.apk\res\values\public.xml:3641: error: Public symbol drawable/zz_stat_sys_r_
signal_4_sprint declared here is not defined.
C:\Program Files (x86)\Android\android-sdk\platform-tools\..\projects\framework-
res.apk\res\values\public.xml:3642: error: Public symbol drawable/zz_stat_sys_r_
signal_5_sprint declared here is not defined.
C:\Program Files (x86)\Android\android-sdk\platform-tools\..\projects\framework-
res.apk\res\values\public.xml:3643: error: Public symbol drawable/zz_stat_sys_r_
signal_6_sprint declared here is not defined.
C:\Program Files (x86)\Android\android-sdk\platform-tools\..\projects\framework-
res.apk\res\values\public.xml:2932: error: Public symbol drawable/zz_stat_sys_ro
aming_cdma_flash_0 declared here is not defined.
C:\Program Files (x86)\Android\android-sdk\platform-tools\..\projects\framework-
res.apk\res\values\public.xml:2933: error: Public symbol drawable/zz_stat_sys_ro
aming_cdma_flash_1 declared here is not defined.
C:\Program Files (x86)\Android\android-sdk\platform-tools\..\projects\framework-
res.apk\res\values\public.xml:2934: error: Public symbol drawable/zz_stat_sys_ro
aming_cdma_flash_2 declared here is not defined.
C:\Program Files (x86)\Android\android-sdk\platform-tools\..\projects\framework-
res.apk\res\values\public.xml:2935: error: Public symbol drawable/zz_stat_sys_ro
aming_cdma_flash_3 declared here is not defined.
C:\Program Files (x86)\Android\android-sdk\platform-tools\..\projects\framework-
res.apk\res\values\public.xml:2936: error: Public symbol drawable/zz_stat_sys_ro
aming_cdma_flash_4 declared here is not defined.
C:\Program Files (x86)\Android\android-sdk\platform-tools\..\projects\framework-
res.apk\res\values\public.xml:2937: error: Public symbol drawable/zz_stat_sys_ro
aming_cdma_flash_5 declared here is not defined.
C:\Program Files (x86)\Android\android-sdk\platform-tools\..\projects\framework-
res.apk\res\values\public.xml:2938: error: Public symbol drawable/zz_stat_sys_ro
aming_cdma_flash_6 declared here is not defined.
C:\Program Files (x86)\Android\android-sdk\platform-tools\..\projects\framework-
res.apk\res\values\public.xml:3644: error: Public symbol drawable/zz_stat_sys_si
gnal_0_sprint declared here is not defined.
C:\Program Files (x86)\Android\android-sdk\platform-tools\..\projects\framework-
res.apk\res\values\public.xml:3645: error: Public symbol drawable/zz_stat_sys_si
gnal_1_sprint declared here is not defined.
C:\Program Files (x86)\Android\android-sdk\platform-tools\..\projects\framework-
res.apk\res\values\public.xml:3646: error: Public symbol drawable/zz_stat_sys_si
gnal_2_sprint declared here is not defined.
C:\Program Files (x86)\Android\android-sdk\platform-tools\..\projects\framework-
res.apk\res\values\public.xml:3647: error: Public symbol drawable/zz_stat_sys_si
gnal_3_sprint declared here is not defined.
C:\Program Files (x86)\Android\android-sdk\platform-tools\..\projects\framework-
res.apk\res\values\public.xml:3648: error: Public symbol drawable/zz_stat_sys_si
gnal_4_sprint declared here is not defined.
C:\Program Files (x86)\Android\android-sdk\platform-tools\..\projects\framework-
res.apk\res\values\public.xml:3649: error: Public symbol drawable/zz_stat_sys_si
gnal_5_sprint declared here is not defined.
C:\Program Files (x86)\Android\android-sdk\platform-tools\..\projects\framework-
res.apk\res\values\public.xml:3650: error: Public symbol drawable/zz_stat_sys_si
gnal_6_sprint declared here is not defined.
C:\Program Files (x86)\Android\android-sdk\platform-tools\..\projects\framework-
res.apk\res\values\public.xml:3651: error: Public symbol drawable/zz_stat_sys_si
gnal_flightmode declared here is not defined.
C:\Program Files (x86)\Android\android-sdk\platform-tools\..\projects\framework-
res.apk\res\values\public.xml:3652: error: Public symbol drawable/zz_stat_sys_si
gnal_null declared here is not defined.
C:\Program Files (x86)\Android\android-sdk\platform-tools\..\projects\framework-
res.apk\res\values\public.xml:3653: error: Public symbol drawable/zz_stat_sys_so
lar_charging declared here is not defined.
C:\Program Files (x86)\Android\android-sdk\platform-tools\..\projects\framework-
res.apk\res\values\public.xml:2945: error: Public symbol drawable/zzz_stat_sys_b
attery_1 declared here is not defined.
Exception in thread "main" brut.androlib.AndrolibException: brut.common.BrutExce
ption: could not exec command: [aapt, p, -F, C:\Users\Raquell\AppData\Local\Temp
\APKTOOL1220538626524686272.tmp, -x, -S, C:\Program Files (x86)\Android\android-
sdk\platform-tools\..\projects\framework-res.apk\res, -M, C:\Program Files (x86)
\Android\android-sdk\platform-tools\..\projects\framework-res.apk\AndroidManifes
t.xml]
at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.jav
a:193)
at brut.androlib.Androlib.buildResourcesFull(Androlib.java:301)
at brut.androlib.Androlib.buildResources(Androlib.java:248)
at brut.androlib.Androlib.build(Androlib.java:171)
at brut.androlib.Androlib.build(Androlib.java:154)
at brut.apktool.Main.cmdBuild(Main.java:182)
at brut.apktool.Main.main(Main.java:67)
Caused by: brut.common.BrutException: could not exec command: [aapt, p, -F, C:\U
sers\Raquell\AppData\Local\Temp\APKTOOL1220538626524686272.tmp, -x, -S, C:\Progr
am Files (x86)\Android\android-sdk\platform-tools\..\projects\framework-res.apk\
res, -M, C:\Program Files (x86)\Android\android-sdk\platform-tools\..\projects\f
ramework-res.apk\AndroidManifest.xml]
at brut.util.OS.exec(OS.java:83)
at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.jav
a:191)
... 6 more
Press any key to continue . . .



LOL wtf?
 
lol....I m 101% sure that u used a already themed framework or one from uot.
using purely stock framework should solve the issue.
 
Back
Top Bottom