[Guide] How to change notification text color to make it look like L - Miscellaneous Android Development

Hello Xda Today I'm Sharing A Guide By @eboybasit Thanks to him For Giving Permission For Posting here :laugh:
Q What Is this?
ans- How to change notification text color to make it look like L
requiremnts
-apktool
-notepad++
-brain.jar
-Framework-res.apk
-Decompile Framework-res.apk
-open res/values/styles.xml
-Search for something similar to this:
Code:
<style name="TextAppearance.StatusBar.EventContent" parent="@style/TextAppearance.StatusBar">
<item name="textSize">@dimen/notification_text_size</item>
<item name="textColor">‪#‎ff999999‬</item>
</style>
Change It To Like This
Code:
<style name="TextAppearance.StatusBar.EventContent" parent="@style/TextAppearance.StatusBar">
<item name="textSize">@dimen/notification_text_size</item>
<item name="textColor">‪#‎ff008080‬</item>
</style>
Now Search For This
Code:
<style name="TextAppearance.StatusBar.EventContent.Title" parent="@style/TextAppearance.StatusBar.EventContent">
<item name="textSize">@dimen/notification_title_text_size</item>
<item name="textStyle">bold</item>
<item name="textColor">‪#‎ffffffff‬</item>
<item name="fontFamily">sans-serif-light</item>
</style>
change it like this
Code:
<style name="TextAppearance.StatusBar.EventContent.Title" parent="@style/TextAppearance.StatusBar.EventContent">
<item name="textSize">@dimen/notification_title_text_size</item>
<item name="textStyle">bold</item>
<item name="textColor">#ff008080</item>
<item name="fontFamily">sans-serif-light</item>
<item name="shadowColor">‪#‎ff000000‬</item>
<item name="shadowRadius">1.0</item>
<item name="shadowDy">1.0</item>
<item name="shadowDx">1.0</item>
</style>
Now Find This
Code:
<style name="TextAppearance.StatusBar.EventContent.Line2" parent="@style/TextAppearance.StatusBar.EventContent">
<item name="textSize">@dimen/notification_subtext_size</item>
</style>
Change It to look like this
Code:
<style name="TextAppearance.StatusBar.EventContent.Line2" parent="@style/TextAppearance.StatusBar.EventContent">
<item name="textColor">#ff008080</item>
<item name="textSize">@dimen/notification_subtext_size</item>
</style>
SAVE THE XML:victory:
Now open Dimens.xml
and find this two lines
Code:
<dimen name="notification_title_text_size">18.0dip</dimen>
<dimen name="notification_subtext_size">12.0dip</dimen>
change it to.this
Code:
dimen name="notification_title_text_size">15.0dip</dimen>
<dimen name="notification_subtext_size">9.0dip</dimen>
save
recompile
pUsh
reboot
enjoy
Credits:-
Iian Armas
 @eboybasit

Awesome guide
Thanks. •﹏•

Thanks Bro

Screenshots please

Sorry sir i deleted My mod After this Guide So I cant take ss

nice guide thanks for this hope it works

Thanks Sir

ShadeSK said:
Thanks Sir
Click to expand...
Click to collapse
Unfortunately it doesn't compile :/ Says something about that value is not rrggbb or something like that

Can u plz Provile.Styles.xml and error log here?

ShadeSK said:
Can u plz Provile.Styles.xml and error log here?
Click to expand...
Click to collapse
Here you go see if you can help me. Error log is below
Styles.xml

kirito9 said:
Here you go see if you can help me. Error log is below
Styles.xml
Click to expand...
Click to collapse
Open Ur Styles.xml then find line no .889 Then bro Change Text color blabla =" '‪#‎ff008080‬'" to text color blabla ="008080" save compile enjoy

Try this
Open Ur Styles.xml then find line no .889 Then bro Change Text color blabla =" '‪#‎ff008080‬'" to text color blabla ="008080" save compile enjoy

thanks i will try it
Sent from my 4032A using XDA Free mobile app

ShadeSK said:
Open Ur Styles.xml then find line no .889 Then bro Change Text color blabla =" '‪#‎ff008080‬'" to text color blabla ="008080" save compile enjoy
Click to expand...
Click to collapse
I ended up removing the lines that were causing the error. Yes another line in the xml gave a recompile error. But here is my screenshot, idk if those were the only things to look different.

It is Real

It would be a nice add on the next version of materialized dark theme

Mr said:
It would be a nice add on the next version of materialized dark theme
Click to expand...
Click to collapse
hehe Yep

Related

In Call Dialer Text Color

I'm theming the dialer I have the pngs done and I've changed the numbered buttons text color by modifying the styles.xml in the res/values directory but for the life of me I can't find the file that controls the number bottoms text color for the in call dialer any help would be appreciated, thanks guys.
Sent from my ADR6300 using XDA App
Look inside com.HTC.resources apk... HTC kinda suck in how they arrange things. Everything is connected to that file some how.
I'm sure you'll find it there.
Sent from my PC36100 using Tapatalk
HeyItsLou said:
I'm theming the dialer I have the pngs done and I've changed the numbered buttons text color by modifying the styles.xml in the res/values directory but for the life of me I can't find the file that controls the number bottoms text color for the in call dialer any help would be appreciated, thanks guys.
Sent from my ADR6300 using XDA App
Click to expand...
Click to collapse
resources.arsc in Phone.apk
JchiSurf has a thread in here where he modified both the dialer and the in-call dialer. both are in resources.arsc for each file (HtcDialer.apk and Phone.apk).
the exact file or place inside resources.arsc, i dont know! ask him
aamikam said:
Look inside com.HTC.resources apk... HTC kinda suck in how they arrange things. Everything is connected to that file some how.
I'm sure you'll find it there.
Sent from my PC36100 using Tapatalk
Click to expand...
Click to collapse
I'm pretty sure its an xml edit not a png
Sent from my ADR6300 using XDA App
Max_Pain said:
resources.arsc in Phone.apk
JchiSurf has a thread in here where he modified both the dialer and the in-call dialer. both are in resources.arsc for each file (HtcDialer.apk and Phone.apk).
the exact file or place inside resources.arsc, i dont know! ask him
Click to expand...
Click to collapse
Ya the resources.arsc is built from.the apk's info including xml edits you made during the compiling process if I didn't make the changes the.info won't be present in that file.
I know this mod has been done but I'm trying to apply this to my already modified Phone.apk so just looking for the xml I need so I don't have re-apply all my other mods.
Sent from my ADR6300 using XDA App
res/values-hdpi-v4/styles.xml
Code:
<style name="text_style_dialer_button_number">
<item name="android:textSize">27.0sp</item>
<item name="android:textColor">#ffffffff</item>
<item name="android:layout_gravity">center_horizontal</item>
<item name="android:layout_width">wrap_content</item>
<item name="android:layout_height">wrap_content</item>
<item name="android:shadowColor">#ff000000</item>
<item name="android:shadowDx">2.0</item>
<item name="android:shadowDy">2.0</item>
<item name="android:shadowRadius">1.0</item>
Zero Button
Code:
<style name="text_style_dialer_button_zero_number">
<item name="android:textSize">27.0sp</item>
<item name="android:textColor">#ffffffff</item>
<item name="android:layout_gravity">center</item>
<item name="android:layout_width">wrap_content</item>
<item name="android:layout_height">wrap_content</item>
<item name="android:shadowColor">#ff000000</item>
<item name="android:shadowDx">2.0</item>
<item name="android:shadowDy">2.0</item>
<item name="android:shadowRadius">1.0</item>
This will change the text color to white with a black shadow in case anyone is wondering.
HeyItsLou said:
res/values-hdpi-v4
Code:
<style name="text_style_dialer_button_number">
<item name="android:textSize">27.0sp</item>
<item name="android:textColor">#ffffffff</item>
<item name="android:layout_gravity">center_horizontal</item>
<item name="android:layout_width">wrap_content</item>
<item name="android:layout_height">wrap_content</item>
<item name="android:shadowColor">#ff000000</item>
<item name="android:shadowDx">2.0</item>
<item name="android:shadowDy">2.0</item>
<item name="android:shadowRadius">1.0</item>
Zero Button
Code:
<style name="text_style_dialer_button_zero_number">
<item name="android:textSize">27.0sp</item>
<item name="android:textColor">#ffffffff</item>
<item name="android:layout_gravity">center</item>
<item name="android:layout_width">wrap_content</item>
<item name="android:layout_height">wrap_content</item>
<item name="android:shadowColor">#ff000000</item>
<item name="android:shadowDx">2.0</item>
<item name="android:shadowDy">2.0</item>
<item name="android:shadowRadius">1.0</item>
This will change the text color to white with a black shadow in case anyone is wondering.
Click to expand...
Click to collapse
Hey, that's good to know .
JsChiSurf said:
Hey, that's good to know .
Click to expand...
Click to collapse
You're the man Js thanks for directing me to the right directory
What APK is this folder in on the Droid Incredible?

[MOD][GUIDE] Remove Ongoing Notification

This is a quick way to remove the aggrivating Ongoing WiFi notification in the drop down menu. There may be other ways to do it via smali or xml but I have not found them yet so this will work for now.
I am including a flashable ZIP as well but it "may" cause issues if your on a custom ROM.
The Guide....
Decompile framework-res.apk
First verify these lines are not already there, if not, add the following code to res/values/drawables
Code:
<item type="drawable" name="stat_sys_wifi_connected">false</item>
<item type="drawable" name="stat_sys_wifi_disabled">false</item>
<item type="drawable" name="stat_sys_wifi_dummy">false</item>
<item type="drawable" name="stat_sys_wifi_no_network">false</item>
<item type="drawable" name="stat_sys_wifi_not_connected">false</item>
Remove the following .pngs from res/drawables-hdpi and drawables-xhdpi
Code:
stat_sys_wifi_connected.png
stat_sys_wifi_disabled.png
stat_sys_wifi_dummy.png
stat_sys_wifi_no_network.png
stat_sys_wifi_not_connected.png
Recompile and push to /system/framework
This is meant for a stock deodexed BLK3 Rom. Nandroid First!
Ongoing Removal Zip Download
Not working on CleanROM 5.5.1
I know it says stock K3, but CR is stock based..
Sent from my Commodore 64..
READY.
load"*", 8,1
Hypnosis4U2NV said:
Not working on CleanROM 5.5.1
I know it says stock K3, but CR is stock based..
Sent from my Commodore 64..
READY.
load"*", 8,1
Click to expand...
Click to collapse
Can you be more specific? Did it bootloop, get stuck on splash, or just not remove the ongoing notifications?
This is just a framework-res mod, so it should be fairly compatible with most roms, but if the rom your on has made changes to framework-res you may have complications.
I tested it on my stock BLK3 rom and it worked fine.
Hypnosis4U2NV said:
Not working on CleanROM 5.5.1
I know it says stock K3, but CR is stock based..
Sent from my Commodore 64..
READY.
load"*", 8,1
Click to expand...
Click to collapse
Lol its already removed from CleanROM. This is how I have been removing it from all the jellybean leaks. I did this mod for the last few cleanroms and is released in the roms from scott
Sent from my SCH-I535 using xda app-developers app
---------- Post added at 05:02 PM ---------- Previous post was at 04:56 PM ----------
Didact74 said:
This is a quick way to remove the aggrivating Ongoing WiFi notification in the drop down menu. There may be other ways to do it via smali or xml but I have not found them yet so this will work for now.
I am including a flashable ZIP as well but it "may" cause issues if your on a custom ROM.
The Guide....
Decompile framework-res.apk
First verify these lines are not already there, if not, add the following code to res/values/drawables
Code:
<item type="drawable" name="stat_sys_wifi_connected">false</item>
<item type="drawable" name="stat_sys_wifi_disabled">false</item>
<item type="drawable" name="stat_sys_wifi_dummy">false</item>
<item type="drawable" name="stat_sys_wifi_no_network">false</item>
<item type="drawable" name="stat_sys_wifi_not_connected">false</item>
Remove the following .pngs from res/drawables-hdpi and drawables-xhdpi
Code:
stat_sys_wifi_connected.png
stat_sys_wifi_disabled.png
stat_sys_wifi_dummy.png
stat_sys_wifi_no_network.png
stat_sys_wifi_not_connected.png
Recompile and push to /system/framework
This is meant for a stock deodexed BLK3 Rom. Nandroid First!
Ongoing Removal Zip Download
Click to expand...
Click to collapse
Just a fyi you don't have to add those lines in the xml. You can just 7 zip open the framework and delete the 5 pngs from the drawable/hdpi folder this how I've done all the jellybean leaks for everyone and causes no issues and you don't have to recompile so it's a little quicker.
Sent from my SCH-I535 using xda app-developers app
This worked great for me on stock odex even. Framework-res is not an odexed file, so it should work on any "stock" unmodified framework. If used on a modded framework as the op says it will break those mods.
Sent from my SCH-I535 using Tapatalk 2
I apologize, it was the setting in wifi to disable it.. Sorry for the confusion..
Sent from my Commodore 64..
READY.
load"*", 8,1
rwc95 said:
Just a fyi you don't have to add those lines in the xml. You can just 7 zip open the framework and delete the 5 pngs from the drawable/hdpi folder this how I've done all the jellybean leaks for everyone and causes no issues and you don't have to recompile so it's a little quicker.
Sent from my SCH-I535 using xda app-developers app
Click to expand...
Click to collapse
Thanks Man!
The way I did it was go into the WiFi settings then hit menu and then advanced. Then I proceeded to uncheck and turn off everything that would turn the WiFi back on. I'm running Jelly Bean's build 6. Hope this helps for someone that doesn't feel confident flashing or messing with decompiling.
Sent from my SCH-I535 using xda premium
john21511 said:
The way I did it was go into the WiFi settings then hit menu and then advanced. Then I proceeded to uncheck and turn off everything that would turn the WiFi back on. I'm running Jelly Bean's build 6. Hope this helps for someone that doesn't feel confident flashing or messing with decompiling.
Sent from my SCH-I535 using xda premium
Click to expand...
Click to collapse
I think everyone is confusing the ongoing wifi in pulldown with the pop up Window that scans for networks. This mod is to remove the ongoing wifi stuff that stays in the pulldown that can not be turned off unless already removed from the rom your running. The pop up Window can be disabled on any rom by going to the wifi settings and un checking notify me at the top. Hope this halfway clarifies.
Sent from my SCH-I535 using xda app-developers app
Got bored and decided to flash this on my stock rooted k3 and it worked perfect but for some reason gave me a nav bar haha its cool tho I have a nandroid
Sent from my SCH-I535 using Tapatalk 2
rwc95 said:
Just a fyi you don't have to add those lines in the xml. You can just 7 zip open the framework and delete the 5 pngs from the drawable/hdpi folder this how I've done all the jellybean leaks for everyone and causes no issues and you don't have to recompile so it's a little quicker.
Sent from my SCH-I535 using xda app-developers app
Click to expand...
Click to collapse
I used this method. Thanks a ton for that and thanks to the OP.
Sent from my SCH-I535 using xda premium
rwc95 said:
Lol its already removed from CleanROM. This is how I have been removing it from all the jellybean leaks. I did this mod for the last few cleanroms and is released in the roms from scott
Sent from my SCH-I535 using xda app-developers app
---------- Post added at 05:02 PM ---------- Previous post was at 04:56 PM ----------
Just a fyi you don't have to add those lines in the xml. You can just 7 zip open the framework and delete the 5 pngs from the drawable/hdpi folder this how I've done all the jellybean leaks for everyone and causes no issues and you don't have to recompile so it's a little quicker.
Sent from my SCH-I535 using xda app-developers app
Click to expand...
Click to collapse
+1 on just removing/renaming the png files. Works like a charm without any side effects that I've noticed.
Does anyone have the original stock framework-res.apk for jelly bean? Flashed this zip and everything was fine, but one of the only games I play does not work anymore. Thanks!
NM, just did a nandroid restore.
will try with deodexed 4.2 OTA and pos results
To anyone wondering it doesn't work with 4.1.2 VRBMB1 official stock rooted, you will get boot loops. Thank you for making this anyways though does anyone know any ways to remove the ongoing notification in VRBMB1?
joshua5683 said:
To anyone wondering it doesn't work with 4.1.2 VRBMB1 official stock rooted, you will get boot loops. Thank you for making this anyways though does anyone know any ways to remove the ongoing notification in VRBMB1?
Click to expand...
Click to collapse
I was able to rename the .png files on VRBMB1 without a problem. I adb pulled framework-res.apk, opened in 7-zip, deleted the 5 .png files, and copied the .apk back to /system/app/framework
Works just fine. Perhaps it's best to avoid decompiling/recompiling the framework. Using 7-zip is just fine.
dunderball said:
I was able to rename the .png files on VRBMB1 without a problem. I adb pulled framework-res.apk, opened in 7-zip, deleted the 5 .png files, and copied the .apk back to /system/app/framework
Works just fine. Perhaps it's best to avoid decompiling/recompiling the framework. Using 7-zip is just fine.
Click to expand...
Click to collapse
Guys, the way i do it is just like the tutorial in the first post. Remove the PNG's and add the lines to drawable. The reason you add the lines to drawable is to retain the IDs in res/public. If you remove the PNGs then try to recompile you will get errors because there are still IDs in res/public that point to the now removed PNGs. If you try to remove the IDs from res/public then it will throw your hexidecimal ID order out of whack and will cause recompiling errors. Like the tutorial shows in the first post, by adding these lines to res/drawable
Code:
<item type="drawable" name="stat_sys_wifi_connected">false</item>
<item type="drawable" name="stat_sys_wifi_disabled">false</item>
<item type="drawable" name="stat_sys_wifi_dummy">false</item>
<item type="drawable" name="stat_sys_wifi_no_network">false</item>
<item type="drawable" name="stat_sys_wifi_not_connected">false</item>
you still retain the IDs in res/public but they no longer point to the PNGs you removed, they now point to the dummy's you added to res/drawable.
If you want to just open the APK with winzip or whatever and remove the PNGs thats fine too, however, if you go to make other changes that would require you to decompile/recompile you will get errors.
Didact74 said:
Guys, the way i do it is just like the tutorial in the first post. Remove the PNG's and add the lines to drawable. The reason you add the lines to drawable is to retain the IDs in res/public. If you remove the PNGs then try to recompile you will get errors because there are still IDs in res/public that point to the now removed PNGs. If you try to remove the IDs from res/public then it will throw your hexidecimal ID order out of whack and will cause recompiling errors. Like the tutorial shows in the first post, by adding these lines to res/drawable
Code:
<item type="drawable" name="stat_sys_wifi_connected">false</item>
<item type="drawable" name="stat_sys_wifi_disabled">false</item>
<item type="drawable" name="stat_sys_wifi_dummy">false</item>
<item type="drawable" name="stat_sys_wifi_no_network">false</item>
<item type="drawable" name="stat_sys_wifi_not_connected">false</item>
you still retain the IDs in res/public but they no longer point to the PNGs you removed, they now point to the dummy's you added to res/drawable.
If you want to just open the APK with winzip or whatever and remove the PNGs thats fine too, however, if you go to make other changes that would require you to decompile/recompile you will get errors.
Click to expand...
Click to collapse
No PC here is there a way to do this on the phone
Sent from my SCH-I535
hitman980206 said:
No PC here is there a way to do this on the phone
Sent from my SCH-I535
Click to expand...
Click to collapse
I'm pretty certain you can remove the .png files using NinjaMorph.

[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][SecLauncher] Make seclauncher(samsung launcher) super snappy and fast

This guide is just a quick guide on making seclauncher faster by changing integers...
the only tool you need would be the one i made here - Quickmod tool
1. Decompile seclauncher (in my case seclaucher3.apk)
2. go to res/values and open integers.xml
3. Find this line (note, your integer value might be different in any of these steps)
NOTE: the lower the value the faster the launcher gets. mine just maintain the smootheness.
Code:
<integer name="config_workspaceUnshrinkTime">[COLOR="Red"]300[/COLOR]</integer>
Change it to
Code:
<integer name="config_workspaceUnshrinkTime">[COLOR="Blue"]250[/COLOR]</integer>
4. Find this
Code:
<integer name="config_appsCustomizeWorkspaceAnimationStagger">[COLOR="Red"]40[/COLOR]</integer>
Change it to
Code:
<integer name="config_appsCustomizeWorkspaceAnimationStagger">[COLOR="Blue"]30[/COLOR]</integer>
5. Find these
Code:
<integer name="config_crosshairsFadeInTime">[COLOR="Red"]600[/COLOR]</integer>
<integer name="config_dragOutlineFadeTime">[COLOR="red"]900[/COLOR]</integer>
<integer name="config_folderAnimDuration">[COLOR="red"]200[/COLOR]</integer>
<integer name="config_scrollZoneScrollDelay">[COLOR="red"]500[/COLOR]</integer>
Change them to
Code:
<integer name="config_crosshairsFadeInTime">[COLOR="Blue"]525[/COLOR]</integer>
<integer name="config_dragOutlineFadeTime">[COLOR="blue"]800[/COLOR]</integer>
<integer name="config_folderAnimDuration">[COLOR="blue"]175[/COLOR]</integer>
<integer name="config_scrollZoneScrollDelay">[COLOR="blue"]400[/COLOR]</integer>
6. Find this
Code:
<integer name="config_pagePreviewSnapDelay">[COLOR="Red"]400[/COLOR]</integer>
Change it to
Code:
<integer name="config_pagePreviewSnapDelay">[COLOR="Blue"]300[/COLOR]</integer>
7. This step the folder could differ, Go to res/values-sw359dp-xxhdpi <------ this could very likely be different.
8. Open integers.xml
9. Find this
Code:
<integer name="page_snap_animation_duration">[COLOR="Red"]520[/COLOR]</integer>
Change it to
Code:
<integer name="page_snap_animation_duration">[COLOR="blue"]300[/COLOR]</integer>
And thats it! recompile and feel how speedy/smoothe it is
thanks mate!
This sounds wonderful, but I have a question, if anyone can answer, if its this simple to make it much better, why is Sammy sending it out the way it is now aka crappy, when Sammy themselves could put it out with the new settings and be better out of the box. Do Sammy have a reason for sending out with the original settings? saving battery or some other reason?
I don't want to sound like I'm knocking your stuff but I don't understand why something this simple isn't already done.
Sent from my GT-I9505 using xda app-developers app
I decompile my seclauncher3.apk but there is no values folder in res and no integers.xml file in any folder I'm using JB4.3 XXUEMK9 I9505
Send from my I9505 using XDA Premium App
ranger4740 said:
This sounds wonderful, but I have a question, if anyone can answer, if its this simple to make it much better, why is Sammy sending it out the way it is now aka crappy, when Sammy themselves could put it out with the new settings and be better out of the box. Do Sammy have a reason for sending out with the original settings? saving battery or some other reason?
I don't want to sound like I'm knocking your stuff but I don't understand why something this simple isn't already done.
Sent from my GT-I9505 using xda app-developers app
Click to expand...
Click to collapse
I would not have a clue..
LyuboA said:
I decompile my seclauncher3.apk but there is no values folder in res and no integers.xml file in any folder I'm using JB4.3 XXUEMK9 I9505
Send from my I9505 using XDA Premium App
Click to expand...
Click to collapse
Well then it hasnt decompiled properly...
not working
I decompile my seclauncher3 with apk tool and change the value but not the same as your values and recompile but its not working. I have gt i9500 with 4.3. Can you post your seclauncher3.apk? Thanks
[email protected] said:
I decompile my seclauncher3 with apk tool and change the value but not the same as your values and recompile but its not working. I have gt i9500 with 4.3. Can you post your seclauncher3.apk? Thanks
Click to expand...
Click to collapse
change the values to the same as mine!
ricky310711 said:
change the values to the same as mine!
Click to expand...
Click to collapse
Can u do an example for us with this i9505 MKF seclauncher: https://www.dropbox.com/s/fj0s50ovu6...cLauncher3.apk
I can't find the value folder either
tranbeelze said:
Can u do an example for us with this i9505 MKF seclauncher: https://www.dropbox.com/s/fj0s50ovu6...cLauncher3.apk
I can't find the value folder either
Click to expand...
Click to collapse
decompile it and upload the res folder?
ricky310711 said:
decompile it and upload the res folder?
Click to expand...
Click to collapse
here is the res folder: https://www.dropbox.com/s/4o9kgmx3i0dq8ti/res.zip :fingers-crossed:
tranbeelze said:
here is the res folder: https://www.dropbox.com/s/4o9kgmx3i0dq8ti/res.zip :fingers-crossed:
Click to expand...
Click to collapse
Hmm, did you install framework prior to this? Send me your .apk!
works now.thanks man
Those with seclauncher2? Can this work for me?
Sent from my GT-N7000 using xda premium
NoteboyTech said:
Those with seclauncher2? Can this work for me?
Sent from my GT-N7000 using xda premium
Click to expand...
Click to collapse
ofcoarse!
i will be adding more to this soon!
Does someone know what I have to do to maximize the numbers of apps placed at the bottom of the screen?
I mean the place, where the menu icon is located. (is it called menu bar? I don't know )
And would it be possible to make this bar scrollable (like the homescreen itself)?
Praetoriani said:
Does someone know what I have to do to maximize the numbers of apps placed at the bottom of the screen?
I mean the place, where the menu icon is located. (is it called menu bar? I don't know )
And would it be possible to make this bar scrollable (like the homescreen itself)?
Click to expand...
Click to collapse
you need to mod the values in dimens.xml
ricky310711 said:
you need to mod the values in dimens.xml
Click to expand...
Click to collapse
So this is the content of \res\values\dimens.xml
Code:
<item type="dimen" name="config_menuBgDarkenAmountNormal">0.1</item>
<item type="dimen" name="config_bgDarkenAmountEdit">0.3</item>
<item type="dimen" name="config_wsBaseDarkenAmountEdit">0.1</item>
<item type="dimen" name="config_bgDarkenAmountContextualPage">0.4</item>
<dimen name="folderIcon_hCenterAlign">-100.0px</dimen>
<dimen name="folderIcon_hRightAlign">-200.0px</dimen>
<dimen name="hoverScrollVerticalPaddingMatchParent">-1.0px</dimen>
<dimen name="config_dynamicShadowOffset">2.669983dip</dimen>
<dimen name="config_dynamicShadowBorder">1.0dip</dimen>
<dimen name="ged_home_cellWidth_land">106.0dip</dimen>
<dimen name="ged_home_cellWidth_port">80.0dip</dimen>
<dimen name="ged_home_cellHeight_land">74.0dip</dimen>
<dimen name="ged_home_cellHeight_port">100.0dip</dimen>
<dimen name="downloaded_text_padding">0.0dip</dimen>
<dimen name="help_hub_gallery_image_margin_left">0.0dip</dimen>
<dimen name="help_hub_gallery_image_margin_top">0.0dip</dimen>
<dimen name="help_hub_live_wallpaper_image_margin_left">0.0dip</dimen>
<dimen name="help_hub_live_wallpaper_image_margin_top">0.0dip</dimen>
<dimen name="help_hub_wallpaper_image_margin_left">0.0dip</dimen>
<dimen name="help_hub_wallpaper_image_margin_top">0.0dip</dimen>
<dimen name="help_hub_wallpaper_type_image_margin_top">0.0dip</dimen>
<dimen name="menu_downloaded_icon_margin_top">0.0dip</dimen>
<dimen name="help_hub_change_wallpaper_pointer_up_margin_top">0.0dip</dimen>
<dimen name="help_hub_move_apps_up_pointer_margin_top">0.0dip</dimen>
<dimen name="help_hub_chooser_insert_item_pointer_up_margin_top">0.0dip</dimen>
Which values I have to edit to put more icons/apps at the bottom of my screen?
Or do you mean a different dimens.xml? I found some more in \res\values-sw800dp\ and \res\values-sw800dp-land\
Praetoriani said:
So this is the content of \res\values\dimens.xml
Code:
<item type="dimen" name="config_menuBgDarkenAmountNormal">0.1</item>
<item type="dimen" name="config_bgDarkenAmountEdit">0.3</item>
<item type="dimen" name="config_wsBaseDarkenAmountEdit">0.1</item>
<item type="dimen" name="config_bgDarkenAmountContextualPage">0.4</item>
<dimen name="folderIcon_hCenterAlign">-100.0px</dimen>
<dimen name="folderIcon_hRightAlign">-200.0px</dimen>
<dimen name="hoverScrollVerticalPaddingMatchParent">-1.0px</dimen>
<dimen name="config_dynamicShadowOffset">2.669983dip</dimen>
<dimen name="config_dynamicShadowBorder">1.0dip</dimen>
<dimen name="ged_home_cellWidth_land">106.0dip</dimen>
<dimen name="ged_home_cellWidth_port">80.0dip</dimen>
<dimen name="ged_home_cellHeight_land">74.0dip</dimen>
<dimen name="ged_home_cellHeight_port">100.0dip</dimen>
<dimen name="downloaded_text_padding">0.0dip</dimen>
<dimen name="help_hub_gallery_image_margin_left">0.0dip</dimen>
<dimen name="help_hub_gallery_image_margin_top">0.0dip</dimen>
<dimen name="help_hub_live_wallpaper_image_margin_left">0.0dip</dimen>
<dimen name="help_hub_live_wallpaper_image_margin_top">0.0dip</dimen>
<dimen name="help_hub_wallpaper_image_margin_left">0.0dip</dimen>
<dimen name="help_hub_wallpaper_image_margin_top">0.0dip</dimen>
<dimen name="help_hub_wallpaper_type_image_margin_top">0.0dip</dimen>
<dimen name="menu_downloaded_icon_margin_top">0.0dip</dimen>
<dimen name="help_hub_change_wallpaper_pointer_up_margin_top">0.0dip</dimen>
<dimen name="help_hub_move_apps_up_pointer_margin_top">0.0dip</dimen>
<dimen name="help_hub_chooser_insert_item_pointer_up_margin_top">0.0dip</dimen>
Which values I have to edit to put more icons/apps at the bottom of my screen?
Or do you mean a different dimens.xml? I found some more in \res\values-sw800dp\ and \res\values-sw800dp-land\
Click to expand...
Click to collapse
fo to res/values-**dpi and look for dimens.xml, there should be alot more then that!
Good
Work Perfect on my galaxy s2 plus 4.2.2
Thank You

[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