[MOD][CM10.1]Centered Clock (for now) [Currently Alpha 8] - Samsung Galaxy SL i9003

[MOD][CM10.1]Centered Clock (for now) ​
How to Install?​
1.Put the file to your sdcard
2.boot into recovery
3.flash the file
4.done
note:if you don't like the mod just flash backup in universal flasher folder
Download
CM10.1 ALPHA 5
100% Tranparent Status Bar+Centered Clock+White Clock:
DropBox
CM10.1 ALPHA 6
(alpha 6 dhiru latest build)
100% Transparent Status Bar+Centered Clock+White Clock
DropBox
CM10.1 ALPHA 7
Centered Clock
as per request for now only centered clock for transparent status bar use Tweakbox for Xposed Framework
DropBox
CM10.1 ALPHA
Centered Clock
Thanks for @martin.la.gib
martin.la.gib said:
Center Clock for CM10.1 A8 : Centerclock CM10.1 A8 Blue ICS / Grey
ATTENTION : this MOD is not compatible with other MOD who used an other SystemUI.apk ("Task Manager in recent app" by TopDroid for exemple)
There are 2 colour : Blue ICS (SystemUI_center_clock.apk) and in grey (SystemUI_center_clock__grey.apk)
If you no happy, to return on default it's : SystemUI.apk
Installation :
- put the apk on your SD card
- with a ROOT explorer (Solid Explorer for exemple) go to : /system/app
- put the apk here (verify permissions :-rw-r--r--) and delete the older SystemUI.apk
- the phone reboot automatically
- Enjoy !!!
Click to expand...
Click to collapse
GUIDE:
If you want to change the colour of the clock
(For Centered Clock)
1.Open res/layout/status_bar.xml
find this line
Code:
<com.android.systemui.statusbar.policy.Clock android:textAppearance="@style/TextAppearance.StatusBar.Clock" android:textColor="#ffffff" android:gravity="center" android:id="@id/clock" android:paddingLeft="6.0dip" android:clickable="false" android:layout_width="wrap_content" android:layout_height="fill_parent" android:singleLine="true" />
2.Change this:
Code:
android:textColor="[B]#ffffff[/B]"
#ffffff : White
you can find hex code to change the colour of the clock
3.Done !
If you want to change the colour of the clock
(For Stock Clock)
1.Open res/Values/Styles.xml
find this code:
Code:
<style name="TextAppearance.StatusBar.Clock" parent="@*android:style/TextAppearance.StatusBar.Icon">
<item name="android:textSize">16.0dip</item>
<item name="android:textStyle">normal</item>
<item name="android:textColor">#ffffffff</item>
</style>
2.change this
Code:
<item name="android:textColor">#ffffffff</item>
#ffffff: white
@*android:color/holo_blue_light: stock colour (Blue)
3.Done!
​

Sent from my GT-I9003 using xda premium

Upload you framework-res.apk,systemui.apl,and androidpolicy.jar i think same as with another transparent mod
Sent from my GT-I9003 using xda premium

martin.la.gib said:
Yes, here they are : framework-res.apk ; SystemUI.apk ; android.policy.jar
Thank you
Click to expand...
Click to collapse
umm sorry sir,i always fail to recompilling it

martin.la.gib said:
do you know why ? :/
Click to expand...
Click to collapse
dunno :\ you are using alpha 6 latest build by dhiru ? if yes try in OP

martin.la.gib said:
Tes ok I'll try
---------- Post added at 09:48 AM ---------- Previous post was at 09:44 AM ----------
Link error ...
Click to expand...
Click to collapse
DropBox here you go:victory:

Yes i can,wait i'll do it for you
White clock or blue clock?
Sent from my GT-I9003 using xda premium

Thank you for this mod It cool :good:

And with the speed of the Internet 0.00kb/s. There is a modification?

If u guys open any app thats not coming with the rom, how does the statusbar look then? Like ugly weird grey/white or something?

Thanks I will try,
it looks nice

I have flashed and it looks very nice.
Is there a way to modify the transparency of the status bar? I mean, something similar such the clock changing color?
Thanks

Try module from xposed
Sent from my GT-I9003 using xda premium

@martin.la.gip hey friend i was make one for you Centered blue clock,if you want transparent use xposed module:good:

SORRY FOR LATE UPDATE cause i had an exam

ALPHA 8 by @martin.la.gib

i have whiship cm 10.1 ace plus how i know my rom alpha version

Different phone different rom ma friend
Sent from my GT-I9003 using xda app-developers app

The links doesn't work??
Re-upload may be please??

Related

[MOD]Port The 5 Lockscreen To Galaxy SL[I9003]

Ported The 5 Lockscreen To Galaxy SL
Apply the files
frameworks folder to /system/framework
app folder to /system/app
After that Go to settings --> Display
You will see Device Lockscreen
Set it to which ever you want Enjoy
It Is For XXKP9 (GINGERBREAD)
Thanks : ronhoover88
http://www.megaupload.com/?d=VKVTLOV0
Download the file and replace the settings file which i am attaching
Don't use the Settings.apk from the link
Use Mine
Check The Screen Shots
Edit :
CRT + Overscroll Glow + 5 Lockscreen (Framework-res.apk file only)
http://forum.xda-developers.com/showpost.php?p=16070361&postcount=78
i already hav this source i m stuck with diff file..
I've done 90% of it but cant do the settings.apk
Sent from my GT-I9003 using XDA App
Good job dude
Sent from my GT-I9003 using XDA App
intergen said:
Good job dude
Sent from my GT-I9003 using XDA App
Click to expand...
Click to collapse
what good job nothing is done...
ronhoover88 said:
I've done 90% of it but cant do the settings.apk
Sent from my GT-I9003 using XDA App
Click to expand...
Click to collapse
Will You attach all the files You have created??
I will Try to the settings.apk files
I have done the mod for froyo...i'll work on gb from saturday
Sent from my GT-I9003 using XDA App
ronhoover88 said:
I have done the mod for froyo...i'll work on gb from saturday
Sent from my GT-I9003 using XDA App
Click to expand...
Click to collapse
Where have you posted for froyo mate?
I haven't succeeded yet...i have ported 2 lockscreens...but need to mod setting.apk...thats not possible with me
Sent from my GT-I9003 using XDA App
Nice try I'm also try.but briked. I did status bar tweak,we have to edit XML it take one day for every file
Sent from my GT-I9003 using XDA Premium App
Keep on the good work guys and we i9003 user are grateful for your dedication.
Thanks
ronhoover88 said:
I haven't succeeded yet...i have ported 2 lockscreens...but need to mod setting.apk...thats not possible with me
Sent from my GT-I9003 using XDA App
Click to expand...
Click to collapse
if u have ported 2 lock screens post it here may be someone help us with other
I dont want someone to download it and start complaining...i'll complete it and then upload...coz most of all we need modded settings.apk to choose the unlockscreen thats what i'm not able to do
Sent from my GT-I9003 using XDA App
ronhoover88 said:
I dont want someone to download it and start complaining...i'll complete it and then upload...coz most of all we need modded settings.apk to choose the unlockscreen thats what i'm not able to do
Sent from my GT-I9003 using XDA App
Click to expand...
Click to collapse
I will try to mod settings.apk
And will post on saturday if it is sucessful
Sent from my GT-I9003
vivekkalady said:
I will try to mod settings.apk
And will post on saturday if it is sucessful
Sent from my GT-I9003
Click to expand...
Click to collapse
Good but you are using gb right??
Wat are the bugs in it? Does it reboot successfully or does it enter the upload mode?
Sent from my GT-I9003 using XDA App
Hi I've tried the problem is in the file public.xml because the default ids assigned to the new options are already assigned to others in the original i9003's settings.apk file. So we have to edit the xml file after patching it with .diff file to change the default ids with others not used...
EDIT:
used ids point to the samsung lockscreen so we can delete them ( I think)
From default public.xml:
<public type="drawable" name="lock_anim_10" id="0x7f02006d" />
<public type="drawable" name="lock_anim_11" id="0x7f02006e" />
<public type="drawable" name="lock_anim_12" id="0x7f02006f" />
<public type="drawable" name="lock_anim_13" id="0x7f020070" />
<public type="drawable" name="lock_anim_14" id="0x7f020071" />
From public.diff:
< <public type="drawable" name="APKTOOL_DUMMY_006d" id="0x7f02006d" />
< <public type="drawable" name="APKTOOL_DUMMY_006e" id="0x7f02006e" />
< <public type="drawable" name="APKTOOL_DUMMY_006f" id="0x7f02006f" />
< <public type="drawable" name="APKTOOL_DUMMY_0070" id="0x7f020070" />
< <public type="drawable" name="APKTOOL_DUMMY_0071" id="0x7f020071" />
We can't use these ids twice for different function...
I hope I've helped someone
ronhoover88 said:
Good but you are using gb right??
Wat are the bugs in it? Does it reboot successfully or does it enter the upload mode?
Sent from my GT-I9003 using XDA App
Click to expand...
Click to collapse
I am using GB
No bugs at all
Only video formats are not supporting
No reboot option in the power button menu
i havent tried long pressing the power buton
Sent from my GT-I9003
vivekkalady said:
I am using GB
No bugs at all
Only video formats are not supporting
No reboot option in the power button menu
i havent tried long pressing the power buton
Sent from my GT-I9003
Click to expand...
Click to collapse
Long press works fine. I've used it commonly, And it works like a charm. No issues there, Yet.
yes u r right misledz
only problem is battery drain.
sometimes i get kernel panic.
buts it not laggy at all.
podanimesh said:
yes u r right misledz
only problem is battery drain.
sometimes i get kernel panic.
buts it not laggy at all.
Click to expand...
Click to collapse
Yeah, Battery drain seems to be alot faster on everyday use. I find myself charging it every 6 hours now compared to FROYO. Kernel panic rarely happens to me, Maybe because of pressing home+power button when it hangs, Then yes. Lag happens aswell, When you don't reboot the phone and constantly use it for 2-3 days without rebooting. It slows down pretty bad and the response to touch is delayed. A reboot fixes that and it becomes all smooth again.

transparent status bar?

i am on a rooted german ICS rom and was wondering wether its poosible to have a transparent status bar?
I'm searching for itit too, i know it is possible but how?
I think that it is possible, but to make it happened you have to change some .png for the statusbar.
I believe it requires smali edits in systemui.apk
Sent from my GT-N7000
actually you can mod the apk file and edit the color of status bar as alpha blending = 1
this is the method the status bar is drawn as far as i recall it doesn't have PNG files for the actual background though you can define that too.
look at this:
http://forum.xda-developers.com/showthread.php?t=1531222
http://forum.xda-developers.com/showthread.php?t=1624819
you will find it here
wich png or xml you need to edit? by the SystemUI.apk?
_giggino_ said:
wich png or xml you need to edit? by the SystemUI.apk?
Click to expand...
Click to collapse
if i'am not mistaken it's at the unpacked classes by the resources/values/... a file in there is the one needed sorry but i dont remember the exact name of it XD
I m searchin fr it fr a long tym...and still lookin fr a simple way to make it transparent....I dunn want to flash another rom fr just a transparent bar...im on goa rom and lovin it...best rom...
better you follow this guide
http://forum.xda-developers.com/showthread.php?t=1085118
sahilarora2003 said:
I m searchin fr it fr a long tym...and still lookin fr a simple way to make it transparent....I dunn want to flash another rom fr just a transparent bar...im on goa rom and lovin it...best rom...
Click to expand...
Click to collapse
You can using a custom status bar on stock lq2 its transparent with bunch of toggles looks much better then the stock one all icons in blue with 15 toggles
I will add xda thread link if you guys interested
Sent from my GT-N7000 using xda premium
crossmedia said:
You can using a custom status bar on stock lq2 its transparent with bunch of toggles looks much better then the stock one all icons in blue with 15 toggles
I will add xda thread link if you guys interested
Sent from my GT-N7000 using xda premium
Click to expand...
Click to collapse
I just want to flash the transparent status bar..i hv working blue toggles which are included in the rom which im using..i love it.is there any way i can make it transparent by editing some files or smthin like tht?
Sent from my GT-N7000 using xda app-developers app
As mentioned before, its a smali edit. Then you can either set the status bar colour to transparent or set the drawable to look for an image. I'll post a quick tutorial when I get to my computer. Really easy to do providing you know how to (de)compile properly
Handwritten by my AOKP'd up Desire HD & Note
K Dotty said:
As mentioned before, its a smali edit. Then you can either set the status bar colour to transparent or set the drawable to look for an image. I'll post a quick tutorial when I get to my computer. Really easy to do providing you know how to (de)compile properly
Handwritten by my AOKP'd up Desire HD & Note
Click to expand...
Click to collapse
I'll wait fr ur tutorial...
Sent from my GT-N7000 using xda app-developers app
Im writing this presuming you already know how to decompile ICS apk's, if not.......google is your friend
Make a backup of your systemUI just incase.
Decompile your SystemUI,
Navigate to /SystemUI/smali/com/android/systemui/statusbar/StatusBar.smali
In StatusBar.Smali, search for this line;
Code:
invoke-direct/range {v11 .. v16}, Landroid/view/WindowManager$LayoutParams;-><init>(IIIII)V
A few lines above this change;
Code:
const/16 v16, [B]0x4[/B]
To
Code:
const/16 v16, [B]-0x3[/B]
Save the file then navigate to SystemUI/res/values/drawables.xml
Look for the following line;
Code:
<item type="drawable" name="status_bar_background">[B]#ff000000[/B]</item>
Change the hex value (#ff000000) the what ever you want ((ff = 100% transparency)(000000 = black)
#00000000 - completely transparent
#7f000000 - roughly 50% translucent I think
Save the file then recompile SystemUI.apk, and then push the apk back to your phone with the correct permissions and if compile correctly you should have a transparent status bar
If something goes wrong, I'm not responsible....blah blah blah!!
Iv only done this on CM9 & AOSP/AOKP but it should work with stock/tw roms as long as they're ics.
I'm still not next to my computer so I can't remember the line of code to set the status bar as an image rather than a color, I'll post it as soon as I get home.
Handwritten by my AOKP'd up Desire HD & Note
How do I get a background Image, Like the attached Screenshot ?
Thanks!

[MOD][HOW TO][GT-S7562] Enabling/modding Transparency

Hi Samsung Galaxy S Duos GT-S7562 users
Many of you asked me questions/helps for regarding transparency in our device.
So, i decided to make a help thread for everyone for GT-S7562 [This is what i did to make transparency in my GT-S7562 ]
This guide will tell you to how to enable transparency and modding transparency levels in your device.
You will need:
1. 7zip
2. Notepad++
3. ApkToolv3 Donwload here (Not any other ApkTool) [For this ApkTool, Credit goes to Kryten2k35]
Now the steps:
1. Extract apktoolv3
2 There will be a 'READ_ME.txt file, with the help of this decompile your SystemUI.apk
3. Now open WORKING folder and go to- SystemUI\smali\com\android\systemui\statusbar
4. Open StatusBar.smali with notepad++ and search for this:
Code:
Landroid/view/WindowManager$LayoutParams;->(IIIII)V
Go to the line above it and change the last value to -0x3
Save it and close
This will enable the transparency for StatusBar
Now for StatusBar Expanded/Notification Background
1. Go to- SystemUI\smali\com\android\systemui\statusbar\phone
2. Open PhoneStatusBar.smali with notepad++ and search for this:
Code:
const v4, 0x4800068
replace the 2 lines underneath with this:
Code:
const/4 v5, -0x3
move v2, v1
Now search for this:
Code:
Lcom/android/systemui/statusbar/phone/PhoneStatusBar;->mPixelFormat:I
Go to the line above it and change the last value to -0x3
Save it and close.
This will enable transparency in your device
Now for making transparency
1. In WORKING folder go to- SystemUI\res\values
2. Open drawables.xml using notepad++ and in this line:
Code:
<item type="drawable" name="status_bar_background">#[COLOR="Red"]xxxxxxxx[/COLOR]</item>
where 'xxxxxxxx' is some value.
Change xxxxxxxx to as per your need of transparency level:
00000000 - 100% transparency
3F000000 - 75% transparency
7F000000 - 50% transparency
BF000000 - 25% transparency
FF000000 - 0% transparent (No transparency)
Save it and close
3. And do the same with:
(a) SystemUI\res\values-sw600dp\drawables.xml
Code:
<item type="drawable" name="status_bar_background">#[COLOR="red"]xxxxxxxx[/COLOR]</item>
Save it and close
(b) SystemUI\res\values-sw800dp\drawables.xml
Code:
<item type="drawable" name="status_bar_background">#[COLOR="red"]xxxxxxxx[/COLOR]</item>
Save it and close
This will make your StatusBar transparent as per your values.
Now for making StatusBar Expanded/Notification Background transparent.
1. In WORKING folder go to- SystemUI\res\values
2 Open drawables.xml using notepad++ and in this line:
Code:
<item type="drawable" name="notification_tracking_bg">#[COLOR="red"]xxxxxxxx[/COLOR]</item>
Change xxxxxxxx to as per your need of transparency level.
Save it and close
3. And do the same with:
(a) SystemUI\res\layout\tw_status_bar_tracking.xml
Code:
<FrameLayout android:background="#[COLOR="red"]xxxxxxxx[/COLOR]" android:layout_width="fill_parent" android:layout_height="wrap_content" android:layout_weight="1.0" />
Save it and close
(b) SystemUI\res\layout\tw_status_bar_tracking_dual.xml
Code:
<LinearLayout android:gravity="bottom" android:orientation="vertical" android:background="#[COLOR="red"]xxxxxxxx[/COLOR]" android:layout_width="fill_parent" android:layout_height="wrap_content" android:layout_weight="1.0" />
Save it and close.
This will make your StatusBar Expanded/Notification Background transparent as per your values.
Now recompile and sign SystemUI.apk with the help of that READ_ME.txt file.
--------------------------------------------------------------------------------------------------------------------------------------------
Enjoy! :good:
And Dont Forget To Press Thanks :good: Button
IF YOU LIKE MY WORK, PLEASE CONSIDER ANY DONATION FOR CONTINUE DEVELOPMENT
Isn't it too .... complicated for a simple user?
Can't you make a simple zip and we ll flash through cwm
Anyway thanks for your work for our device.
Sent from my GT-S7562 using xda premium
saifzahid said:
Isn't it too .... complicated for a simple user?
Can't you make a simple zip and we ll flash through cwm
Anyway thanks for your work for our device.
Sent from my GT-S7562 using xda premium
Click to expand...
Click to collapse
It can be complicated but its a most simple way
You can try it, afterwards may be you will not find this complicated
And its good for learning new thing...
It can help you for many other devices and for making transparencies in many other apps too
Sent from my GT-S7562 using Tapatalk 2
Can i do it on stock rom....nd is this really workss...i mean is there any risk
Sent from my GT-S7562 using xda premium
mohit.bhagat1 said:
Can i do it on stock rom....nd is this really workss...i mean is there any risk
Sent from my GT-S7562 using xda premium
Click to expand...
Click to collapse
Yes you can do it on stock rom
Yes it works for sure with no risk
Just do the steps clearly
And its better to keep backup of original SystemUI.apk :good:
Mohitash said:
Hi Samsung Galaxy S Duos GT-S7562 users
Many of you asked me questions/helps for regarding transparency in our device.
So, i decided to make a help thread for everyone for GT-S7562 [This is what i did to make transparency in my GT-S7562 ]
This guide will tell you to how to enable transparency and modding transparency levels in your device.
You will need:
1. 7zip
2. Notepad++
3. ApkToolv3 Donwload here (Not any other ApkTool) [For this ApkTool, Credit goes to Kryten2k35]
Now the steps:
1. Extract apktoolv3
2 There will be a 'READ_ME.txt file, with the help of this decompile your SystemUI.apk
3. Now open WORKING folder and go to- SystemUI\smali\com\android\systemui\statusbar
4. Open StatusBar.smali with notepad++ and search for this:
Code:
Landroid/view/WindowManager$LayoutParams;->(IIIII)V
Go to the line above it and change the last value to -0x3
Save it and close
This will enable the transparency for StatusBar
Now for StatusBar Expanded/Notification Background
1. Go to- SystemUI\smali\com\android\systemui\statusbar\phone
2. Open PhoneStatusBar.smali with notepad++ and search for this:
Code:
const v4, 0x4800068
replace the 2 lines underneath with this:
Code:
const/4 v5, -0x3
move v2, v1
Now search for this:
Code:
Lcom/android/systemui/statusbar/phone/PhoneStatusBar;->mPixelFormat:I
Go to the line above it and change the last value to -0x3
Save it and close.
This will enable transparency in your device
Now for making transparency
1. In WORKING folder go to- SystemUI\res\values
2. Open drawables.xml using notepad++ and in this line:
Code:
<item type="drawable" name="status_bar_background">#[COLOR="Red"]xxxxxxxx[/COLOR]</item>
where 'xxxxxxxx' is some value.
Change xxxxxxxx to as per your need of transparency level:
00000000 - 100% transparency
3F000000 - 75% transparency
7F000000 - 50% transparency
BF000000 - 25% transparency
FF000000 - 0% transparent (No transparency)
Save it and close
3. And do the same with:
(a) SystemUI\res\values-sw600dp\drawables.xml
Code:
<item type="drawable" name="status_bar_background">#[COLOR="red"]xxxxxxxx[/COLOR]</item>
Save it and close
(b) SystemUI\res\values-sw800dp\drawables.xml
Code:
<item type="drawable" name="status_bar_background">#[COLOR="red"]xxxxxxxx[/COLOR]</item>
Save it and close
This will make your StatusBar transparent as per your values.
Now for making StatusBar Expanded/Notification Background transparent.
1. In WORKING folder go to- SystemUI\res\values
2 Open drawables.xml using notepad++ and in this line:
Code:
<item type="drawable" name="notification_tracking_bg">#[COLOR="red"]xxxxxxxx[/COLOR]</item>
Change xxxxxxxx to as per your need of transparency level.
Save it and close
3. And do the same with:
(a) SystemUI\res\layout\tw_status_bar_tracking.xml
Code:
<FrameLayout android:background="#[COLOR="red"]xxxxxxxx[/COLOR]" android:layout_width="fill_parent" android:layout_height="wrap_content" android:layout_weight="1.0" />
Save it and close
(b) SystemUI\res\layout\tw_status_bar_tracking_dual.xml
Code:
<LinearLayout android:gravity="bottom" android:orientation="vertical" android:background="#[COLOR="red"]xxxxxxxx[/COLOR]" android:layout_width="fill_parent" android:layout_height="wrap_content" android:layout_weight="1.0" />
Save it and close.
This will make your StatusBar Expanded/Notification Background transparent as per your values.
Now recompile and sign SystemUI.apk with the help of that READ_ME.txt file.
--------------------------------------------------------------------------------------------------------------------------------------------
Enjoy! :good:
And Dont Forget To Press Thanks :good: Button
Click to expand...
Click to collapse
You rock man... keep gng...!!!
Sent from my GT-S7562 using xda app-developers app
Thanks, this is really what i had been looking for a few days back but gave up due to lack of time. Now this has got me interested
Hit thanks if I helped
sent from GT-S7562 with a better,faster and stronger stock ROM
einst31n said:
Thanks, this is really what i had been looking for a few days back but gave up due to lack of time. Now this has got me interested
Hit thanks if I helped
sent from GT-S7562 with a better,faster and stronger stock ROM
Click to expand...
Click to collapse
Dude, you havent seen this before? My this thread is very old.
Well good luck
Sent from my GT-S7562 using Tapatalk 2
Man i had really been out of touch with xda because i just got some preparations to do. I just got into my final year and immediately got busy with the placement stuff and all. I didnt upload any themes which i had made either coz of the fact that indian hostels dont provide a fast and reliable net
Will find time to continue my work hopefully
Hit thanks if I helped
sent from GT-S7562 with a better,faster and stronger stock ROM
Superb
Sent from my GT-S7562 using xda app-developers app

[GUIDE] Shadow/gradient on statusbar like GN3/S4/KitKat

Hello,
Already posted HERE, thank you to @ATTACK.
I've tried it and it's works on our Note. You can skip step modify android.policy.jar :good:
ikromy said:
Hello,
Already posted HERE, thank you to @ATTACK.
I've tried it and it's works on our Note. You can skip step modify android.policy.jar :good:
Click to expand...
Click to collapse
What did you exactly do?
Share your moded SystemUI.apk:good:
+ 1000. Also if you have just posted this thread for the sake of it, Mods please close the thread if there is no response from the OP.
mjrifath said:
Share your moded SystemUI.apk:good:
Click to expand...
Click to collapse
Please !!
ikromy said:
Hello,
Already posted HERE, thank you to @ATTACK.
I've tried it and it's works on our Note. You can skip step modify android.policy.jar :good:
Click to expand...
Click to collapse
This is a very intresting thread..please dont close it.. I am facing problem in compling systemui...Please Please..share your SystemUI for stock deodexed rom..
akhil093 said:
This is a very intresting thread..please dont close it.. I am facing problem in compling systemui...Please Please..share your SystemUI for stock deodexed rom..
Click to expand...
Click to collapse
+1! Lost my modded wallpapers with the fake shadow, Please share!
ok
Hello,
there are many ways to make status bar shadow, here's I share the simple way..
1. after decompile your systemUI, Go to SystemUI.apk\res\values and open drawables.xml and focus on this line and remove it:
Code:
<item type="drawable" name="status_bar_background">xxxxxxxxxxxxxxxxx</item>
2. create file : \SystemUI.apk\res\drawable\status_bar_background.xml and fill with this :
Code:
<?xml version="1.0" encoding="utf-8"?>
<shape
xmlns:android="http://schemas.android.com/apk/res/android">
<gradient android:startColor="#00000000" android:endColor="#66000000" android:angle="@integer/status_bar_recents_bg_gradient_degrees" name="status_bar_background" />
</shape>
in previous guide, the developer wrote "android:endColor" with value "#99000000", it's your choices...
3. Compile it. Done.
Download HERE from Sweet ROM 10.5 Black
ikromy said:
Hello,
there are many ways to make status bar shadow, here's I share the simple way..
1. after decompile your systemUI, Go to SystemUI.apk\res\values and open drawables.xml and focus on this line and remove it:
Code:
<item type="drawable" name="status_bar_background">xxxxxxxxxxxxxxxxx</item>
2. create file : \SystemUI.apk\res\drawable\status_bar_background.xml and fill with this :
Code:
<?xml version="1.0" encoding="utf-8"?>
<shape
xmlns:android="http://schemas.android.com/apk/res/android">
<gradient android:startColor="#00000000" android:endColor="#66000000" android:angle="@integer/status_bar_recents_bg_gradient_degrees" name="status_bar_background" />
</shape>
in previous guide, the developer wrote "android:endColor" with value "#99000000", it's your choices...
3. Compile it. Done.
Download HERE from Sweet ROM 10.5 Black
Click to expand...
Click to collapse
A BIG THANKS to you mate... you made my day ... THANK YOU SOOO MUCH BRO..
ikromy said:
Hello,
Already posted HERE, thank you to @ATTACK.
I've tried it and it's works on our Note. You can skip step modify android.policy.jar :good:
Click to expand...
Click to collapse
Can you please share your transparent Google search box (5x1) widget .. as in your screenshots... I searched it evrywhere on xda and google but everytime i found 4x1 (non-resizeable)...which doesn't suits to our note...please share if you have..
ok
akhil093 said:
Can you please share your transparent Google search box (5x1) widget .. as in your screenshots... I searched it evrywhere on xda and google but everytime i found 4x1 (non-resizeable)...which doesn't suits to our note...please share if you have..
Click to expand...
Click to collapse
tomorow
ikromy said:
tomorow
Click to expand...
Click to collapse
Thanks in advance.
1) the shadow is too low --> works fine
2) Doesnt really work well, coz i also use Tinted Status bar.. doesnt work with tht.
3) Doesnt work with Gravity Box either.

[GUIDE][CM11][KK] How to make Transparent Status and Navigation Bar on KitKat 4.4

Hello Everyone!!
Lots of people asked me how to make transparent status and transparent navigation bar on android 4.4 kitkat as it supports transparent status and navigation bar. So i thought of writing this guide so that every one get's benefit of this.
Here u go:
To make use of transparent status and navigation feature of Android 4.4 in your activity(it may be launcher or any activity):
Add these below lines in style.xml of your activity/launcher's main activity theme.
HTML:
<item name="android:windowTranslucentStatus">true</item>
<item name="android:windowTranslucentNavigation">true</item>
Where attribute android:windowTranslucentStatus set the transparency of status bar and android:windowTranslucentNavigation used for transparency of navigation bar
Or you can also use one of these themes as your parent
HTML:
Theme.Holo.NoActionBar.TranslucentDecor
Theme.Holo.Light.NoActionBar.TranslucentDecor
By enabling translucent system bars, your layout will fill the area behind the system bars, so you must also enable fitsSystemWindows for the portion of your layout that should not be covered by the system bars.
HTML:
<item name="android:fitsSystemWindows">true</item>
You can use anyone of the above approach to make transparent System bars of your activity.
You can also read original android docs Here
If u like my work, press thanks:laugh:
.
Me getting error while recompiling
CAN U PLZ MAKE TRANSPARENT BAR FOR THAT GIVEN APK :????????
gmp009 said:
Me getting error while recompiling
CAN U PLZ MAKE TRANSPARENT BAR FOR THAT GIVEN APK :????????
Click to expand...
Click to collapse
Bro as above mentioned themes were introduced in Kitkat so they doesn't work with older versions so in order to use those themes in your apk decopile your apk with kitkat framwork-res.apk(available in any CM11 Rom) and then compile it.It will work.try it let me know if that works:laugh:
ashishdubey said:
bro as above mentioned themes were introduced in kitkat so they doesn't work with older versions so in order to use those themes in your apk decopile your apk with kitkat framwork-res.apk(available in any cm11 rom) and then compile it.it will work.try it let me know if that works:laugh:
Click to expand...
Click to collapse
now getting this :/
gmp009 said:
now getting this :/
Click to expand...
Click to collapse
No problem that's warning ignore it..try to u use compiled apk.!!!
ashishdubey said:
no problem that's warning ignore it..try to u use compiled apk.!!!
Click to expand...
Click to collapse
i did but that launcher is not working now
gmp009 said:
i did but that launcher is not working now
Click to expand...
Click to collapse
what issue u r getting send me the logcats??
ashishdubey said:
what issue u r getting send me the logcats??
Click to expand...
Click to collapse
Now that launcher is not showing up its like not installed but its in system/app lol
gmp009 said:
Now that launcher is not showing up its like not installed but its in system/app lol
Click to expand...
Click to collapse
Might be u r getting some signature issue.
ashishdubey said:
Might be u r getting some signature issue.
Click to expand...
Click to collapse
I did sign now its working but its same no transparency......
gmp009 said:
hmm so how can i sign my app now ?
Click to expand...
Click to collapse
Read this post u will find out how to sign apk http://forum.xda-developers.com/showthread.php?t=2251719 .download jarsigner for that.Then install or move that signed apk to system>app.
ashishdubey said:
Read this post u will find out how to sign apk http://forum.xda-developers.com/showthread.php?t=2251719 .download jarsigner for that.Then install or move that signed apk to system>app.
Click to expand...
Click to collapse
I DID ITS WORKING BUT NO TRANSPARENCY Still same
gmp009 said:
I DID ITS WORKING BUT NO TRANSPARENCY Still same
Click to expand...
Click to collapse
bro i m not able to install ur apk as some libs are missing also i m using sony phone.i have checked ur manifest.xml and found that there is no theme defined in your main activity "com.android.launcher2.Launcher" define a theme and add transparent status bar styles corresponding to that theme in style.xml. hope that works
Thanks for this awesome guide!
How can I get the status bar to imitate the colour scheme of the top action bar? Blue bit.
I added fit window option but it didn't do anything.
Edit : Here's the screenshot!
Sent from my Nexus 5 using Tapatalk
krishneelg3 said:
Thanks for this awesome guide!
How can I get the status bar to imitate the colour scheme of the top action bar? Blue bit.
I added fit window option but it didn't do anything.
Edit : Here's the screenshot!
Sent from my Nexus 5 using Tapatalk
Click to expand...
Click to collapse
Bro try to remove window:background attribute from theme or make it transparent instead of white!
ashishdubey said:
Bro try to remove window:background attribute from theme or make it transparent instead of white!
Click to expand...
Click to collapse
I removed it, it went back to normal.
What exactly do I do to make it transparent??? change /white to transparent or do i need to change it from <item to <color ? and make it #00000000?
Explain it a bit Thanks for the help!
Edit: Changed
<item name="android:windowBackground">@*android:color/white</item> to
<color name="android:windowBackground">#0000000</color>
And compiled it, it didn't compile, anything i'm doing wrong here?
Sent from my Nexus 5 using Tapatalk
krishneelg3 said:
I removed it, it went back to normal.
What exactly do I do to make it transparent??? change /white to transparent or do i need to change it from <item to <color ? and make it #00000000?
Explain it a bit Thanks for the help!
Edit: Changed
<item name="android:windowBackground">@*android:color/white</item> to
<color name="android:windowBackground">#0000000</color>
And compiled it, it didn't compile, anything i'm doing wrong here?
Sent from my Nexus 5 using Tapatalk
Click to expand...
Click to collapse
hey give define that color in colors.xml like <color name="any_name">#00000000</color>
then in style.xml use it like this <item name="android:windowBackground">@color/any_name</item>
ashishdubey said:
hey give define that color in colors.xml like <color name="any_name">#00000000</color>
then in style.xml use it like this <item name="android:windowBackground">@color/any_name</item>
Click to expand...
Click to collapse
Okay, it compiled. I made two with one being color/white and the new one color/trans
The white one looked whites with shades. and the transparent one was just black :s, the status bar didn't blend into the blue action bar? it just went black. Any idea what happened?
EDIT : Fixed i moved the fitWindow function to the theme window. all is working! Thanks for this guide. And very helpful OP user!
So I defined a new colour in color.xml
<color name="nexus">#ff4d9ad8</color>
I went into styles, and changed
<item name="android:windowBackground">@*android:color/transparent</item> to
<item name="android:windowBackground">@*android:color/nexus</item>
Now when compiling, it gives off an error, doesn't compile?
Thanks for the help!
krishneelg3 said:
So I defined a new colour in color.xml
<color name="nexus">#ff4d9ad8</color>
I went into styles, and changed
<item name="android:windowBackground">@*android:color/transparent</item> to
<item name="android:windowBackground">@*android:color/nexus</item>
Now when compiling, it gives off an error, doesn't compile?
Thanks for the help!
Click to expand...
Click to collapse
Wrong way of using it...
use like this <item name="android:windowBackground">@color/nexus</item>:laugh:

Categories

Resources