yashsingh1/xdaforums huggingface dataset:
[Android Themes] dadroid98:
7-31 16:48:40.343 2264:0x8d8 E/AndroidRuntime ]

FATAL EXCEPTION: main

[COLOR="red"]java.lang.RuntimeException: Unable to create service com.android.systemui.statusbar.StatusBarService: java.lang.IllegalStateException: The specified child already has a parent. You must call removeView() on the child's parent first.[/COLOR]

at android.app.ActivityThread.handleCreateService(ActivityThread.java:2076)

at android.app.ActivityThread.access$2500(ActivityThread.java:123)

at android.app.ActivityThread$H.handleMessage(ActivityThread.java:993)

at android.os.Handler.dispatchMessage(Handler.java:99)

at android.os.Looper.loop(Looper.java:130)

at android.app.ActivityThread.main(ActivityThread.java:3835)

at java.lang.reflect.Method.invokeNative(Native Method)

at java.lang.reflect.Method.invoke(Method.java:507)

at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:864)

at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:622)

at dalvik.system.NativeStart.main(Native Method)

[COLOR="Red"]Caused by: java.lang.IllegalStateException: The specified child already has a parent. You must call removeView() on the child's parent first.[/COLOR]

at android.view.ViewGroup.addViewInner(ViewGroup.java:1976)

at android.view.ViewGroup.addView(ViewGroup.java:1871)

at android.view.ViewGroup.addView(ViewGroup.java:1828)

at com.android.systemui.statusbar.StatusBarService.updateLayout(StatusBarService.java:506)

at com.android.systemui.statusbar.StatusBarService.makeStatusBarView(StatusBarService.java:461)

at com.android.systemui.statusbar.StatusBarService.onCreate(StatusBarService.java:285)

at android.app.ActivityThrea

[/QUOTE]

help me ??
[Android Themes] whalesplaho:
checking brov... thanks a mill!
[Android Themes] dadroid98:
Why do you say you'll help us with a logcat if you do not help us?

What it costs you a little expert help a person like you?

we must give us all a hand!

please help me: (

I need your help!
[Android Themes] SpaceCaker:
just so you know

i cant help everyone

i need logcats so i can see what went wrong

and i have more then just this thread that i need to support

i am a human and also have my own personal live and cant be on xda 24/7

thanks to this i cant help every every every person here

because of just the amounts of majority of people

this is a guide indeed

and people must take their time to try it

and not after 3 tries like

fck it i cant do a thing

i will not continei insteadbi ask OP

well that aint gonna happen with me

i myself also took lot of time to conpare and fix

and its all try and error

i am sorry if i say bad words or make you break but this is my own opinion ;)
[Android Themes] dadroid98:
I did not want to create any fight I only asked for help because I think it's fair to share their experience patience .... I'll see what I can do for fix, thanks anyway and sorry for making you angry I did not want :)
[Android Themes] SpaceCaker:
i am not angry ;)

but its just that i dont wanna be pushed eith stuff from people who dont take the effort to try and error xD

i know u dont want a fight or anything

;)
[Android Themes] ZhmieXD:
Hi mr. SpaceCaker,

Is there any way to make this mod work with Lidroid-enabled SystemUI? :)

Thanks :)
[Android Themes] SpaceCaker:
yes this works with lidroid enabled systemui
[Android Themes] ZhmieXD:
then how to do it? i've apply this on my statusbar with lidroid 14 toggles but the result is fc in systemui..

and what do you mean "remove the sammy toggles", and how to do it?
[Android Themes] dadroid98:
png where I find this?

ic_statusbar_na_upac_top ..

the problem of PNG has been resolved..

the problem is another

CM7 Rom Based :D

java.lang.RuntimeException: Unable to create service com.android.systemui.statusbar.StatusBarService: java.lang.IllegalStateException: The specified child already has a parent. You must call removeView() on the child's parent first.

at android.app.ActivityThread.handleCreateService(ActivityThread.java:2076)

at android.app.ActivityThread.access$2500(ActivityThread.java:123)

at android.app.ActivityThread$H.handleMessage(ActivityThread.java:993)

at android.os.Handler.dispatchMessage(Handler.java:99)

at android.os.Looper.loop(Looper.java:130)

at android.app.ActivityThread.main(ActivityThread.java:3835)

at java.lang.reflect.Method.invokeNative(Native Method)

at java.lang.reflect.Method.invoke(Method.java:507)

at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:864)

at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:622)

at dalvik.system.NativeStart.main(Native Method)

Caused by: java.lang.IllegalStateException: The specified child already has a parent. You must call removeView() on the child's parent first.

at android.view.ViewGroup.addViewInner(ViewGroup.java:1976)

at android.view.ViewGroup.addView(ViewGroup.java:1871)

at android.view.ViewGroup.addView(ViewGroup.java:1828)

at com.android.systemui.statusbar.StatusBarService.updateLayout(StatusBarService.java:506)

at com.android.systemui.statusbar.StatusBarService.makeStatusBarView(StatusBarService.java:461)

at com.android.systemui.statusbar.StatusBarService.onCreate(StatusBarService.java:285)

at android.app.ActivityThread.handleCreateService(ActivityThread.java:2066)

... 10 more

how to edit status bar services.smali ?
[Android Themes] thinkfreedom:
Problem with already themed status bar!!

I have managed to mod the LDPI/MDPI cm7.2 systemUI but there are two problem assosciated:

1. Notifications are not being displayed. Though when notification come, it shows clear button.

2. There are two date and time as shown in screenshots.

How can I solve both problems.I have attached my screenshots and the moded systemUI.apk

status_bar.xml, status_bar_expanded.xml, quickpanel_quick_settings_space.xml are attached in the zip file.

View attachment 2169311

APK:View attachment SystemUI.apk

Please help with this!!
[Android Themes] dadroid98:
I work on your SUI.apk :)
[Android Themes] joeyhuab:
Hey guys

I have found this interesting topic in developer.android.com on how to add flip animations. Maybe you can use this to add the flip animation when switching from notification panel to quick panel toggles. Please check it out Mr. [MENTION=3862405]SpaceCaker[/MENTION] :good:

http://developer.android.com/training/animation/cardflip.html
[Android Themes] Adi Aisiteru Reborn:
I ported Recognized themer sir [MENTION=3989065]serajr[/MENTION] mods V-7 ICS 4.2 style mods for xperia stock which has that feature flip anim to CM9 & CM10 , and you people stock base rom should be able to port it too..

http://xdaforums.com/showthread.php?t=2394541

edit : only for ICS +

am sorry [MENTION=225651]op[/MENTION] sir spacecaker , I thought am in JB guide.
[Android Themes] SpaceCaker:
its ok ;)

u have done lots off toooo epicly cool stuff :)

xD

amazing
[Android Themes] joeyhuab:
Yay

So Mr. [MENTION=3862405]SpaceCaker[/MENTION], you think you can integrate that flip animation soon? My 4.1.2 JB phone would look even better if it can be added. Thanks for your mods! You're a true legend :fingers-crossed:
[Android Themes] SpaceCaker:
i wll take a look and try ;)
[Android Themes] joeyhuab:
Thank you so much!
[Android Themes] Brokn.Down:
Anybody can help me with my systemui? i tried a lot of times and not working :(

is ldpi and cm7.2
[Android Themes] SpaceCaker:
if you have A full logcat of what fails

then please give it ;)

also a cleAn untouched systemui.apk

and moddified systemui.apk ;)
[Android Themes] mjz2cool:
would this guide work for galaxy y? i've tried it, but i can't make it work, could somebody help me with it?
[Android Themes] SpaceCaker:
it works

as said in op i can only help if u hive logcat

also take some time to do it

it isnt easy and will need to have some try and error ;)!
[Android Themes] mjz2cool:
well, i won't stop trying, and for the logcat, how can i filter a logcat on errors and save it to a text file?
[Android Themes] SpaceCaker:
full logcat is better as there are parts that might link to error
[Android Themes] Ca110:
Does it works on a custom rom 2.3.6 forma my Galaxy Player?

Inviato dal mio YP-GS1 con Tapatalk 2
[Android Themes] mjz2cool:
it should, but as spacecaker said it could take some time to get it working
[Android Themes] Ca110:
Thanks anyway but i trought it was a job too complicated for me ;)

Inviato dal mio YP-GS1 con Tapatalk 2
[Android Themes] Abadeer:
Thanks mate this is awesome!! :cowboy:

But, you know how can I "hide" the status bar when it is expanded?

I mean, hide the clock/buttons that is on the status bar just show the clock/date and below?

This is the only thing I need now :(
[Android Themes] SpaceCaker:
check my other guide ;)

view it on my profile ;)

for CM7 there is ond by petrukgrinder

and stock / aosp GB by me ;)
[Android Themes] dat_vdoi25:
Help I get more error

I get error

Help me to fix.thank you

hope you fix for me early
[Android Themes] lowpro3210:
it's a longshot, but any possible to maybe make this work for the evo shift if not too much work?
[Android Themes] dadroid98:
Yu've added this in ids.xml?

<item type="id" name="spaceybeaneyheader">false</item>
<item type="id" name="settings_button">false</item>
<item type="id" name="jbclock">false</item>
<item type="id" name="spacebuttonburst">false</item>
<item type="id" name="recent_app_button">false</item>

try adding these:

<item type="id" name="quickpanel_wifi_btn_text">false</item>
<item type="id" name="quickpanel_wifi_btn_icon">false</item>
<item type="id" name="quickpanel_gps_btn_text">false</item>
<item type="id" name="quickpanel_sound_btn_icon">false</item>

Add this in string.xml

<string name="quickpanel_bluetooth_text">BLUETOOTH</string>
<string name="quickpanel_gps_text">GPS</string>
<string name="quickpanel_rotation_text">ROTATION</string>

You will add the missing values ​​:)

no resource id -> add the values ​​in ids

no resource string-> add the values ​​in string
[Android Themes] SpaceCaker:
u are maybe not using samsung device or different

fix the id to ur original samsung id and strings

text

or use the quickpanel space layout for CM
[Android Themes] nthoa54:
my statusbar can not work after mod but i compile the apk not have error :crying: can you help me
[Android Themes] SpaceCaker:
read OP ;)

i can only help u properly when u have logcat
[Android Themes] nthoa54:
how to logcat the systemui.apk foceclose:confused:
[Android Themes] balajinaik123:
Error

When i am trying to compile error comes up..please help me in fixing the issue

I am attaching the image of cmd..please have a look..
[Android Themes] SpaceCaker:
u have 2 Strings u are missing ( not added to strings.xml )

and also a duplicate attribut in statusbar.xml at line 21
[Android Themes] balajinaik123:
Error

please check my files...And screenshot also which i have compiled again now...please help
[Android Themes] SpaceCaker:
same error as above

u need to add all strings to strings.xml

u havent added them

also again Line 21

duplicate, Remove line 21
[Android Themes] dadroid98:
You try this ;)
[Android Themes] balajinaik123:
Not working

Still not working sir..Removed the line 21 in status_bar.xml and added the following in strings.xml at line 26..

<string name="accessibility_clear_all">Clear</string>

<string name="accessibility_settings_button">System settings.</string>

<string name="status_bar_date_formatter">"%1$s

%2$s"</string>

If you want you can check it..Again error ..Check the files...
[Android Themes] balajinaik123:
Video

If you make a video it will be more helpful..I did not get you..thank you
[Android Themes] SpaceCaker:
find and remove that what i typed out of line

and use that expanded
[Android Themes] balajinaik123:
please Solve

( android:contentDescription="@string/accessibility_clear_all" ) is not present in the file jb_headerview.xml...please check

inside jb_headerview.xml------

<?xml version="1.0" encoding="utf-8"?>

<RelativeLayout android:orientation="horizontal" android:id="@id/jbclock" android:background="@drawable/title_jb_bar_header" android:layout_width="320.0dip" android:layout_height="48.0dip" android:baselineAligned="false" style="@*android:style/Theme.NoTitleBar"

xmlns:android="http://schemas.android.com/apk/res/android">

<com.android.systemui.statusbar.SpaceCakerJBheader android:layout_width="wrap_content" android:layout_height="48.0dip" />

<ImageView android:layout_gravity="center_vertical" android:id="@id/settings_button" android:paddingLeft="8.0dip" android:paddingRight="8.0dip" android:layout_width="48.0dip" android:layout_height="48.0dip" android:layout_marginTop="1.0dip" android:layout_marginBottom="4.0dip" android:src="@drawable/ic_notify_quicksettings" android:layout_toLeftOf="@id/spacebuttonburst" android:contentDescription="@string/accessibility_settings_button" />

<com.spacecaker.ButtonBurst android:id="@id/spacebuttonburst" android:layout_width="48.0dip" android:layout_height="48.0dip" android:layout_alignParentRight="true" />

</RelativeLayout>
[Android Themes] SpaceCaker:
try it now
[Android Themes] balajinaik123:
Nope

How to try bro.I cannot find android:contentDescription="@string/accessibility_clear_all" in jp_headerview.xml

And i have copied all to status_bar_expanded.xml from expanded...

Tried it again error...please make a video bro...I request you...
[Android Themes] SpaceCaker:
see thedited post above use the modded jb header i changed

and i cant make video as guide works

but isnt easy

for this guide u will need to understand xml

and also the errors that the cmd/apktool gives

it takes some time and effort + logcatting to make it work ;)
[Android Themes] balajinaik123:
Thanks for your valuable replies...But i did not succeed in compiling SystemUI.apk file..Please make a video or please pm me your facebook/google id..So that i can ask you questions directly in solving my issue
[Android Themes] dat_vdoi25:
My device is none samsung

I use quickpanel_quick_settings_space.xml for none samsung and it work...but it have very less toggle.

Because I use quickpanel_quick_settings_space.xml in Space_addsV4.zip , added strings and ids you give and I complete mod.No error in compiling.But when I test systemUI on my phone.It FC.I certainly I do this guide sure.Not error and wrong in smail id. What error??
[Android Themes] Finth Dark:
Need help?

I m going to build a 4.0.4 rom, can I use this mod to mod my rom???:confused:
[Android Themes] SpaceCaker:
thats because

thAt samsung layout loads

smali from layout

And those ids and strings

are loaded from smali

thats why it fcs
[Android Themes] dadroid98:
Get a full logcat with adb :)

adb logcat -v long > logcat.txt
[Android Themes] dat_vdoi25:
I will try.But it get more time
[Android Themes] RBDoMGaM:
Very cool, worked perfectly in the European rom of Galaxy Mini.

But I need to resize because they were too big, just have to edit the images or some xml too?

Brilliant work [MENTION=3862405]SpaceCaker[/MENTION], perfect!

Thanks pressed.
[Android Themes] SpaceCaker:
the quickpanel_space.xml

needs edit

and pngs ;)
[Android Themes] kreatonn:
Check PM.
[Android Themes] dat_vdoi25:
BRO,I moded complete..but my phone cant show notifications and ongoing...how to fix??
[Android Themes] autoradio78:
I have too succesful ported in cm7 this mod..

I have a question..

Your tile..for exmple wifi tile...active really on/off wifi or it is a simple link to wifi settings?
[Android Themes] Gogeta:
Can u share, how?

Sent from my iPhone :silly: don't flame me :o

wanna hang out with us? click here:)
[Android Themes] thinkfreedom:
I had simply linked to the wifi setting and for others options too. But I had two problem which in there, as mentioned in my previous post too.Glad that you have achieved.
[Android Themes] autoradio78:
[MENTION=3862405]SpaceCaker[/MENTION]..can you please help us for have in cm7 real toggles on\of and not siple link at configuration settings?

Thanks:)
[Android Themes] SpaceCaker:
its possible but not easy

and isnt something wich can be made into a guide :/

u must port samsung quickpanel smali :/

maybe i can guide it if the smali doesnt need Quickaettingsview
[Android Themes] RBDoMGaM:
The toggles do not change the icons when pressed (only recent button, contacts, settings), this is normal or i did something wrong?

Thanks again [MENTION=3862405]SpaceCaker[/MENTION], your guide is great!

edited

SOLVED!
[Android Themes] psidco:
Hello sir try it on gts5360 cm7 ginggerdx.sorry if already asked.when I push.it force close.logcat say:

Android runtime<9329>:fatal exception main.

Unable to create service com.android.systemui.statusbar.StatusBarService:android.view.inflateException:binary Xml file line#4:eror inflating class com.android.systemui.statusbat.SpaceCakerJBheader

What should I do?:confused::confused::confused:

TIA

Sent from my GT-S5360
[Android Themes] dadroid98:
You attach your xml files
[Android Themes] itouchables:
Yes man if you can port this to cm7, you wil make my week:laugh::laugh::D:D:D:D:D:D:D:D:D:D:D:D:D:D:D:D:D:D
[Android Themes] SpaceCaker:
can be used on cm7

just follow the op properly!!

and use the cm converted space xml
[Android Themes] itouchables:
thanks, i will try when i get back home..:good::good:
[Android Themes] sandeepkiran:
Error in recompile of SystemUI.apk

hi ! i have followed these instructions..But for some reason im unable to recompile the SystemUI.apk . It shown error when i tried to do that..would you please help me.. ive attached my SystemUI.apk file .. plz help me
[Android Themes] dadroid98:
You get a full logcat !
[Android Themes] sandeepkiran:
Thanks ! dadroid98 . Could you plz guide me how to logcat . Im a beginner .
[Android Themes] SpaceCaker:
its all listed in op ;)
[Android Themes] sandeepkiran:
Im trying this for ICS 4.0.4 ... im unable sort out the errors while recompiling SystemUI.apk
[Android Themes] jatin3:
Hy pls port my systemui here it is
[Android Themes] SpaceCaker:
No.

read OP !
[Android Themes] unionk2:
nice
[Android Themes] uriel_zo:
I did

4.04 in atrix 4g ics leak

and notifications do not appear.

there any fix
[Android Themes] SpaceCaker:
how u mean ?

for ics its very very tricky as u need to put the notification layouts properly

i myself havent got this to be done properly yet as i dont own ics devices
[Android Themes] dennis4308:
plz.help error while compiling .
[Android Themes] SpaceCaker:
the error is displayed in first lines ;) they say whats wrong like png doubly etc ;)

cant take look now but with the log during compile it describes the error very very clear
[Android Themes] dennis4308:
what about the C:\apktools\other\..\projects\SystemUI.apk\res\layout\quickpanel_quick_settings_space.xml:9: error: Error: No resource found that matches the given name (at 'text' with value '@string/quickpanel_bluetooth_text').this my problem.
[Android Themes] dadroid98:
You need add " quickpanel_bluetooth_text " value in strings.xml ;)
[Android Themes] dennis4308:
thanks, i'll gonna try.

reply later.:)
[Android Themes] uriel_zo:
motorla atrix 4g

try

now in gingerbread

worked

but

I have not

notifications.

any idea?

saludos.
[Android Themes] SpaceCaker:
ur layout is the problems

post ur statusbar expanded lines here in [ code ] and [hide ] tags
[Android Themes] Erhany:
This is my latest..
[Android Themes] uriel_zo:
here is my statusbar_expanded

attached

regards.
[Android Themes] SpaceCaker:
u can make statusbar fulldlscreen by modifying statusbsrserbice.smali ;)
[Android Themes] randibaaz:
sir can u make like this same for me plzzz.... i m getting lot of errors :'(

plz sir make one for me plzzz....

m attaching my systemui.apk below...plzz sir...

thank you ...
[Android Themes] Vesavoj:
Finally i made it on my mtk 6573 gingerbread.

Great tutorial thank you.
[Android Themes] Robsworth:
Need Help!!!!

Hi Space caker,

i have made this guide work on my micromax a89 ICS rom but has a few problems .

1. the switching between status bar and quickpanel is working but when i closed by status bar when it is in quickpanel ,when i again opening it it doesn't go back to original

status bar rather it stays in whichever last layout we used

2.When i close the quick settings panel it doesnt go with the content of the quickpanel but it follows the status bar content height . So the shortcuts are appearing even after closing a portion of drag handle(See the attached pic for understanding)(in the pic dont confuse i pasted the same linear layout code twice thats why two rows are identical. the handle doesnot wrap the content in this quicksettings panel)

3.I could not add toggles to quickpanel only shorcuts are supporting . i need toggles and i followed lidroid and ended up with FC

Could u please help me in solving these or atleast guide me
[Android Themes] dennis4308:
force close .here is my logcat
[Android Themes] kid1519:
help me

help me, please.

Best wish for you.
[Android Themes] PenguinxEnjoi:
So this will work on a Samsung Showcase (Fascinate Variant)? It is hdpi, but it is also stock Android 2.3.5
[Android Themes] SpaceCaker:
yeah

if u know xml and know how to read errors from apktool log
[Android Themes] SpaceCaker:
added new space_adds files

+ fixed some code in the tutorial

follow the ids

strings

and public fix code

because i have changed some stuff
[Android Themes] saldymhmd:
Omg good job Rob :eek: subscribing this thread for further updates ;)
[Android Themes] Erhany:
Hello dev, first thank you for for sharing your info and GB mod.

I want to try that on ma phone. I have only 1 question, I wonder the right icon next to settings icon ( not toggle). It is for changing screen from notifications to toggles isnt it ? Which codes needed to make it work? Is it in your first topic?

If you quote and reply me, I will be able to try it.. Thank you for your work again.

Edit: Now Im able to download the pack. I checked layout and .ButtonBurst is what Im talking about.

It is for changing screen from notifications to toggles isnt it ?
[Android Themes] adizmayazal:
yes i fixed it need to add date view.smali in policy folder and if u can mension on the tutorial 2 things we dont have in galaxy fit that is we need to add dimen for clear button width in dimines.xml and int G fit the data connection has a extension with XEC "DataConnectionSettingButtonXEC" at the end please add this as this create error

i made it running added some extra mod to including britness slider thanks for the great guide one request if you can provide a guide to add battery % on statusbar it would be great
[Android Themes] SpaceCaker:
yes thats why u need to fix the Public id in it

also spacelayout is needed

this renders the layiut that switches
[Android Themes] SpaceCaker:
in the last files i replaced the data button with recents as many samsung ha difderent data button
[Android Themes] SpaceCaker:
i have added the files

and recorrected guide ;)

all files are in the new space_adds.zip
[Android Themes] :
Awesome guide sir,

Have you written any guide for jelly bean also....

And do let me know sir how can use my own images of my systemUI to avoid errors while compiling.

Please i want to port this to MTK6577 device running 4.1.1 android.

"Hitting Thanks Don't Cost You Anything, so, Why Don't You Try Hitting It Once.......

:) :) :) "
[Android Themes] adizmayazal:
dev one question how to add 14 toggels on "quickpanel_quick_settings_space.xml"
[Android Themes] SpaceCaker:
like explained in second/third post thats how to add more toggles

for 14 lidroid there ar tons of guide for that
[Android Themes] Erhany:
I want to thank you again to you dear dev. I tried busrtbutton (switching layout) it works great and put 5 stars to topic.

For me there is one thing to do for this systemUI mod;

instead of Horizontalscrollview, if toggles list in gridview like your picture it would be great.

Your systemUı toggles directly read from smali file thats good but they appear in other pic 5 toggles scrolling.

I mean putting toggles only one xml. like 1xml for notifications only, other xml is for toggles & sliders..

Anyway thank you again sharing your knowledge with us.
[Android Themes] Mr.FraaN:
reply

i don't found Statusbarservice

i got force close after replace SystemUI.apk :(