yashsingh1/xdaforums huggingface dataset:
[Android Themes] Ticklefish:
In the same place as your digital clock code. You'll also need to make that digital clock vanish.

So, using your code from a few posts ago...

<?xml version="1.0" encoding="utf-8"?>
<LinearLayout android:gravity="center_vertical" android:orientation="horizontal" android:id="@id/header" android:background="#3f000000" android:layout_width="fill_parent" android:layout_height="@dimen/notification_panel_header_height" android:baselineAligned="false"
xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:systemui="http://schemas.android.com/apk/res/com.android.systemui">
<RelativeLayout android:id="@id/datetime" android:layout_width="fill_parent" android:layout_height="@dimen/notification_panel_header_height">
[COLOR="Red"] <AnalogClock android:layout_width="wrap_content" android:layout_height="fill_parent" android:layout_alignParentLeft="true" />[/COLOR]
<com.android.systemui.statusbar.policy.ClockStock [COLOR="red"]android:visibility="gone" [/COLOR]android:textAppearance="@style/TextAppearance.StatusBar.Expanded.Clock" android:gravity="left|center" android:id="@id/clock" android:layout_width="wrap_content" android:layout_height="fill_parent" android:layout_marginLeft="4.0dip" android:layout_marginRight="4.0dip" android:singleLine="true" android:layout_alignParentLeft="true" />
<com.android.systemui.statusbar.policy.DateView android:textAppearance="@style/TextAppearance.StatusBar.Expanded.Date" android:gravity="left|center" android:id="@id/date" android:layout_width="wrap_content" android:layout_height="fill_parent" android:layout_marginLeft="2.0dip" android:layout_marginRight="2.0dip" android:maxLines="2" android:singleLine="false" android:layout_toRightOf="@id/clock" />
<View android:id="@id/systemui_preferences_menu_anchor" android:layout_width="wrap_content" android:layout_height="fill_parent" android:layout_alignParentLeft="true" />
<ImageView android:id="@id/menus_button" android:paddingLeft="8.0dip" android:paddingRight="8.0dip" android:layout_width="wrap_content" android:layout_height="fill_parent" android:src="@drawable/ic_notify_quicksettings" android:layout_toRightOf="@id/date" android:contentDescription="@string/accessibility_menu" />
<ImageView android:id="@id/clear_all_button" android:paddingLeft="8.0dip" android:paddingRight="8.0dip" android:layout_width="wrap_content" android:layout_height="fill_parent" android:src="@drawable/ic_notify_clear" android:layout_alignParentRight="true" android:contentDescription="@string/accessibility_clear_all" />
</RelativeLayout>
</LinearLayout>
[Android Themes] G.M.L:
OK Know i get this

i think its fall android:layout_toRightOf="@id/clock" /> in <com.android.systemui.statusbar.policy.DateView
[Android Themes] Ticklefish:
Ah, yes. In that case, give the AnalogClock line an ID and refer to that instead.

<AnalogClock [COLOR="Red"]android:id="@+id/MyAnalogClock"[/COLOR]...

Use the '+' symbol to make your compiler register the new ID.
[Android Themes] G.M.L:
Ok thanks i made it and that!!!

you are the best!!!!!!!

thanks a lot!!!!!
[Android Themes] :
[MENTION=5064082]joehanh88[/MENTION]

What you think to make theming tutorial for KitKat??
[Android Themes] Ticklefish:
Anytime. :highfive:
[Android Themes] pepmat:
No one knows how to remove the black horizontal stripe?
[Android Themes] masanamuthu:
Hey itz cool .how can u do that??
[Android Themes] pepmat:
With work, it took me tantissimo.Now if someone tells me how to remove the black stripe perhaps the public
[Android Themes] Ticklefish:
What does your status_bar_expanded.xml look like?

(Copy and paste into your post please. Don't attach it. It's quicker that way. :))
[Android Themes] Ticklefish:
Next time, can you enclose your code in 'code' tags please? It makes it more readable and you don't lose any characters. Like the example above..

This is relatively simple, once you know what you're looking at. The section with the clock and date is your header. You have a line of code calling the header..

<include android:layout_width="fill_parent" android:layout_height="@dimen/tw_notification_panel_header_height" [COLOR="Red"]layout="@layout/tw_status_bar_expanded_header"[/COLOR] />

Underneath that line in the code is a line that has something do with emergency calls. This black line you want to remove clearly isn't anything to do with that.

Then underneath the emergency calls line you have:

<View android:background="#ff091a24" android:layout_width="fill_parent" android:layout_height="1.0dip" android:layout_marginTop="@dimen/tw_notification_panel_header_height" />

This is the width of the statusbar and only 1 dip tall. This has to be your black line. Delete this line of code and you should be very happy. :D
[Android Themes] pepmat:
Ok thanks I'll try tonight and let you know :)
[Android Themes] pepmat:
I removed the code that you have shown me but I have not solved, the black stripe there again: (

---------- Post added at 07:00 PM ---------- Previous post was at 06:58 PM ----------

I removed the code that you have shown me but I have not solved, the black stripe there again: (
[Android Themes] Ticklefish:
In that case, can I see your new code please? And also your header code?
[Android Themes] pepmat:
Why?
[Android Themes] V.Andrei:
Super Tutorial

A very good tutorial.

I have a ZTE Blade V and I went almost all the changes.

So I urge people who have this phone to try to press THANKS as me.

Sorry for my bad English
[Android Themes] arneldna:
I own i9070 - Galaxy S Advance. I am trying to port a theme from S3 mini (S5 kikat look alike).

S3 mini theme: http://xdaforums.com/showthread.php?t=2683304

First I tried the SystemUI, it worked, and the notification panel was almost themed like S5. Then I tried the other packages, but that gave me an FC/Bootloop/TOTAL frustration! (quite obvious as they are not meant for i9070).

I am without a PC since 4 weeks (HDD crashed), but can get one in the interim if required. I really appreciate the themer's hardwork and I would have been glad if my request wasn't turned down :(:(, (no bad feelings :o ).

All I need is some guidance and help, in porting the above Theme to my device. I can share any file/apk from my ROM if required. I can't buy an S5 but I certainly know that I can make my Phone look like one when we have people in XDA who believe in 'Sharing is Caring'
[Android Themes] ezknives:
Is there a good one like this one for kk 4.4.1 that anyone knows of? Thank you kindly...
[Android Themes] pepmat:
How do I remove the black stripe from my SystemUI?I want to remove this black stripe
[Android Themes] Ticklefish:
:cool:
[Android Themes] Ticklefish:
You haven't removed that line of code I mentioned. You need to delete this line:

<View android:background="#ff091a24" android:layout_width="fill_parent" android:layout_height="1.0dip" android:layout_marginTop="@dimen/tw_notification_panel_header_height" />

Delete that line and see what difference it makes. If you still have that line, decompile your modded apk and share your xml.
[Android Themes] pepmat:
I had removed that line but the horizontal stripes rimangono.Now I tried again

---------- Post added at 02:29 PM ---------- Previous post was at 02:24 PM ----------

I had removed that line but the horizontal stripes rimangono.Now I tried again<br/>

---------- Post added at 02:55 PM ---------- Previous post was at 02:29 PM ----------

I tried now, but compiling it gives me error. Now I send in mp my SystemUI, so that you can do it for me if you want. Thank you
[Android Themes] lacoursiere18:
Dont send the SystemUI.apk just simply post the error you are getting therefore you learn how to fix it as well

Most likely a public.xml error bc you are removing a line in the xml..
[Android Themes] pepmat:
I use apktool, but in completing the apk I get several errori.Mi out many sentences with the word error
[Android Themes] Ticklefish:
What are those sentences?

Apktool error messages may look like just a lot of meaningless text but they do actually say what the issue is and why the file isn't compiling.
[Android Themes] lacoursiere18:
Please post your cmd prompt here of you compiling..We will tell you what needs to be fixed..
[Android Themes] Ticklefish:
Yes..but we're not removing a line with an ID in it.

In theory, removing the line we're removing shouldn't cause any compiling problems at all.
[Android Themes] pepmat:
I send you my SystemUI.apk
[Android Themes] lacoursiere18:
You doing that, you never learn how to fix things yourself.. Just saying..

Why not just post the error so we can show you the proper fix.. Then you will know how to the next time it comes up:victory:
[Android Themes] Ticklefish:
I won't be able to do anything with it. Please share the error messages so we can fix this mod for you.
[Android Themes] pepmat:
You can wait 10 minutes? Should I turn on the PC to copy the error
[Android Themes] Ticklefish:
I've got time. :)

And yes, absolutely. Have a look at my post in another thread to see how you should do it: http://xdaforums.com/showpost.php?p=53821342&postcount=2371

I need to know EVERYTHING that's in that error message if I'm to stand any chance of fixing it.
[Android Themes] pepmat:
Here is the error...
[Android Themes] Ticklefish:
Hmm...that's quite a long one. Unfortunately it's not all the error and I need to see everything.

Right-click on the title bar of your command window, select Properties, then Layout then change the Screen Buffer Size Height to 1000.

Then try your recompile again.

Then, when you get your error, right-click on the text, select Select All, then Copy, then paste it into your reply here.

Make sure you use code tags on your pasted text..

..so it looks like this!

Did you use apktool to install any files before you decompiled your apk?

Y'know, it might be worth looking at Tickle My Android. It's made by a decompiling genius (:cool:) and all you'd need to do to get help with an error is share just one file..
[Android Themes] pepmat:
I want to remove only a black bar! I do so much chaos?
[Android Themes] Ticklefish:
You could always unroot your phone and stick with your stock rom.. :D

It may seem like a lot of work but once you get the hang of it, it's pretty simple.
[Android Themes] pepmat:
You do not want to help me, because I used my SystemUI.You can remove the strip you directly!

---------- Post added at 04:14 PM ---------- Previous post was at 04:10 PM ----------

You do not want to help me, because I used my SystemUI.You can remove the strip you directly!
[Android Themes] Ticklefish:
I'm happy to help. If you don't want to do the things I asked you to do so that I can help, that's up to you.

Unfortunately I'm not a modding factory. I am not in a position to do mods for people a lot of the time.

If you want me to help you learn how to mod, then I will. If you don't, then that's your call.
[Android Themes] pepmat:
Can you tell me how to add the quick settings? To be precise I would like this
[Android Themes] Ticklefish:
The ones above the brightness bar? Tricky. In some roms, they're already there. I'm on an Xperia 4.3 and my SystemUI.apk has a file called quick_settings.xml in it:

<?xml version="1.0" encoding="utf-8"?>
<com.android.systemui.statusbar.phone.SettingsPanelView android:id="@id/settings_panel" android:background="@drawable/notification_panel_bg" android:layout_width="fill_parent" android:layout_height="wrap_content"
xmlns:android="http://schemas.android.com/apk/res/android">
<com.android.systemui.statusbar.phone.QuickSettingsScrollView android:layout_width="fill_parent" android:layout_height="wrap_content" android:layout_marginBottom="@dimen/close_handle_underlap" android:overScrollMode="ifContentScrolls">
<com.android.systemui.statusbar.phone.QuickSettingsContainerView android:id="@id/quick_settings_container" android:layout_width="fill_parent" android:layout_height="wrap_content" android:animateLayoutChanges="true" android:columnCount="@integer/quick_settings_num_columns" />
</com.android.systemui.statusbar.phone.QuickSettingsScrollView>
<View android:id="@id/handle" android:background="@drawable/status_bar_close" android:visibility="invisible" android:layout_width="fill_parent" android:layout_height="@dimen/close_handle_height" />
</com.android.systemui.statusbar.phone.SettingsPanelView>

This isn't used in my rom, it's just there. To put them into my rom, I'd probably just need to put this line in the appropriate xml file:

<include layout="@layout/quick_settings" />

But there's a chance that I might need to do some smali editing to actually activate it.

Like I said, tricky.

You might be better off asking in your devices forum as it probably depends on the exact rom you've got.
[Android Themes] pepmat:
Yes, I would like to enter the cells that are above the bar in the screen brightness. You do not know how to add?
[Android Themes] Ticklefish:
Hmm, I've got to be honest. I would have thought that would do it. Let me have another look at your code and see what could be causing this line..

I have an idea. Try changing this line of code:

<ScrollView android:id="@id/scroll" android:fadingEdge="none" android:layout_width="fill_parent" android:layout_height="fill_parent" android:layout_marginTop="@dimen/tw_notification_panel_header_line_height" android:overScrollMode="ifContentScrolls">

to:

<ScrollView android:id="@id/scroll" android:fadingEdge="none" android:layout_width="fill_parent" android:layout_height="fill_parent" android:overScrollMode="ifContentScrolls">

That removes the margin at the top of the ScrollView. Because the ScrollView has no background, you'd see the background of your expanded screen through it...which is a shade of black.

If that doesn't work, try changing the code at the top from:

<FrameLayout android:id="@id/notification_panel" android:background="@drawable/aaa" android:paddingTop="@dimen/notification_panel_padding_top" android:layout_width="fill_parent" android:layout_height="fill_parent" android:layout_marginLeft="@dimen/notification_panel_margin_left"
xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:systemui="http://schemas.android.com/apk/res/com.android.systemui">

to:

<FrameLayout android:id="@id/notification_panel" android:background="#ffff0000" android:paddingTop="@dimen/notification_panel_padding_top" android:layout_width="fill_parent" android:layout_height="fill_parent" android:layout_marginLeft="@dimen/notification_panel_margin_left"
xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:systemui="http://schemas.android.com/apk/res/com.android.systemui">

It won't get rid of the line but it'll help give a clue to what's causing it, depending on what colour the line now is.
[Android Themes] pepmat:
Ok, you can wait 10 minutes? Now turn on the PC, and do as thou hast said

---------- Post added at 10:19 AM ---------- Previous post was at 10:17 AM ----------

Ok, you can wait 10 minutes? Now turn on the PC, and do as thou hast said

---------- Post added at 10:22 AM ---------- Previous post was at 10:19 AM ----------

Now that I think about it, when you told me that you have an idea you left me the same code
[Android Themes] adhitya24:
Thanks for this guide, hope u make an other tutorial for jb :victory:
[Android Themes] arneldna:
I am runing a Samsung TW stock ROM and I am trying to MOD the Stock TW SystemUI, with Kitkat White Icons. but I see there are numerous battery, Radio Signal indicator and Wifi Icons of various colors Blue & Grey in the RES folder. I replaced the grey icons with higher resolution icons 56x32, and recompiled but then I got an FC. What is the max resolution that the status bar supports? The default icons are dim and blurry...I need them to be white and crisp.

Can anybody help me with the exact icons that needs to be replaced ? and if any XMLs are to be edited ?
[Android Themes] lacoursiere18:
See in this case.. it doesnt appear that you will be able to find the error..

This is what I do when I face this problem, most likely from a result of not installing the proper framework.. Make a copy of values/public.xml..Save it some where.. Then DELETE it in values/ folder.. Then go ahead and try to recompile therefore generating a NEW public.xml

Sometime works..Sometimes it does not..
[Android Themes] pepmat:
I solved the error, and since no one has given me a real help, I worked alone and I managed to get this black bar.
[Android Themes] lacoursiere18:
Well if thats the case than maybe next time you shouldn't post at all.. I can probably count about 15 posts of people "helping" you..

Not sure you meant it that way, but please be courteous and respectful of people taking the time to even answer you..

This forum is not a place where we just spoon food you the answers. People come from all different android versions and device types. SO if someone is willing to even respond and try to help you, be mindful of that
[Android Themes] pepmat:
Sorry, I'm Italian, maybe I expressed myself male.Volevo say that the help I found was not the greatest, but thank you anyway for having tried to aiutare.Se I explained bad sorry
[Android Themes] dec0der:
Guys, can anyone teach me how to I add AM/ PM on the status bar? Attached is the SystemUI.apk of the ROM. Thanks in advance.
[Android Themes] Hamidreza2010:
Hi guys

i want to add " take screen shoot " to power menu in jb 4.3

fore example for sony device ( xperia sp )

what should i do?

if know it please help me

thanks for your helping
[Android Themes] Ticklefish:
You're on KitKat, right? Probably the easiest way to add AM/PM to the clock is not to.. ;)

For Android 4.2, Google introduced a widget code called 'TextClock'. This is a clock that can be configured to display the time, or the date, in lots of different ways. Including with 'AM' and 'PM'.

Have a look at this example here: http://developer.android.com/reference/android/widget/TextClock.html

So all you'd need to do is hide the current clock (don't delete the line!) and add a line of code that looks something like this:

<TextClock android:format12Hour="hh:mm aa" android:format24Hour="kk:mm" android:layout_width="wrap_content" android:layout_height="fill_parent" />

On its own, that code won't work. You need to add the correct style and so on. But it should help you get started.

If you're on Android 4.1 or below, adding 'AM/PM' is a lot trickier..

To be honest, I don't actually know how to do this one...but I can suggest a starting point. Have a look at this tutorial here: http://xdaforums.com/showthread.php?t=1692080

It's a bit old but it's a good start.
[Android Themes] Hamidreza2010:
Oh ok

thanks a lot bro

I,ll try it
[Android Themes] Dims_Camper:
looks like its for samsung, how about another brand that using stock xml?
[Android Themes] Spannaa:
I addition to what [MENTION=4315551]Ticklefish[/MENTION] posted, I wrote a guide on how to replace your statusbar clock with a styled TextClock which may help you further.
[Android Themes] Ticklefish:
A very good guide, it is too! :highfive:
[Android Themes] numbazZ:
Hi, maybe someone can help me... why my recent apps is so flattened, and why is the part of the notification area (near to the clock) not fully black?... i want to fix this, but how? i know, this is problem with SystemUI :silly:

Android 4.2.2
[Android Themes] G.M.L:
Hi i put date to status bar and i change position of clock to top and to date to bottom but i can put the date under the clock please someone can help me ?thanks
[Android Themes] Moinuddin:
i dont understand the STEPS FOR INSTALLING.

should i do this all on my pc or on my phone???

and from where should i pull the framework and systemui??

:confused::confused:

where should i copy the codes??

i just want the center clock and the round battery mod,thats it.

what are the exact tools i need?

please someone help me _/\_
[Android Themes] ezknives:
If that's all you want see if there is a xposed module that will work on your device... An index of modules can be found here
[Android Themes] Moinuddin:
Thanks I'll try it:thumbup::thumbup::thumbup::thumbup:
[Android Themes] jbonilla51:
Hello,

Notepad++ was working fine for a while. Now I've been getting this issue. I've attached a pic of how the xml files now look like when I try to access them. What other info would you guys need to help me out? Thanks!
[Android Themes] Vivek_Neel:
Decompile first.
[Android Themes] jbonilla51:
Thanks! Working properly again.
[Android Themes] KuaQ:
Hi, how I can change background color for this blue notification?
[Android Themes] elliwigy:
is there a guide on what colors need to be changed? i kno how to decompile and recompile but unsure of where each color is located in the xml and other files?
[Android Themes] darkalexpp:
Hello, I was trying to edit a. png and make it bigger, but when I install the modified app is deformed image, the image height but the width becomes deformed.
[Android Themes] :
Flip animation?

Hi Guys. How are you? I dont know if my question relates to systemUI theming. But if someone can answer me. That would be great. I just would like to ask on how i can change the Flip animation when changing windows from notifications to quicksettings. I just want to change it to a drop animation. :good:
[Android Themes] lacoursiere18:
That would take some redoing of the code.. Most likely in framework2.jar if you are 4.4.2. Usually under widget/animations
[Android Themes] :
I am cuerrently on 4.2.2. But ill look into framework.jar. Thank you.
[Android Themes] iComputer7:
In Cyanogenmod 11, the SystemUI.apk and framework-res.apk are located in /system/priv-app/.
[Android Themes] Spannaa:
I know SystemUI.apk is in \system\priv-app but shouldn't framework-res.apk be in \system\framework?

Sent from my GT-I9300...
[Android Themes] pradip.108:
Give me mmx a26 backup file...creat backup using cwm..and give me link of download....I making custom rom for micromax a26
[Android Themes] h4rdXc0r3:
Green Battery Status Bar Icon

Guys I just need help please how to theme/change the battery icon on the status bar to green.. :laugh:
[Android Themes] lacoursiere18:
What version of android?
[Android Themes] h4rdXc0r3:
S5 stock rom 4.4.2 touchwiz.. :cowboy:
[Android Themes] lacoursiere18:
You can follow this GUIDE.. Make sure to thank the OP..

Not sure what carrier you have.. If you have Sprint you can try this MOD Thank him as well..
[Android Themes] h4rdXc0r3:
I have the international one - G900F. Which one do I use? :victory:
[Android Themes] lacoursiere18:
Hmm I would try the guide..

The Sprint one is for the S5 but not sure how similar the SystemUI's are..
[Android Themes] h4rdXc0r3:
Sweet. Thanks heaps for the help dude. Been looking on how to mod the battery icon for ages.. :good: :highfive:
[Android Themes] iComputer7:
My bad :o It's in /system/framework.
[Android Themes] Stuart Little:
Thanks for TUT, will try this next week and post here my result ;)

Sent through my Galaxy Note using Tapatalk 4
[Android Themes] niwia:
Recent panel??

can you make a guide to editing the recent panel style??? i believe it comes with the systmui
[Android Themes] Vivek_Neel:
Right.

You can have a look at my guide which will help you out.

http://xdaforums.com/galaxy-s2/themes-apps/mod-t2744332
[Android Themes] laotzy:
Dear all, I am back to stock after more then a year on CyanogenMod. My device is Samsung Galaxy S2 with the last JB 4.1.2 firmware for Spain, XWMS3. While with previous firmwares I didn't have any problems rearranging the Togls, this time I get constant error... The phone is rooted and the firmware is deodexed. I might have forgotten something? When recompiling, I use the 4 files from the build/apk, they are: res folder, AndroidManifest.xml, classes.dex and resources.arsc. I do not compress the RES Folder and RESOURCES.ARSC and I do compress AndroidManifest.XML and CLASSES.DEX when passing them to SystemUI.apk
[Android Themes] lacoursiere18:
Not sure who gave you instruction on how to modify a apk but this:

Will confuse a lot of people. When you compile your apk, go to the dist folder, open the new apk with 7z, then drag and drop the original AndroidManifest and META folder.. Thats it..
[Android Themes] lucaoldb:
A very useful and informative how to. It works for 4.4.2 TouchWiz roms too, though some XML have different names, but still this thread us a good starting point:)