Related
This is a TICKLEFISH TUTORIAL!
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
If you've been following these tutorials, you'll know by now how to center the clock in the statusbar and how to change its colour to whatever you like. So far, so good.
Now, let's do something you won't see anywhere else. Let's make it display seconds!
You haven't been following my threads?
Well, click here to find out how to change the clock's colour and here to find out how to center it.
So..let's get started.
We will need to edit status_bar.xml in SystemUI.apk. To do this, we'll need to pull and decompile the apk file from the phone.
What's the best way to do this? Why, with Tickle My Android, of course!
This is the stock code in Timescape ICS:
Code:
<?xml version="1.0" encoding="utf-8"?>
<com.android.systemui.statusbar.phone.PhoneStatusBarView android:orientation="vertical" android:background="@drawable/status_bar_background" android:focusable="true" android:descendantFocusability="afterDescendants"
xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:systemui="http://schemas.android.com/apk/res/com.android.systemui">
<LinearLayout android:orientation="horizontal" android:id="@id/icons" android:paddingLeft="6.0dip" android:paddingRight="6.0dip" android:layout_width="fill_parent" android:layout_height="fill_parent">
<LinearLayout android:orientation="horizontal" android:layout_width="0.0dip" android:layout_height="fill_parent" android:layout_weight="1.0">
<com.android.systemui.statusbar.StatusBarIconView android:id="@id/moreIcon" android:layout_width="@dimen/status_bar_icon_size" android:layout_height="fill_parent" android:visibility="gone" android:src="@drawable/stat_notify_more" />
<com.android.systemui.statusbar.phone.IconMerger android:orientation="horizontal" android:id="@id/notificationIcons" android:layout_width="fill_parent" android:layout_height="fill_parent" android:gravity="center_vertical" android:layout_alignParentLeft="true" />
</LinearLayout>
<LinearLayout android:orientation="horizontal" android:id="@id/statusIcons" android:layout_width="wrap_content" android:layout_height="fill_parent" android:gravity="center_vertical" />
<ImageView android:id="@id/stat_no_sim" android:paddingLeft="4.0dip" android:layout_width="wrap_content" android:layout_height="wrap_content" android:visibility="gone" android:layout_gravity="center_vertical" />
<LinearLayout android:orientation="horizontal" android:id="@id/signal_battery_cluster" android:paddingLeft="2.0dip" android:layout_width="wrap_content" android:layout_height="fill_parent" android:gravity="center">
<include android:id="@id/signal_cluster" android:layout_width="wrap_content" android:layout_height="wrap_content" layout="@layout/signal_cluster_view" />
<ImageView android:id="@id/battery" android:paddingLeft="8.0dip" android:layout_width="wrap_content" android:layout_height="wrap_content" />
</LinearLayout>
<com.android.systemui.statusbar.policy.Clock android:id="@id/clock" android:paddingLeft="6.0dip" android:layout_width="wrap_content" android:layout_height="fill_parent" android:gravity="left|center" android:textAppearance="@style/TextAppearance.StatusBar.Clock" android:singleLine="true" />
</LinearLayout>
<LinearLayout android:orientation="horizontal" android:id="@id/ticker" android:paddingLeft="6.0dip" android:layout_width="fill_parent" android:layout_height="fill_parent" android:animationCache="false">
<ImageSwitcher android:id="@id/tickerIcon" android:layout_width="@dimen/status_bar_icon_size" android:layout_height="@dimen/status_bar_icon_size" android:layout_marginRight="4.0dip">
<com.android.systemui.statusbar.AnimatedImageView android:layout_width="@dimen/status_bar_icon_size" android:layout_height="@dimen/status_bar_icon_size" android:scaleType="center" />
<com.android.systemui.statusbar.AnimatedImageView android:layout_width="@dimen/status_bar_icon_size" android:layout_height="@dimen/status_bar_icon_size" android:scaleType="center" />
</ImageSwitcher>
<com.android.systemui.statusbar.phone.TickerView android:id="@id/tickerText" android:paddingRight="10.0dip" android:layout_width="0.0dip" android:layout_height="wrap_content" android:layout_weight="1.0" android:paddingTop="2.0dip">
<TextView android:layout_width="fill_parent" android:layout_height="wrap_content" android:textAppearance="@style/TextAppearance.StatusBar.PhoneTicker" android:singleLine="true" />
<TextView android:layout_width="fill_parent" android:layout_height="wrap_content" android:textAppearance="@style/TextAppearance.StatusBar.PhoneTicker" android:singleLine="true" />
</com.android.systemui.statusbar.phone.TickerView>
</LinearLayout>
</com.android.systemui.statusbar.phone.PhoneStatusBarView>
We'll need to edit the line containing the clock:
Code:
<com.android.systemui.statusbar.policy.Clock android:id="@id/clock" android:paddingLeft="6.0dip" android:layout_width="wrap_content" android:layout_height="fill_parent" android:gravity="left|center" android:textAppearance="@style/TextAppearance.StatusBar.Clock" android:singleLine="true" />
Now, how do we add seconds to this? XML tags? Smali edits?
Nah..
We'll cheat!
There's a little bit of widget code that's been in Android for ages called 'DigitalClock'. This provides..can you guess..a digital clock! And we're going to use it like this:
Code:
<DigitalClock android:id="@id/clock" android:paddingLeft="6.0dip" android:layout_width="wrap_content" android:layout_height="fill_parent" android:gravity="left|center" android:textAppearance="@style/TextAppearance.StatusBar.Clock" android:singleLine="true" />
This will change the xml to:
Code:
<?xml version="1.0" encoding="utf-8"?>
<com.android.systemui.statusbar.phone.PhoneStatusBarView android:orientation="vertical" android:background="@drawable/status_bar_background" android:focusable="true" android:descendantFocusability="afterDescendants"
xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:systemui="http://schemas.android.com/apk/res/com.android.systemui">
<LinearLayout android:orientation="horizontal" android:id="@id/icons" android:paddingLeft="6.0dip" android:paddingRight="6.0dip" android:layout_width="fill_parent" android:layout_height="fill_parent">
<LinearLayout android:orientation="horizontal" android:layout_width="0.0dip" android:layout_height="fill_parent" android:layout_weight="1.0">
<com.android.systemui.statusbar.StatusBarIconView android:id="@id/moreIcon" android:layout_width="@dimen/status_bar_icon_size" android:layout_height="fill_parent" android:visibility="gone" android:src="@drawable/stat_notify_more" />
<com.android.systemui.statusbar.phone.IconMerger android:orientation="horizontal" android:id="@id/notificationIcons" android:layout_width="fill_parent" android:layout_height="fill_parent" android:gravity="center_vertical" android:layout_alignParentLeft="true" />
</LinearLayout>
<LinearLayout android:orientation="horizontal" android:id="@id/statusIcons" android:layout_width="wrap_content" android:layout_height="fill_parent" android:gravity="center_vertical" />
<ImageView android:id="@id/stat_no_sim" android:paddingLeft="4.0dip" android:layout_width="wrap_content" android:layout_height="wrap_content" android:visibility="gone" android:layout_gravity="center_vertical" />
<LinearLayout android:orientation="horizontal" android:id="@id/signal_battery_cluster" android:paddingLeft="2.0dip" android:layout_width="wrap_content" android:layout_height="fill_parent" android:gravity="center">
<include android:id="@id/signal_cluster" android:layout_width="wrap_content" android:layout_height="wrap_content" layout="@layout/signal_cluster_view" />
<ImageView android:id="@id/battery" android:paddingLeft="8.0dip" android:layout_width="wrap_content" android:layout_height="wrap_content" />
</LinearLayout>
<DigitalClock android:id="@id/clock" android:paddingLeft="6.0dip" android:layout_width="wrap_content" android:layout_height="fill_parent" android:gravity="left|center" android:textAppearance="@style/TextAppearance.StatusBar.Clock" android:singleLine="true" />
</LinearLayout>
<LinearLayout android:orientation="horizontal" android:id="@id/ticker" android:paddingLeft="6.0dip" android:layout_width="fill_parent" android:layout_height="fill_parent" android:animationCache="false">
<ImageSwitcher android:id="@id/tickerIcon" android:layout_width="@dimen/status_bar_icon_size" android:layout_height="@dimen/status_bar_icon_size" android:layout_marginRight="4.0dip">
<com.android.systemui.statusbar.AnimatedImageView android:layout_width="@dimen/status_bar_icon_size" android:layout_height="@dimen/status_bar_icon_size" android:scaleType="center" />
<com.android.systemui.statusbar.AnimatedImageView android:layout_width="@dimen/status_bar_icon_size" android:layout_height="@dimen/status_bar_icon_size" android:scaleType="center" />
</ImageSwitcher>
<com.android.systemui.statusbar.phone.TickerView android:id="@id/tickerText" android:paddingRight="10.0dip" android:layout_width="0.0dip" android:layout_height="wrap_content" android:layout_weight="1.0" android:paddingTop="2.0dip">
<TextView android:layout_width="fill_parent" android:layout_height="wrap_content" android:textAppearance="@style/TextAppearance.StatusBar.PhoneTicker" android:singleLine="true" />
<TextView android:layout_width="fill_parent" android:layout_height="wrap_content" android:textAppearance="@style/TextAppearance.StatusBar.PhoneTicker" android:singleLine="true" />
</com.android.systemui.statusbar.phone.TickerView>
</LinearLayout>
</com.android.systemui.statusbar.phone.PhoneStatusBarView>
Save, recompile, blah-blah-blah.
And here it is:
It's worth noting that DigitalClock doesn't have any leading zeros. Which means, at one o'clock in the morning, the clock shows 1:00:00, not 01:00:00.
There's also another widget code you might be interested in, which is AnalogClock. This gives you...well, I'm sure you can guess.
This doesn't work well on the statusbar as the clock won't be big enough. But it can be used in other places.
Here's my personal setup on my Mini Pro:
Have fun!
Amazing brotha... trying it out now!
Bro, i can't recompile the file. it said "error, "systemUI.apk" has not been fully decompiled". In fact i already modified the code inside the status_bar.xml
Tickle My Android version 4.3,
Mini Pro ICS .587 stock ROM, rooted.
Thanks.
what about tha analog clock brotha?
coolkwc said:
Bro, i can't recompile the file. it said "error, "systemUI.apk" has not been fully decompiled". In fact i already modified the code inside the status_bar.xml
Tickle My Android version 4.3,
Mini Pro ICS .587 stock ROM, rooted.
Thanks.
Click to expand...
Click to collapse
Yes, but the apk is still missing information. If you're using the stock rom, chances are you didn't install framework-res.apk before you started decompiling.
Oh, and Tickle My Android is on Version 5.0 now..
Sent from my SK17i using xda premium
what about tha analog clock brotha?
Click to expand...
Click to collapse
Give it a try and see what happens!
Sent from my SK17i using xda premium
Ticklefish said:
Give it a try and see what happens!
Sent from my SK17i using xda premium
Click to expand...
Click to collapse
no code for tha Analog brov....
Ticklefish said:
Yes, but the apk is still missing information. If you're using the stock rom, chances are you didn't install framework-res.apk before you started decompiling.
Oh, and Tickle My Android is on Version 5.0 now..
Sent from my SK17i using xda premium
Click to expand...
Click to collapse
Bro, i'm using v5 now. Can recompile...after that what shall i do? option 14 to prepare system apps for pushing? or option 15 to sign? after that how to push back the device? create flashable zip? i try create zip, but error... Sorry bro, i read the TMA tutorial, but it is confusing, especially after the step of recompile.
Thanks in advance.
---------- Post added at 06:58 PM ---------- Previous post was at 06:49 PM ----------
coolkwc said:
Bro, i'm using v5 now. Can recompile...after that what shall i do? option 14 to prepare system apps for pushing? or option 15 to sign? after that how to push back the device? create flashable zip? i try create zip, but error... Sorry bro, i read the TMA tutorial, but it is confusing, especially after the step of recompile.
Thanks in advance.
Click to expand...
Click to collapse
Bro, i adi figure out how to create zip, previously i din set destination folder for zip.
coolkwc said:
Bro, i'm using v5 now. Can recompile...after that what shall i do? option 14 to prepare system apps for pushing? or option 15 to sign? after that how to push back the device? create flashable zip? i try create zip, but error... Sorry bro, i read the TMA tutorial, but it is confusing, especially after the step of recompile.
Thanks in advance.
---------- Post added at 06:58 PM ---------- Previous post was at 06:49 PM ----------
Bro, i adi figure out how to create zip, previously i din set destination folder for zip.
Click to expand...
Click to collapse
Once you've successfully recompiled, you need to prepare the files then make a flashable zip. Preparing signs the new apk in the same way as the old, which you need to do to make the phone accept it.
Sent from my SK17i using xda premium
Whalesplaho, the xda app is misbehaving again and I can't view your post to quote it.
But basically, the code is AnalogClock and you just need to set the width and height. If you examine the full tag for DigitalClock as I wrote in the op, that should give you enough to start with.
The analogue clock is really meant for app developers to use, because it doesn't work well when it's small, but it works well on the tracking part of the drop-down notification screen.
Have a play and experiment with it. It's the best way of learning!
Sent from my SK17i using xda premium
really like it tackelfish...definitly going to try this..
Just one question..don't I need the png's for clock in notification area.?
Sent from my SK17i using XDA Premium HD app
sandy7 said:
really like it tackelfish...definitly going to try this..
Just one question..don't I need the png's for clock in notification area.?
Sent from my SK17i using XDA Premium HD app
Click to expand...
Click to collapse
Nope. You can actually use PNG's for the different parts of the clock if you want but what you see in the screenshots is how it looks by default. All you need is code.
Sent from my SK17i using xda premium
Ticklefish said:
Once you've successfully recompiled, you need to prepare the files then make a flashable zip. Preparing signs the new apk in the same way as the old, which you need to do to make the phone accept it.
Sent from my SK17i using xda premium
Click to expand...
Click to collapse
Bro, i really dun know what's wrong with my step, please kindly review.
1. Pull framework-res.apk, decompiled and install in PC.
2. Pull systemUI.apk, decompiled.
3. Edit status_bar.xml as stated, then save.
4. recompile systemUI.apk
5. prepare system apps for pushing.
6. sign app.
7. create flashable zip
Here's the problem, i dun understand the purpose of step 5 and 6, am i doing wrongly??
I flash using CMW, boot into recovery and install zip from sdcard.
the result is as follow:
<<FLASHING MOD>>
ADDING XTRA FILES>>
[!] Nothing to do in XTRAS
WORPHING >>
[!] Nothing to morph
{ Nothing has changed }
CLEANING CACHE, TEMPORAL FILES & EXIT >>
Install from sdcard complete.
i reboot and nothing has changed. I tried pull the modified systemUI.apk from phone, and noticed that the status_bar.xml still remained same as original, which doesn't changed as i edit.
Really no idea what's wrong with that.
Thanks in advance.
coolkwc said:
Bro, i really dun know what's wrong with my step, please kindly review.
1. Pull framework-res.apk, decompiled and install in PC.
2. Pull systemUI.apk, decompiled.
3. Edit status_bar.xml as stated, then save.
4. recompile systemUI.apk
5. prepare system apps for pushing.
6. sign app.
7. create flashable zip
Here's the problem, i dun understand the purpose of step 5 and 6, am i doing wrongly??
I flash using CMW, boot into recovery and install zip from sdcard.
the result is as follow:
<<FLASHING MOD>>
ADDING XTRA FILES>>
[!] Nothing to do in XTRAS
WORPHING >>
[!] Nothing to morph
{ Nothing has changed }
CLEANING CACHE, TEMPORAL FILES & EXIT >>
Install from sdcard complete.
i reboot and nothing has changed. I tried pull the modified systemUI.apk from phone, and noticed that the status_bar.xml still remained same as original, which doesn't changed as i edit.
Really no idea what's wrong with that.
Thanks in advance.
Click to expand...
Click to collapse
Don't sign the apk. That's what preparing it is all about.
And it looks like you're creating the zip file without putting any files in it. Once you've recompiled and prepared SystemUI.apk, you need to add it to system/app in the zip menu. Then you can make the zip.
Sent from my SK17i using xda premium
Realy cool... thanks for showing us!! :good:
whalesplaho said:
Amazing brotha... trying it out now!
Click to expand...
Click to collapse
brov...can you mod it to your v6 tabbed systemui mod..?
it would be great
Dark ramadhan said:
brov...can you mod it to your v6 tabbed systemui mod..?
it would be great
Click to expand...
Click to collapse
Anybody can..fancy giving it a try?
Sent from my SK17i using xda premium
Ticklefish said:
Anybody can..fancy giving it a try?
Sent from my SK17i using xda premium
Click to expand...
Click to collapse
edited some xml but cant recompile... apktool aint working on windows 8, i get error apktool is not recognised while trying to recompile!
ticklefish should i upload my edited file & help me recompile please?
whalesplaho said:
edited some xml but cant recompile... apktool aint working on windows 8, i get error apktool is not recognised while trying to recompile!
ticklefish should i upload my edited file & help me recompile please?
Click to expand...
Click to collapse
I'm happy to, if I have the time. I might even be able to in a hour or two. In the meantime, what are you using for your de/recompiling?
Sent from my SK17i using xda premium
Ticklefish said:
I'm happy to, if I have the time. I might even be able to in a hour or two. In the meantime, what are you using for your de/recompiling?
Sent from my SK17i using xda premium
Click to expand...
Click to collapse
I do use Apktool on my Windows 7 but not working on Windows 8..... i edited an already decompiled apk!
should i upload & drop tha link?
you have a status bar,
And it got a clock,,,
BUT ALAS, when you try to change its colour
Da hell dude its in smali,, now i have to handle like a thousand lines of code and use google
^^DID YOU EVER FACE SUCH A SITUATION,,, well then,, here comes mvsdroid to enable you to edit the clock text features
with xmls only so dont rot in the SMALI FILES (the horror)
----all u need is ur brain and a tool to work on apks----
1) Decompile SystemUI.apk
2) Open res/layout/Status_bar.xml
3) You will see this
<com.android.systemui.statusbar.Clock android:textAppearance="@android:style/TextAppearance.StatusBar.Icon" android:textColor="#ff33b5e5" android:gravity="left|center" androidaddingRight="6.0dip" android:layout_width="wrap_content" android:layout_height="fill_parent" android:singleLine="true" />
</LinearLayout>
kick this line with the delete button and in place of that paste this
<com.android.systemui.statusbar.policy.DigitalClock android:id="@id/clock" android:background="#ee000000" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginRight="0.0dip" android:layout_alignParentRight="true">
<TextView android:textSize="16.0dip" android:textColor="#ff33b5e5" android:ellipsize="none" android:gravity="Right" android:id="@id/timeDisplayBackground" android:layout_width="fill_parent" android:layout_height="wrap_content" android:singleLine="true" />
<TextView android:textSize="16.0dip" android:textColor="#ff33b5e5" android:ellipsize="none" android:gravity="Right" android:id="@id/timeDisplayForeground" android:layout_width="fill_parent" android:layout_height="wrap_content" android:singleLine="true" android:layout_alignLeft="@id/timeDisplayBackground" android:layout_alignTop="@id/timeDisplayBackground" />
</com.android.systemui.statusbar.policy.DigitalClock>
Now since u have added that android:id attribute,, that cool piece of text shall help us change whatever we want,,,
Now there are two android:textColor attributes...
Find em and change it to whatever hex code you want,, means like if you want ICS BLUE,, make them android:textColor="#ddff00"
and similarly change the size attributes,, so now next time you want that clock to obey ur command,, you dont need no smali!!!!!!
4) Now download the digital clock smali i am giving and place it in systemUI/smali\com\android\systemui\statusbar\policy
5) Then save it and close it
Now download the digital clock smali i am giving and place it in systemUI/smali\com\android\systemui\statusbar\policy
6) Recompile properly
7) Have fun
8) If you had fun in step 6,, press thanks button
<---- dont just see this and laugh,, Press thanks if you like it
STILL ,,, post a reply,, I am still alive to help
I think have to add digitalclock smali?
Sent from my GT-S5360 using Tapatalk 2
Well bro............. NO NEED
Its already there,,,, thats the good thing,,,, maybe samsung wanted an expanded clock and then threw the option but did not delete the smali!!!!
What firmware?
Sent from my GT-S5360 using Tapatalk 2
Well bro.............
the smali part is needed only if you are using stock rom,, but most roms have that already,, but thankyou,,, i will add that too!!!!!!!!!!!!!!!!!!
Nice guide
Sent from my GT-S5360 using Tapatalk 2
Nice...
Regards,
Ganesh
mvsdroid said:
you have a status bar,
And it got a clock,,,
BUT ALAS, when you try to change its colour
Da hell dude its in smali,, now i have to handle like a thousand lines of code and use google
^^DID YOU EVER FACE SUCH A SITUATION,,, well then,, here comes mvsdroid to enable you to edit the clock text features
with xmls only so dont rot in the SMALI FILES (the horror)
----all u need is ur brain and a tool to work on apks----
1) Decompile SystemUI.apk
2) Open res/layout/Status_bar.xml
3) You will see this
<com.android.systemui.statusbar.Clock android:textAppearance="@android:style/TextAppearance.StatusBar.Icon" android:textColor="#ff33b5e5" android:gravity="left|center" androidaddingRight="6.0dip" android:layout_width="wrap_content" android:layout_height="fill_parent" android:singleLine="true" />
</LinearLayout>
kick this line with the delete button and in place of that paste this
<com.android.systemui.statusbar.policy.DigitalClock android:id="@id/clock" android:background="#ee000000" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginRight="0.0dip" android:layout_alignParentRight="true">
<TextView android:textSize="16.0dip" android:textColor="#ff33b5e5" android:ellipsize="none" android:gravity="Right" android:id="@id/timeDisplayBackground" android:layout_width="fill_parent" android:layout_height="wrap_content" android:singleLine="true" />
<TextView android:textSize="16.0dip" android:textColor="#ff33b5e5" android:ellipsize="none" android:gravity="Right" android:id="@id/timeDisplayForeground" android:layout_width="fill_parent" android:layout_height="wrap_content" android:singleLine="true" android:layout_alignLeft="@id/timeDisplayBackground" android:layout_alignTop="@id/timeDisplayBackground" />
</com.android.systemui.statusbar.policy.DigitalClock>
Now since u have added that android:id attribute,, that cool piece of text shall help us change whatever we want,,,
Now there are two android:textColor attributes...
Find em and change it to whatever hex code you want,, means like if you want ICS BLUE,, make them android:textColor="#ddff00"
and similarly change the size attributes,, so now next time you want that clock to obey ur command,, you dont need no smali!!!!!!
4) Now download the digital clock smali i am giving and place it in systemUI/smali\com\android\systemui\statusbar\policy
5) Then save it and close it
Now download the digital clock smali i am giving and place it in systemUI/smali\com\android\systemui\statusbar\policy
6) Recompile properly
7) Have fun
8) If you had fun in step 6,, press thanks button
<---- dont just see this and laugh,, Press thanks if you like it
STILL ,,, post a reply,, I am still alive to help
Click to expand...
Click to collapse
Nice...
that is not how you thank someone in xda bro,,,
salizzan said:
Nice...
Click to expand...
Click to collapse
DOnt say IT,,, PRess it
Hi, can someone make a center clock mod on statusbar for evolution x4 rom? I really need to center my clock on statusbar because i dont know how to edit systemui.apk :crying:
Really need it
For starters this should be in questions & answers as only themes & apps should be posted here (not request for them)
I don't have time to do it for you & you should learn how so here is the way to do it
decompile systemui.apk (found in system/app) with apktool - guides to which are found in general section
Once decompiled open res/layout/status_bar.xml with notpad++
Find the line about the clock & replace with something similar
Code:
<LinearLayout android:textColor="#ff09a9ec" android:gravity="center" android:orientation="horizontal" android:layout_width="fill_parent" android:layout_height="fill_parent">
<com.android.systemui.statusbar.Clock android:textAppearance="@*android:style/TextAppearance.StatusBar.Icon" android:textSize="26.5dip" android:textStyle="bold" android:gravity="center" android:layout_width="fill_parent" android:layout_height="fill_parent" android:singleLine="false" android:layout_weight="1.0" />
</LinearLayout>
You may have to change it around a bit depending on the layout but that in general will center the clock
marcussmith2626 said:
For starters this should be in questions & answers as only themes & apps should be posted here (not request for them)
I don't have time to do it for you & you should learn how so here is the way to do it
decompile systemui.apk (found in system/app) with apktool - guides to which are found in general section
Once decompiled open res/layout/status_bar.xml with notpad++
Find the line about the clock & replace with something similar
Code:
<LinearLayout android:textColor="#ff09a9ec" android:gravity="center" android:orientation="horizontal" android:layout_width="fill_parent" android:layout_height="fill_parent">
<com.android.systemui.statusbar.Clock android:textAppearance="@*android:style/TextAppearance.StatusBar.Icon" android:textSize="26.5dip" android:textStyle="bold" android:gravity="center" android:layout_width="fill_parent" android:layout_height="fill_parent" android:singleLine="false" android:layout_weight="1.0" />
</LinearLayout>
You may have to change it around a bit depending on the layout but that in general will center the clock
Click to expand...
Click to collapse
Thank You Sir !!+1
marcussmith2626 said:
For starters this should be in questions & answers as only themes & apps should be posted here (not request for them)
I don't have time to do it for you & you should learn how so here is the way to do it
decompile systemui.apk (found in system/app) with apktool - guides to which are found in general section
Once decompiled open res/layout/status_bar.xml with notpad++
Find the line about the clock & replace with something similar
Code:
<LinearLayout android:textColor="#ff09a9ec" android:gravity="center" android:orientation="horizontal" android:layout_width="fill_parent" android:layout_height="fill_parent">
<com.android.systemui.statusbar.Clock android:textAppearance="@*android:style/TextAppearance.StatusBar.Icon" android:textSize="26.5dip" android:textStyle="bold" android:gravity="center" android:layout_width="fill_parent" android:layout_height="fill_parent" android:singleLine="false" android:layout_weight="1.0" />
</LinearLayout>
You may have to change it around a bit depending on the layout but that in general will center the clock
Click to expand...
Click to collapse
Okay i will try. Thank you
Noob wanna share how to modified SystemUI on Galaxy Mega GT-I9152. For others,please compare it with yours.maybe this guide would help you...
I'd made mistake about how to remove Sim Icon on Statusbar,statusbar Expanded & enable Navigation bar. So I update the Guide...
REQUIREMENT: !!!
- BRAIN
- Patient
- experience
- Know how to decompile/recompiling Apk file
- notepad++
- Tool for decompiling, : apkmanager/apktool/Virtous/apkmultitools/ or else
A. HOW TO FIX ERROR WHEN RECOMPILE SYSTEMUI.APKDecompile SystemUI.apk
Go to System/res/value/style.xml
add this line in the end of the line above "</resources>"
HTML:
<style name="SystemBarNotificationText">
<item name="android:textSize">16.0sp</item>
<item name="android:textColor">#ff999999</item>
</style>
<style name="SystemBarPanelSettingsRow">
<item name="android:orientation">horizontal</item>
<item name="android:background">?android:listChoiceBackgroundIndicator</item>
<item name="android:paddingRight">16.0dip</item>
<item name="android:layout_width">fill_parent</item>
<item name="android:layout_height">64.0dip</item>
</style>
<style name="SystemBarPanelSettingsIcon">
<item name="android:layout_width">64.0dip</item>
<item name="android:layout_height">fill_parent</item>
<item name="android:scaleType">center</item>
</style>
<style name="SystemBarPanelSettingsContents">
<item name="android:textSize">18.0sp</item>
<item name="android:textColor">?android:textColorPrimary</item>
<item name="android:layout_gravity">left|center</item>
<item name="android:layout_width">0.0dip</item>
<item name="android:layout_height">wrap_content</item>
<item name="android:layout_weight">1.0</item>
</style>
<style name="SystemBarPanelSettingsPanelSeparator">
<item name="android:background">@*android:drawable/divider_horizontal_dark</item>
<item name="android:layout_width">fill_parent</item>
<item name="android:layout_height">1.0dip</item>
<item name="android:layout_marginRight">0.0dip</item>
</style>
B. HOW TO FIX ERROR WHEN RECOMPILE FRAMEWORK-RES.APKDecompile framework-res.apk
go to framework/res/layout
open all this xml :
HTML:
keyguard_screen_password_landscape.xml
keyguard_screen_password_portrait.xml
keyguard_screen_tab_unlock.xml
keyguard_screen_tab_unlock_land.xml
keyguard_screen_unlock_landscape.xml
keyguard_screen_unlock_portrait.xml
find this in all that xml :
HTML:
@id/transport
in that line you will see :
HTML:
layout="@layout/keyguard_transport_control"
change to :
HTML:
layout="[email protected]/keyguard_transport_control"
do it for all xml I'd mentioned above
try to recompile systemui & framework without modifying anything.if succeed you can try to modifying...
Now,lets modifying...
1. Center ClockDecompile systemUI.apk
go to SystemUI.apk\res\layout\status_bar.xml
find this line & delete it:
HTML:
<com.android.systemui.statusbar.policy.Clock android:textSize="@dimen/status_bar_clock_text_size" android:textColor="#ffffffff" android:ellipsize="none" android:gravity="left|center" android:id="@id/clock" android:paddingLeft="3.0dip" android:layout_width="wrap_content" android:layout_height="fill_parent" android:singleLine="true" android:includeFontPadding="false" />
then find this :
HTML:
xmlns:systemui="http://schemas.android.com/apk/res/com.android.systemui">
add this below it :
HTML:
<DigitalClock android:textAppearance="@style/TextAppearance.StatusBar.Clock" android:textColor="#ff339bc1" android:gravity="center" android:id="@id/clock" android:layout_width="fill_parent" android:layout_height="fill_parent" />
2. Remove Icon Sim on Status Bargo to SystemUI.apk\res\layout\signal_cluster_view.xml
Find this :
HTML:
<ImageView android:id="@id/sim_icon" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginRight="3.0dip" />
replace all that line with this :
HTML:
<ImageView android:id="@id/sim_icon" android:layout_width="0.0dip" android:layout_height="0.0dip" />
3. Remove Icon Sim on Status Bar Expandedgo to SystemUI.apk\res\layout\status_bar_expanded.xml
Find this :
HTML:
@id/quickpanel_dualsim_layout
change 0dip android:layout_height with to :
HTML:
0.0dip
4. 1% battery & Animation chargingdownload attached files and copy files to corresponding folders in SystemUI
5. Enable Navigation Bardownload attached files and copy files to corresponding folders in SystemUI if folder does not exist(drawables-xhdpi) create it. then add ic_lock_power_off.png to system/res/drawable hdpi...
Go to system/res/value/ids.xml
add this above </resources>
HTML:
<item type="id" name="quick_launch">false</item>
Go to system/res/value/strings
add this above </resources>
HTML:
<string name="accessibility_capture">Power toggle</string>
YOU MUST EDIT YOUR "build.prop" in folder /system too. if not your SystemUI will fc....
ADD THIS IN THE END OF YOUR "build.prop" :
HTML:
qemu.hw.mainkeys=0
Remove Text and Toggle Status :download attached files and copy files to corresponding folders in SystemUI
Thanks To :
- Allah SWT
- My beloved wife & childs
- @joehanh88
- @gharrington
- @Adi Aisiteru Reborn
- @barikke74
- Budi SemogaDermawan
- XDA forum
Flymeui on gt i9152
1. FrameworkDecompile framework-res.apk
got to framework/res/value/dimens.xml
find this :
HTML:
<dimen name="status_bar_height">
change 0dip to :
HTML:
<dimen name="status_bar_height">40.0dip</dimen>
Recompile
SystemUIDecompile SystemUI.apk
1. Go to System/res/layout/statusbar.xml
Replace all with this :
HTML:
<?xml version="1.0" encoding="utf-8"?>
<com.android.systemui.statusbar.phone.PhoneStatusBarView android:orientation="vertical" android:id="@id/status_bar" android:background="@drawable/status_bar_background" android:focusable="true" android:fitsSystemWindows="true" android:descendantFocusability="afterDescendants"
xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:systemui="http://schemas.android.com/apk/res/com.android.systemui">
<AnalogClock android:textSize="@dimen/status_bar_clock_text_size" android:textColor="#ffffffff" android:ellipsize="none" android:gravity="center" android:id="@id/clock" android:paddingLeft="3.0dip" android:layout_width="wrap_content" android:layout_height="fill_parent" android:singleLine="true" android:includeFontPadding="false" />
<com.android.systemui.statusbar.policy.DateView android:textAppearance="@style/TextAppearance.StatusBar.Expanded.Date" android:textColor="@color/notification_header_date_color" android:ellipsize="marquee" android:gravity="bottom|left|center" android:id="@id/date" android:layout_width="wrap_content" android:layout_height="fill_parent" android:layout_marginLeft="45.0dip" android:layout_marginRight="4.0dip" android:layout_marginBottom="@dimen/notification_panel_header_date_margin_bottom" android:singleLine="true" />
<ImageView android:id="@id/black_bg" android:background="#ff000000" android:visibility="gone" android:layout_width="fill_parent" android:layout_height="fill_parent" />
<ImageView android:id="@id/notification_lights_out" android:paddingLeft="6.0dip" android:paddingBottom="2.0dip" android:visibility="gone" android:layout_width="@dimen/status_bar_icon_size" android:layout_height="fill_parent" android:src="@drawable/ic_sysbar_lights_out_dot_small" android:scaleType="center" />
<LinearLayout android:orientation="horizontal" android:id="@id/status_bar_contents" android:paddingLeft="45.0dip" android:paddingRight="6.0dip" android:layout_width="fill_parent" android:layout_height="20.0dip">
<LinearLayout android:orientation="horizontal" android:id="@id/notification_icon_area" android:layout_width="0.0dip" android:layout_height="fill_parent" android:layout_weight="1.0" android:alpha="@dimen/notification_icon_area_alpha">
<TextView android:textSize="15.0dip" android:textColor="#ff339bc1" android:gravity="center_vertical" android:id="@id/carrierLabel" android:visibility="gone" android:layout_width="wrap_content" android:layout_height="fill_parent" android:singleLine="true" />
<ImageView android:id="@id/operatorLogoIcon" android:visibility="gone" android:layout_width="wrap_content" android:layout_height="fill_parent" android:src="@drawable/tw_stat_notify_operator_logo" />
<ImageView android:id="@id/operatorLogoIcon_org" android:visibility="gone" android:layout_width="wrap_content" android:layout_height="fill_parent" android:src="@drawable/tw_stat_notify_operator_logo_org" />
<include android:id="@id/signal_cluster" android:layout_width="wrap_content" android:layout_height="wrap_content" layout="@layout/signal_cluster_view" />
<com.android.systemui.statusbar.StatusBarIconView android:id="@id/moreIcon" android:layout_width="@dimen/status_bar_icon_size" android:layout_height="fill_parent" android:src="@drawable/stat_notify_more" />
<com.android.systemui.statusbar.phone.IconMerger android:gravity="center_vertical" android:orientation="horizontal" android:id="@id/notificationIcons" android:paddingLeft="55.0dip" android:paddingRight="16.0dip" android:layout_width="fill_parent" android:layout_height="fill_parent" android:layout_alignParentLeft="true" />
</LinearLayout>
<LinearLayout android:orientation="horizontal" android:id="@id/system_icon_area" android:layout_width="wrap_content" android:layout_height="fill_parent" android:alpha="@dimen/system_icon_area_alpha">
<LinearLayout android:gravity="center_vertical" android:orientation="horizontal" android:id="@id/statusIcons" android:layout_width="wrap_content" android:layout_height="fill_parent" />
<LinearLayout android:gravity="center" android:orientation="horizontal" android:id="@id/signal_battery_cluster" android:paddingLeft="2.0dip" android:layout_width="wrap_content" android:layout_height="fill_parent">
<TextView android:textSize="12.0dip" android:textColor="#ffffffff" android:layout_gravity="center" android:id="@id/battery_text" android:layout_width="wrap_content" android:layout_height="wrap_content" android:text="@string/status_bar_network_name_separator" />
<ImageView android:gravity="center" android:id="@id/battery" android:layout_width="wrap_content" android:layout_height="wrap_content" />
</LinearLayout>
</LinearLayout>
</LinearLayout>
<LinearLayout android:gravity="center_vertical" android:orientation="horizontal" android:id="@id/ticker" android:paddingLeft="45.0dip" android:animationCache="false" android:layout_width="fill_parent" android:layout_height="20.0dip">
<ImageSwitcher android:id="@id/tickerIcon" android:layout_width="@dimen/status_bar_icon_size" android:layout_height="@dimen/status_bar_icon_size" android:layout_marginRight="4.0dip">
<com.android.systemui.statusbar.AnimatedImageView android:layout_width="@dimen/status_bar_icon_size" android:layout_height="@dimen/status_bar_icon_size" android:scaleType="centerInside" />
<com.android.systemui.statusbar.AnimatedImageView android:layout_width="@dimen/status_bar_icon_size" android:layout_height="@dimen/status_bar_icon_size" android:scaleType="centerInside" />
</ImageSwitcher>
<com.android.systemui.statusbar.phone.TickerView android:id="@id/tickerText" android:background="@drawable/status_bar_bg_tile" android:paddingTop="2.0dip" android:paddingRight="10.0dip" android:layout_width="0.0dip" android:layout_height="wrap_content" android:layout_weight="1.0">
<TextView android:textAppearance="@style/TextAppearance.StatusBar.PhoneTicker" android:textColor="#ff99cc00" android:layout_width="fill_parent" android:layout_height="wrap_content" android:singleLine="true" />
<TextView android:textAppearance="@style/TextAppearance.StatusBar.PhoneTicker" android:textColor="#ff99cc00" android:layout_width="fill_parent" android:layout_height="wrap_content" android:singleLine="true" />
</com.android.systemui.statusbar.phone.TickerView>
</LinearLayout>
</com.android.systemui.statusbar.phone.PhoneStatusBarView>
Recompile
Push your SystemUI first then framework after that...
PS : Fixed annoying black background after restart/reboot.just replace status_bar_bg_tile.png with mine...
here my screenshoot... a little bit different because I add custom background on statusbar & statusbar expanded header...
Sorry for my bad English...
reserved again...
keep it up :thumbup:!
@sitfire,
dear friends...
you're doing great...
nice share bro...
:good::good::good:
Selamat!
Aku sudah mencoba berbagai cara untuk menimbulkan navbar (mengedit SystemUi alias metode gharrington, mengedit framework-res.apk dll), tapi setiap kali gagal
Padahal aku lumayan tahu pakai apktool, dan tidak ada error waktu recompile, tapi setelah filenya dipush kembali ke dalam system dan hpnya direboot aku mendapat FC.
Kalau anda tidak keberatan mungkin anda bisa mod SystemUI.apk ku?
Linknya:
http://d-h.st/TQN
Terima kasih banyak!
(In english:
hi,
I have aready tried different ways to enable the navbar, (editing the SystemUi ala gharrington, editing framework-res.apk etc.) but everytime it fails.
I'm not too bad at using apktool, and I don't get any recompile errors, but everytime I push the file back into the system and reboot I get FC.
If you don't mind maybe you cold mod my SystemUI?
Here's the link:
http://d-h.st/TQN
Thanks a lot!)
unclefab said:
Selamat!
Aku sudah mencoba berbagai cara untuk menimbulkan navbar (mengedit SystemUi alias metode gharrington, mengedit framework-res.apk dll), tapi setiap kali gagal
Padahal aku lumayan tahu pakai apktool, dan tidak ada error waktu recompile, tapi setelah filenya dipush kembali ke dalam system dan hpnya direboot aku mendapat FC.
Kalau anda tidak keberatan mungkin anda bisa mod SystemUI.apk ku?
Linknya:
http://d-h.st/TQN
Terima kasih banyak!
(In english:
hi,
I have aready tried different ways to enable the navbar, (editing the SystemUi ala gharrington, editing framework-res.apk etc.) but everytime it fails.
I'm not too bad at using apktool, and I don't get any recompile errors, but everytime I push the file back into the system and reboot I get FC.
If you don't mind maybe you cold mod my SystemUI?
Here's the link:
http://d-h.st/TQN
Thanks a lot!)
Click to expand...
Click to collapse
Try to decomplit and complete it back then fix the error when try to complete. ..
Sent from my GT-I9205
---------- Post added at 08:35 PM ---------- Previous post was at 08:33 PM ----------
sitifire said:
reserved again...
Click to expand...
Click to collapse
Did you fine the torchlight and rip with ink effect. ...
Sent from my GT-I9205
unclefab said:
Selamat!
Aku sudah mencoba berbagai cara untuk menimbulkan navbar (mengedit SystemUi alias metode gharrington, mengedit framework-res.apk dll), tapi setiap kali gagal
Padahal aku lumayan tahu pakai apktool, dan tidak ada error waktu recompile, tapi setelah filenya dipush kembali ke dalam system dan hpnya direboot aku mendapat FC.
Kalau anda tidak keberatan mungkin anda bisa mod SystemUI.apk ku?
Linknya:
http://d-h.st/TQN
Terima kasih banyak!
(In english:
hi,
I have aready tried different ways to enable the navbar, (editing the SystemUi ala gharrington, editing framework-res.apk etc.) but everytime it fails.
I'm not too bad at using apktool, and I don't get any recompile errors, but everytime I push the file back into the system and reboot I get FC.
If you don't mind maybe you cold mod my SystemUI?
Here's the link:
http://d-h.st/TQN
Thanks a lot!)
Click to expand...
Click to collapse
did you edit build.prop as I said above?
I'd try with sgm 6.3 too & it works perfectly...
please read the guide slowly & carefully bro...
shazzl said:
---------- Post added at 08:35 PM ---------- Previous post was at 08:33 PM ----------
[/COLOR]
Did you fine the torchlight and rip with ink effect. ...
Sent from my GT-I9205
Click to expand...
Click to collapse
not yet bro...any link as reference,so I can compare it?thanks...
sitifire said:
did you edit build.prop as I said above?
I'd try with sgm 6.3 too & it works perfectly...
please read the guide slowly & carefully bro...
Click to expand...
Click to collapse
Of course I've edited build.prop!
Some months ago I had followed gharrington's method to enable the navbar on my galaxy grand and it worked, and it's actually an easy mod.
But for some reasons it doesn't work on my mega 6.3.
That's why I uploaded my systemui here, I would be interested to see if you can make it work, and in case you do I'll be even more interested to see how you did it.
Believe me, I've tried different ways and I know how to use apktool, it's not my first mod but still, I couldn't make it work.
Thanks in advance for any help
unclefab said:
Of course I've edited build.prop!
Some months ago I had followed gharrington's method to enable the navbar on my galaxy grand and it worked, and it's actually an easy mod.
But for some reasons it doesn't work on my mega 6.3.
That's why I uploaded my systemui here, I would be interested to see if you can make it work, and in case you do I'll be even more interested to see how you did it.
Believe me, I've tried different ways and I know how to use apktool, it's not my first mod but still, I couldn't make it work.
Thanks in advance for any help
Click to expand...
Click to collapse
here's a proved a made a navbar on galaxy mega 6.3.
http://forum.xda-developers.com/editpost.php?do=editpost&p=50488102
download systemui.apk in my post on that thread & compare it with yours.
you have posted in that thread too...and you said you delete the line "qemu.hw.mainkeys=0" and my guide add that line.
I can't download your ui because my data plan limited right now.I wanna upload a huge files now...maybe next time I help you bro...sorry & thanks...
sitifire said:
did you edit build.prop as I said above?
I'd try with sgm 6.3 too & it works perfectly...
please read the guide slowly & carefully bro...
not yet bro...any link as reference,so I can compare it?thanks...
Click to expand...
Click to collapse
for torchlight able follow this guidehttp://forum.xda-developers.com/showthread.php?t=2355931
for ink effect on ripple lockscreen here
i have mode this on my rom CML1... but the torchlight is not a wake i check logcat, i should active the framework file but dont know where to fine it
Mod guide
unclefab said:
Of course I've edited build.prop!
Some months ago I had followed gharrington's method to enable the navbar on my galaxy grand and it worked, and it's actually an easy mod.
But for some reasons it doesn't work on my mega 6.3.
That's why I uploaded my systemui here, I would be interested to see if you can make it work, and in case you do I'll be even more interested to see how you did it.
Believe me, I've tried different ways and I know how to use apktool, it's not my first mod but still, I couldn't make it work.
Thanks in advance for any help
Click to expand...
Click to collapse
the guide work on me i9205
@sitifire see my screen short ink effect...
if you want a small ampm in status bar just add systemui:ampmSmall="true"
SystemUI/res/layout/status_bar.xml
Code:
<com.android.systemui.statusbar.policy.Clock android:textSize="@dimen/status_bar_clock_text_size" android:textColor="#ffffffff" android:ellipsize="none" android:gravity="left|center" android:id="@id/clock" android:paddingLeft="3.0dip" android:layout_width="wrap_content" android:layout_height="fill_parent" android:singleLine="true" android:includeFontPadding="false" systemui:ampmSmall="true" />
if you want to make date 2 line in the status bar expanded header
1. add this at SystemUI/res/values/strings.xml
Code:
<string name="status_bar_date_format_day_month">"EEEE
d MMMM yyyy"</string>
<string name="status_bar_date_format_month_day">"EEEE
MMMM d yyyy"</string>
2 add this at SystemUI/res/layout/status_bar_expanded_headerr.xml android:maxLines="2"
Code:
<com.android.systemui.statusbar.policy.DateView android:textAppearance="@style/TextAppearance.StatusBar.Expanded.Date" android:textColor="@color/notification_header_date_color" android:gravity="bottom" android:id="@id/date" android:layout_width="wrap_content" android:layout_height="fill_parent" android:layout_marginLeft="8.0dip" android:layout_marginRight="4.0dip" android:layout_marginBottom="@dimen/notification_panel_header_date_margin_bottom" android:maxLines="2" />
Thank you
i will help you if i seat in frond my laptop if on my hp sorry to say...
i also have some mod about add 10 battry icon witch 1% incress. using og battry mod HOW TO ( folow this, is as simpele as 123 )
and how to add speed meter on status bar on this Galaxy Mega Themes and Apps.
shazzl said:
the guide work on me i9205
@sitifire see my screen short ink effect...
if you want a small ampm in status bar just add systemui:ampmSmall="true"
SystemUI/res/layout/status_bar.xml
Code:
<com.android.systemui.statusbar.policy.Clock android:textSize="@dimen/status_bar_clock_text_size" android:textColor="#ffffffff" android:ellipsize="none" android:gravity="left|center" android:id="@id/clock" android:paddingLeft="3.0dip" android:layout_width="wrap_content" android:layout_height="fill_parent" android:singleLine="true" android:includeFontPadding="false" systemui:ampmSmall="true" />
if you want to make date 2 line in the status bar expanded header
1. add this at SystemUI/res/values/strings.xml
Code:
<string name="status_bar_date_format_day_month">"EEEE
d MMMM yyyy"</string>
<string name="status_bar_date_format_month_day">"EEEE
MMMM d yyyy"</string>
2 add this at SystemUI/res/layout/status_bar_expanded_headerr.xml android:maxLines="2"
Code:
<com.android.systemui.statusbar.policy.DateView android:textAppearance="@style/TextAppearance.StatusBar.Expanded.Date" android:textColor="@color/notification_header_date_color" android:gravity="bottom" android:id="@id/date" android:layout_width="wrap_content" android:layout_height="fill_parent" android:layout_marginLeft="8.0dip" android:layout_marginRight="4.0dip" android:layout_marginBottom="@dimen/notification_panel_header_date_margin_bottom" android:maxLines="2" />
Thank you
i will help you if i seat in frond my laptop if on my hp sorry to say...
i also have some mod about add 10 battry icon witch 1% incress. using og battry mod HOW TO ( folow this, is as simpele as 123 )
and how to add speed meter on status bar on this Galaxy Mega Themes and Apps.
Click to expand...
Click to collapse
greats...thanks bro...I'll try it,hope get lucky following ink effect's guide...
sitifire said:
greats...thanks bro...I'll try it,hope get lucky following ink effect's guide...
Click to expand...
Click to collapse
It work but ink effect are so little, need more test on it...I dont have much time buzy on dev a kernel.... hey do you want how to build a kernel
unclefab said:
Of course I've edited build.prop!
Some months ago I had followed gharrington's method to enable the navbar on my galaxy grand and it worked, and it's actually an easy mod.
But for some reasons it doesn't work on my mega 6.3.
That's why I uploaded my systemui here, I would be interested to see if you can make it work, and in case you do I'll be even more interested to see how you did it.
Believe me, I've tried different ways and I know how to use apktool, it's not my first mod but still, I couldn't make it work.
Thanks in advance for any help
Click to expand...
Click to collapse
here's bro... http://www.mediafire.com/?xxmaqxo26rsdjka
Don't forget to add
qemu.hw.mainkeys=0
in the end of your build.prop
report back it works or not.thanks...
shazzl said:
It work but ink effect are so little, need more test on it...I dont have much time buzy on dev a kernel.... hey do you want how to build a kernel
Click to expand...
Click to collapse
not test it yet bro...?a bit busy on works... I don't know about making custom kernel...
For your phone I much I easy the are a repo aready u shuld set up you pc to ubuntu 12.04lts and set up android environment...
Sent from my GT-I9205 using xda app-developers app
shazzl said:
For your phone I much I easy the are a repo aready u shuld set up you pc to ubuntu 12.04lts and set up android environment...
Sent from my GT-I9205 using xda app-developers app
Click to expand...
Click to collapse
I don't know anything about linux and ubuntu bro...even in windows I just know office only...
could you make custom kernel for my device please...
sitifire said:
I don't know anything about linux and ubuntu bro...even in windows I just know office only...
could you make custom kernel for my device please...
Click to expand...
Click to collapse
I shuld ask permission k2wl on this first ohter wise it will be a same as i9205 kernel I build....
shazzl said:
I shuld ask permission k2wl on this first ohter wise it will be a same as i9205 kernel I build....
Click to expand...
Click to collapse
ok bro...k2wl ever made a kernel for my device but not add other features yet.same as stock kernel but its works...hope he and you could add others feature like oc and ram management...thanks bro...
SOLVED
Dekill93 said:
hy all ... i want to modify systemui, but I do not understand a bit ... anyone please help me .. :crying: :crying: :crying:
1. how to remove or hide the time and date in the status bar pulldown?
2. how to change the background BBM into a Wi-Fi AP background?
for more details you can see my pictures ..
thank you
Click to expand...
Click to collapse
Number One Solved
IMO bbm background is in bbm app, so you should search for png there
godlesplay said:
IMO bbm background is in bbm app, so you should search for png there
Click to expand...
Click to collapse
I just want to change the background BBM as background Wifi AP ... I've found in the framework-res.apk when I change no change whatsoever ... do you know where to change it?
sory i don't using cm 11
Dekill93 said:
I just want to change the background BBM as background Wifi AP ... I've found in the framework-res.apk when I change no change whatsoever ... do you know where to change it?
sory i don't using cm 11
Click to expand...
Click to collapse
you missunderstand!!!
he said, if u want to change the shown BBM background, you need to change IT IN THE BBM app!!! (not in framework-res)
& i guess with ''sory i don't using cm 11'' you are reffering to his SIGNATURE. its his signature NOT A MESSAGE TO YOU
atleast give him a thx, as he found out that the png is located in bbm app
bejunk said:
you missunderstand!!!
he said, if u want to change the shown BBM background, you need to change IT IN THE BBM app!!! (not in framework-res)
& i guess with ''sory i don't using cm 11'' you are reffering to his SIGNATURE. its his signature NOT A MESSAGE TO YOU
atleast give him a thx, as he found out that the png is located in bbm app
Click to expand...
Click to collapse
you try to see the background ap wifi .. it is in the framework-res.apk when I using a cm 10 background bbm and wifi ap its same .. is there something wrong on my framewok-res.apk have? sorry I think it's a message for me
sory my bad english
paste here your framework and bbm app, I will try find it...
godlesplay said:
paste here your framework and bbm app, I will try find it...
Click to expand...
Click to collapse
oke... wait i think problem on systemui.apk
Solved guys... I have changed script in SystemUI/res/layout/status_bar_notification_row.xml
I change
<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout android:background="@drawable/status_bar_notification_row_background_color" android:layout_width="fill_parent" android:layout_height="@dimen/notification_height"
xmlns:android="http://schemas.android.com/apk/res/android">
<Button android:id="@id/veto" android:background="@null" androidaddingLeft="8.0dip" androidaddingRight="8.0dip" android:layout_width="48.0dip" android:layout_height="fill_parent" android:layout_marginRight="-80.0dip" android:layout_alignParentRight="true" android:layout_centerVertical="true" />
<ImageView android:id="@id/large_icon" android:background="@*android:drawable/minitab_lt_unselected_press" android:clickable="true" android:layout_width="@*android:dimen/notification_large_icon_width" android:layout_height="@*android:dimen/notification_large_icon_height" android:scaleType="center" android:layout_alignParentLeft="true" android:layout_alignParentTop="true" />
<com.android.systemui.statusbar.LatestItemView android:id="@id/content" android:background="@drawable/notification_row_bg" android:focusable="true" android:clickable="true" android:layout_width="fill_parent" android:layout_height="64.0dip" android:layout_toRightOf="@id/large_icon" android:layout_alignParentTop="true" android:layout_alignParentRight="true" />
<View android:background="@drawable/horiz_list_div" android:layout_width="fill_parent" android:layout_height="@dimen/notification_divider_height" android:layout_alignParentBottom="true" />
</RelativeLayout>
to
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout androidrientation="vertical" android:layout_width="fill_parent" android:layout_height="@dimen/notification_height"
xmlns:android="http://schemas.android.com/apk/res/android">
<View android:background="@drawable/horiz_list_div" android:layout_width="fill_parent" android:layout_height="1.0dip" />
<RelativeLayout android:background="@drawable/notification_item_background_color" android:layout_width="fill_parent" android:layout_height="61.0dip">
<Button android:id="@id/veto" android:background="@null" androidaddingLeft="8.0dip" androidaddingRight="8.0dip" android:layout_width="48.0dip" android:layout_height="fill_parent" android:layout_marginRight="-80.0dip" android:layout_alignParentRight="true" android:layout_centerVertical="true" />
<ImageView android:id="@id/large_icon" android:background="@*android:drawable/notify_panel_notification_icon_bg_tile" android:clickable="true" android:layout_width="@*android:dimen/notification_large_icon_width" android:layout_height="@*android:dimen/notification_large_icon_height" android:scaleType="center" android:layout_alignParentLeft="true" android:layout_alignParentTop="true" />
<com.android.systemui.statusbar.LatestItemView android:id="@id/content" android:background="@drawable/notification_row_bg" android:focusable="true" android:clickable="true" android:layout_width="fill_parent" android:layout_height="61.0dip" android:layout_toRightOf="@id/large_icon" android:layout_alignParentTop="true" android:layout_alignParentRight="true" />
</RelativeLayout>
<View android:background="@*android:color/transparent" android:layout_width="fill_parent" android:layout_height="2.0dip" />
</LinearLayout>
thx for participating..