[[GUIDE]] Battery/WiFi/Bluetooth/Alarm in Header! - Android Themes

For L Style Header go HERE
For L Style Header[Advanced] go HERE
For Panel Transparency go HERE
For adding L Style Date/Clock View go HERE
Yo Guys! Today I am here with a simple yet detailed guide to add Battery/WiFi/Bluetooth/Alarm icons in header!
This guide is inspired from THIS guide
Let's begin.
1.Decompile your SystemUI.apk
2.Merge the attached smalis to the respective directory.
3.Navigate to res/layout and open status_bar_expanded_header.xml[MTK] / tw_status_bar_expanded_header.xml[TouchWiz]
Search for this:
Code:
<Space android:layout_width="0.0dip" android:layout_height="0.0dip" android:layout_weight="1.0" />
Now, copy and paste this lines below it:
Code:
<com.fmd.icons.BluetoothIcon android:paddingRight="4.0dip" android:layout_width="wrap_content" android:layout_height="wrap_content" />
<com.fmd.icons.AlarmIcon android:paddingRight="4.0dip" android:layout_width="wrap_content" android:layout_height="wrap_content" />
<com.fmd.icons.WifiIcon android:layout_width="wrap_content" android:layout_height="wrap_content" />
<com.fmd.btn.LBatteryBar android:layout_width="22.0dip" android:layout_height="22.0dip" />
Save the XML.
Recompile the UI.
Decompile the Newly Recompiled UI.
Navigate to res/values/ and open publics.xml
Now go to res/smali/com/fmd/btn and open LBatteryBar$1.smali and search for this:
Code:
0x7f020145
Replace it with the id of (from publics.xml):
Code:
<public type="drawable" name="stat_sys_battery_charge"
Now search for
Code:
0x7f02013c
Replace it with the id of (from publics.xml):
Code:
<public type="drawable" name="stat_sys_battery"
Save the smali.
Recompile the UI.
Sign.
Push to system/app with permissions 644.
DONE.
CREDITS
Sir tentenponce
FMD Devs
Jeff Rivera
Aljhun Mejorada Bumaya
Iann's LNotifPanel
Klark Luis Peralta
Van Freniere
Aniruddha_Pathak [For sharing the Guide]
YOU​
Regards,
Aniruddha_Pathak.
HIT THANKS IF YOU LIKE MY WORKS!​

I like your work [emoji4]
sent from my G7102 CM12.1 using Tapatalk

salimtn said:
I like your work [emoji4]
sent from my G7102 CM12.1 using Tapatalk
Click to expand...
Click to collapse
Thank you SIr

which id from all this?

pranavraut033 said:
which id from all this?
Click to expand...
Click to collapse
None of those bro. You need to search ids of "stat_sys_battery_charge" and "stat_sys_battery"

yaa got that....

pranavraut033 said:
yaa got that....
Click to expand...
Click to collapse
COOL

Change icon
How can i change the batery icon, i can't see
http ://i.gyazo. com/2e79a73484df3189b53ecce29f5daa07.png

MorSerNa said:
How can i change the batery icon, i can't see
http ://i.gyazo. com/2e79a73484df3189b53ecce29f5daa07.png
Click to expand...
Click to collapse
Go to SystemUI/res/drawable-hdpi folder and
For battery icons replace:
stat_sys_battery_0
stat_sys_battery_15
stat_sys_battery_28
stat_sys_battery_43
stat_sys_battery_57
stat_sys_battery_71
stat_sys_battery_85
stat_sys_battery_100
For charging anim replace:
stat_sys_battery_charge_anim0
stat_sys_battery_charge_anim15
stat_sys_battery_charge_anim28
stat_sys_battery_charge_anim43
stat_sys_battery_charge_anim57
stat_sys_battery_charge_anim71
stat_sys_battery_charge_anim85
stat_sys_battery_charge_anim100
HIT THANKS IF YOU LIKE MY WORKS!​

Aniruddha_Pathak said:
Go to SystemUI/res/drawable-hdpi folder and
For battery icons replace:
stat_sys_battery_0
stat_sys_battery_15
stat_sys_battery_28
stat_sys_battery_43
stat_sys_battery_57
stat_sys_battery_71
stat_sys_battery_85
stat_sys_battery_100
For charging anim replace:
stat_sys_battery_charge_anim0
stat_sys_battery_charge_anim15
stat_sys_battery_charge_anim28
stat_sys_battery_charge_anim43
stat_sys_battery_charge_anim57
stat_sys_battery_charge_anim71
stat_sys_battery_charge_anim85
stat_sys_battery_charge_anim100
HIT THANKS IF YOU LIKE MY WORKS!​
Click to expand...
Click to collapse
where I the download the news icons?

MorSerNa said:
where I the download the news icons?
Click to expand...
Click to collapse
From HERE sir Do hit thanks if you like my works :fingers-crossed:

Aniruddha_Pathak said:
Go to SystemUI/res/drawable-hdpi folder and
For battery icons replace:
stat_sys_battery_0
stat_sys_battery_15
stat_sys_battery_28
stat_sys_battery_43
stat_sys_battery_57
stat_sys_battery_71
stat_sys_battery_85
stat_sys_battery_100
For charging anim replace:
stat_sys_battery_charge_anim0
stat_sys_battery_charge_anim15
stat_sys_battery_charge_anim28
stat_sys_battery_charge_anim43
stat_sys_battery_charge_anim57
stat_sys_battery_charge_anim71
stat_sys_battery_charge_anim85
stat_sys_battery_charge_anim100
HIT THANKS IF YOU LIKE MY WORKS!​
Click to expand...
Click to collapse
Aniruddha_Pathak said:
From HERE sir Do hit thanks if you like my works :fingers-crossed:
Click to expand...
Click to collapse
THAAAAAAAAAAAANKS!
One quiestion more:
How can i put this?
http://gyazo. com/7c93aecc8910b1fd1edad89198dd596f
The margins and the user icon
Thanks for your job!
How I can separate the two icons? :
http://gyazo .com/c91010529bb29d27af451902758ebabf

MorSerNa said:
THAAAAAAAAAAAANKS!
One quiestion more:
How can i put this?
http://gyazo. com/7c93aecc8910b1fd1edad89198dd596f
The margins and the user icon
Thanks for your job!
How I can separate the two icons? :
http://gyazo .com/c91010529bb29d27af451902758ebabf
Click to expand...
Click to collapse
In your header.xml you added this line from guide right?:
Code:
<com.fmd.btn.LBatteryBar android:layout_width="22.0dip" android:layout_height="22.0dip" />
Try one thing, replace both 22.0dip with 20.0dip in the XML and save the xml. Recompile the UI, sign, Push, Done. Hope it helps
And for the floating part, go HERE and HERE
And I will surely come up with a guide for that too

Aniruddha_Pathak said:
In your header.xml you added this line from guide right?:
Code:
<com.fmd.btn.LBatteryBar android:layout_width="22.0dip" android:layout_height="22.0dip" />
Try one thing, replace both 22.0dip with 20.0dip in the XML and save the xml. Recompile the UI, sign, Push, Done. Hope it helps
And for the floating part, go HERE and HERE
And I will surely come up with a guide for that too
Click to expand...
Click to collapse
Thanks other time.
One question more jeje
Can I change the function of the buttons ?

MorSerNa said:
Thanks other time.
One question more jeje
Can I change the function of the buttons ?
Click to expand...
Click to collapse
You need to have the knowledge of android onclick function for that, but unfortunately I don't know how to implement it. So sorry, I can't help. May be Sir @serajr can help you

Nice guide helped much :beer:
Sent from my GT-S7262 using XDA Free mobile app

deniljoseph said:
Nice guide helped much :beer:
Sent from my GT-S7262 using XDA Free mobile app
Click to expand...
Click to collapse
Thanks mate

Related

[Guide][Mod][LG E400]Remove Music Widget on Statusbar

Well i guess i have to make this guide for L3 users for stop asking me "How to remove Music widget on Statusbar".
I assume you to know How to Decompile .apks using ApkTool Click Me for the Guide
Let's we start....
What you need;
- Computer
- ApkTool
- Notepad++
- A cup of coffee
> Make sure your mind and mood are in a good situations
> For any .apks mods, you need Deodexed .apks Click Me for the Guide
> Copy your SystemUI.apk onto your SDCard then send it to your computer [ use esFile explorer or Root explorer > navigate to /system/app/ ]
> After Decompile your SystemUI.apk, navigate to /res/layout/
> Open lge_status_bar_expanded with Notepad++
> Scroll down and search this line:
Code:
<LinearLayout android:gravity="left" android:layout_gravity="center" android:orientation="horizontal" android:id="@id/music_status_bar_[COLOR="Red"]port[/COLOR]" android:background="@drawable/indi_noti_music_bg" android:paddingLeft="3.0dip" android:paddingTop="3.0dip" android:paddingRight="9.0dip" android:paddingBottom="3.0dip" android:layout_width="wrap_content" android:layout_height="[COLOR="Red"]wrap_content[/COLOR]">
> Go to the end of the line, and change this code:
Code:
android:layout_height="wrap_content">
> To:
Code:
android:layout_height="0.0dip">
> Scroll down again for change the Landscape mode. Search this line:
Code:
<LinearLayout android:gravity="left" android:layout_gravity="center" android:orientation="horizontal" android:id="@id/music_status_bar_[COLOR="Red"]land[/COLOR]" android:background="@drawable/indi_noti_music_bg" android:paddingLeft="3.0dip" android:paddingTop="3.0dip" android:paddingRight="3.0dip" android:paddingBottom="3.0dip" android:layout_width="wrap_content" android:layout_height="[COLOR="Red"]wrap_content[/COLOR]">
> Do a same changes
> Save it
> Still in /res/ folder, now go to /layout-ldpi/
> Open lge_status_bar_expanded with Notepad++
> Do the same thing as mentioned above
> Re-Compile your SystemUI.apk
> Send it back into your phone
> Perform backup
> Replace the original SystemUI.apk [ set permission and change owner/ group ]
> Reboot
> Enjoy...!!!
Credit to:
Sudeep duhoon for telling me alot of L3's .xml [ Thanks mate :highfive: ]
Give me a Motivate by Hit that THANKS button
or Help me for Upgrade my Damn Networking by DONATE to me :fingers-crossed:​
Reserved
Place holder........
yayakuya did it again... thanks bro, I spent months trying to do it without any luck! :good:
darknessx10 said:
yayakuya did it again... thanks bro, I spent months trying to do it without any luck! :good:
Click to expand...
Click to collapse
now you got this one....
hmmmm...
i already managed to deodex my SystemUI.apk.but still i can't do it.tried both on odex and deodex but the status bar always disappear after reboot.also changed the permission to rw-r-r.still no luck.
/sigh..
i don't want any other version of firmware.i wish i can do it with the one that i'm using v10n europe open.
viking_kong said:
i already managed to deodex my SystemUI.apk.but still i can't do it.tried both on odex and deodex but the status bar always disappear after reboot.also changed the permission to rw-r-r.still no luck.
/sigh..
i don't want any other version of firmware.i wish i can do it with the one that i'm using v10n europe open.
Click to expand...
Click to collapse
don't worry if you wanted these mod for your fw.
just take one of SystemUI from here: http://forum.xda-developers.com/showthread.php?t=2091818
open SystemUI.apk with winrar > navigate to /res/layout/ > pull lge_statusbar_expanded.xml and statusbar_expanded.xml. then pull once again lge_statusbar_expanded.xml from /layout-ldpi...
now you can replace yours with mine .xmls...
is it clear for you? remember, don't PM me for this anymore... kay...
ok i will try to just get the xml file from the one you made.
Thank you !
Thank you!:laugh:
Hey yaya, sorry for this noob question. Thats gonna be the first time that I do something like this
Is this step neccesary?
For any .apks mods, you need Deodexed .apks Click Me for the Guide
Thanks in advance
Edit: I 've read this twice and I realised that is neccesary xD. Now the problem is that I dont understand the tutorial of installing cygwin, anyway.
Thanks from Peru
Darkar18 said:
Hey yaya, sorry for this noob question. Thats gonna be the first time that I do something like this
Is this step neccesary?
For any .apks mods, you need Deodexed .apks Click Me for the Guide
Thanks in advance
Edit: I 've read this twice and I realised that is neccesary xD. Now the problem is that I dont understand the tutorial of installing cygwin, anyway.
Thanks from Peru
Click to expand...
Click to collapse
for just use apktool, you don't need cygwin installed...
it's for make a ROM....
Thanks bro, I could do it.
Thanks the music widget was orrible..
i can't find the res folder
Why i can't find the res folder, even I use Root Explorer
I can see folders like acct , Cashe , data but not ras
khaled2000 said:
Why i can't find the res folder, even I use Root Explorer
I can see folders like acct , Cashe , data but not ras
Click to expand...
Click to collapse
go to system folder then app folder and u will see apps there. one of them is your systemui.apk
extract your SystemUI.apk and youll get what u want
Re
This is good its so annoying to have that music widget when not using it thanks
this is really usefull! very annoying... music widget .... thanks
Nice guide friend ..... thank you....
Sent from my LG-E400 using xda premium
Good : Điên:
Great tutorial
Thanks
Thank you
Glad this is helpful...

[REQUEST] Remove battery % in System UI

i can't remove battery %, notepad++ not open the file Status_Bar.xml plz help me to remove. Thank you! :cyclops:
Rojikaft said:
i can't remove battery %, notepad++ not open the file Status_Bar.xml plz help me to remove. Thank you! :cyclops:
Click to expand...
Click to collapse
There's no reason it won't be opened by Notepad++, unless you didn't decompile your APK properly.
Anyway, I'm sure others can help you here. I could, but I'm currently on mobile.
Edit: Btw, TickleMyAndroid is quite a good tool for de/recompiling APKs.
Tapatalked from my bricked TX
Rojikaft said:
i can't remove battery %, notepad++ not open the file Status_Bar.xml plz help me to remove. Thank you! :cyclops:
Click to expand...
Click to collapse
tut in here :fingers-crossed::fingers-crossed:
http://forum.xda-developers.com/showthread.php?t=2417364
Thank you, i see this tuto but i can't decomp.. Apktools show error.
Rojikaft said:
i can't remove battery %, notepad++ not open the file Status_Bar.xml plz help me to remove. Thank you! :cyclops:
Click to expand...
Click to collapse
bro i post it in a blog,http://xperialt29i.blogspot.com/2013/08/en-base-que-muy-pocas-paginas-dan.html but is in spanish,found solution there
Tickle My Android
Rojikaft said:
Thank you, i see this tuto but i can't decomp.. Apktools show error.
Click to expand...
Click to collapse
You can also try using @Ticklefish tool. You can find his link here: http://forum.xda-developers.com/showthread.php?t=1633333
Pangkoy08 said:
You can also try using @Ticklefish tool. You can find his link here: http://forum.xda-developers.com/showthread.php?t=1633333
Click to expand...
Click to collapse
kongaz2 said:
tut in here :fingers-crossed::fingers-crossed:
http://forum.xda-developers.com/showthread.php?t=2417364
Click to expand...
Click to collapse
Rycon33 said:
Edit: Btw, TickleMyAndroid is quite a good tool for de/recompiling APKs.
Click to expand...
Click to collapse
Wow...I only posted that tutorial recently!
All the above posts have made my day. I was in a car accident yesterday (I'm fine but the car's not) and I needed some cheering up. So, to say thank you, here's a quick guide to what you need to do:
Use Tickle My Android. (You don't have to but it's a great de/recompiling tool so why shouldn't you? lol)
Using TMA, pull and install framework-res.apk.
Pull and decompile SystemUI.apk.
Edit SystemUI.apk\res\layout\status_bar.xml.
Find a line that looks something like this:
Code:
<TextView android:layout_gravity="left|center" android:id="@id/battery_text" android:paddingLeft="4.0dip" android:layout_width="wrap_content" android:layout_height="wrap_content" android:text="@string/status_bar_settings_settings_button" android:singleLine="true" style="@style/StatusBarNotificationText" />
Change it to:
Code:
<TextView android:visibility="gone" android:layout_gravity="left|center" android:id="@id/battery_text" android:paddingLeft="4.0dip" android:layout_width="wrap_content" android:layout_height="wrap_content" android:text="@string/status_bar_settings_settings_button" android:singleLine="true" style="@style/StatusBarNotificationText" />
Recompile SystemUI.apk.
Prepare SystemUI.apk for flashing.
Create a flashable zip
Flash the zip
Enjoy not having any battery text!
Just make sure you make a backup first!
Thanks again, everyone!
p.s. If you're having problems with compiling or decompiling and you get an error, it's always wise to say what that error is. Apktool produces very long errors...but they do tell you what the problem is!
Ticklefish said:
p.s. If you're having problems with compiling or decompiling and you get an error, it's always wise to say what that error is. Apktool produces very long errors...but they do tell you what the problem is!
Click to expand...
Click to collapse
This
W: Could not decode attr value, using undecoded value instead: ns=android, name=directionality, value=0x00000000
And thank you friends
Rojikaft said:
This
W: Could not decode attr value, using undecoded value instead: ns=android, name=directionality, value=0x00000000
And thank you friends
Click to expand...
Click to collapse
You need to install framework-res.apk and make sure to put framework-res.apk _in folder
When you have Tickle My Android up do this Press 2 - Theming Menu and then press 3 - Install Framework On PC then try.
Warrior1988 said:
You need to install framework-res.apk and make sure to put framework-res.apk _in folder
When you have Tickle My Android up do this Press 2 - Theming Menu and then press 3 - Install Framework On PC then try.
Click to expand...
Click to collapse
yep, i did! and it worked, even attach the result.
I did all proceduresbut when flashing zipped file created by TMA statusbar and navbar disappeare
in CWM when flashing that file everythings seem to be ok
Rojikaft said:
This
W: Could not decode attr value, using undecoded value instead: ns=android, name=directionality, value=0x00000000
And thank you friends
Click to expand...
Click to collapse
Any time!
Mahdian57 said:
I did all proceduresbut when flashing zipped file created by TMA statusbar and navbar disappeare
in CWM when flashing that file everythings seem to be ok
Click to expand...
Click to collapse
In that case, you didn't do all the procedures correctly. To be honest, that's easy enough to do unless you've done this hundreds of times so I don't mean any offence. I made LOTS of mistakes when I was learning how to do this.
In your user_files folder is a logs folder. Reset the tool by using the option in the settings menu, try your mod again and if it doesn't work please share the files in that folder. And please share your original xml as well as your modded xml.
That should give me enough information to work out what wrong.
Ok. I 'll share that log file.
But i've done every steps in post above.
I' ve also compiled and after all procedures decomplied framework that it's not mentioned too.
Sent from my LT30p using Tapatalk 2
By reseting project in TMA this is my work
Sent from my LT30p using Tapatalk 2

[help] nemus launcher mod

Hi !
First I own an Xperia V, ICS 4.0.4 with 9.0.1.D.0.10 Firmware
So , I use Nemus Launcher (It's the smoothest launcher for me) which has a notification function and can display notification bubbles in the top left hand corner of an APP in the homescreen.
My question is : How can I mod the APK of Nemus launcher in order to display the bubbles at the top right hand corner of an APP and IF POSSIBLE make it like iOS , I mean not completly on the application's icon but that is half in half out..
(Please look at the attached pic to see how it is..)
I know how to decompile an APK but to do what I described is beyond me :/
Please try to help me, Thanks !
THE PIC :
its possible and too hard
try to use other launcher's , its better than modding launcher :fingers-crossed:
sgt.reza said:
its possible and too hard
try to use other launcher's , its better than modding launcher :fingers-crossed:
Click to expand...
Click to collapse
But I want to stay on Nemus, since I try it I can change !
But if the dev succeed to put it at left , why can I make the contrary ?
Yozil13 said:
But I want to stay on Nemus, since I try it I can change !
But if the dev succeed to put it at left , why can I make the contrary ?
Click to expand...
Click to collapse
Because the dev has the source files, you don't; you'd have to decompile and hope it's something as simple as modifying one of the layout .xml files, or else do it in smali... which is a lot harder.
Antiga Prime said:
Because the dev has the source files, you don't; you'd have to decompile and hope it's something as simple as modifying one of the layout .xml files, or else do it in smali... which is a lot harder.
Click to expand...
Click to collapse
There is only 1 xml file (I think by the name) that can match to the notification bubbles -> launcher_noti_layout.xml :
<?xml version="1.0" encoding="utf-8"?>
<FrameLayout android:id="@id/launcher_noti_container" android:background="#cc000000" android:visibility="gone" android:layout_width="fill_parent" android:layout_height="35.339996dip"
xmlns:android="http://schemas.android.com/apk/res/android">
<TextView android:textColor="#ffffffff" android:gravity="center" android:layout_gravity="center" android:id="@id/launcher_noti_textview" android:layout_width="wrap_content" android:layout_height="wrap_content" android:text="" android:drawablePadding="10.0dip" />
</FrameLayout>
I tried to edit it and replace "center" by top etc.. but NOTHING changes..
As for .smali files there's some files named BadgeInfo BadgeService etc.. but it is JAVA language and I DO NOT UNDERSTAND ANYTHING
I have attached a .rar file with NEMUS decompiled, if you can check it and solve my problem it would be nice :angel:
Yozil13 said:
There is only 1 xml file (I think by the name) that can match to the notification bubbles -> launcher_noti_layout.xml :
<?xml version="1.0" encoding="utf-8"?>
<FrameLayout android:id="@id/launcher_noti_container" android:background="#cc000000" android:visibility="gone" android:layout_width="fill_parent" android:layout_height="35.339996dip"
xmlns:android="http://schemas.android.com/apk/res/android">
<TextView android:textColor="#ffffffff" android:gravity="center" android:layout_gravity="center" android:id="@id/launcher_noti_textview" android:layout_width="wrap_content" android:layout_height="wrap_content" android:text="" android:drawablePadding="10.0dip" />
</FrameLayout>
I tried to edit it and replace "center" by top etc.. but NOTHING changes..
As for .smali files there's some files named BadgeInfo BadgeService etc.. but it is JAVA language and I DO NOT UNDERSTAND ANYTHING
I have attached a .rar file with NEMUS decompiled, if you can check it and solve my problem it would be nice :angel:
Click to expand...
Click to collapse
If nothing changes, then that is either not the file you're looking for, you don't know what you should be expecting with changing the gravity, or it's done in java. For the record, smali is not java.
Secondly, you did not attach anything, and I don't think I'm interested in figuring out how to do that, I don't use Nemus Launcher, and don't plan on doing so, no offense.
Antiga Prime said:
If nothing changes, then that is either not the file you're looking for, you don't know what you should be expecting with changing the gravity, or it's done in java. For the record, smali is not java.
Secondly, you did not attach anything, and I don't think I'm interested in figuring out how to do that, I don't use Nemus Launcher, and don't plan on doing so, no offense.
Click to expand...
Click to collapse
Ok no problem
I upload it for others , i've still hope lol

{Guide} Add your name on status bar

hello guys..!!
M back with another cool guide...
Do u want to add ur name on statusbar to impress some one....!!
So, Here is the guide to do so.
Requirements:-
#apktool or similar
#SystemUi.apk
#Notepad ++
Click to expand...
Click to collapse
$teps:-
1.) Decompile your SystemUI.apk.
2.) Go to res/layout in decompiled SystemUI.apk
3.) Edit status_bar.xml using Notepad++
4.) Find this code:
Code:
<LinearLayout android:orientation="horizontal" android:id="@id/icons"
5. Add this code below:
Code:
<TextView
android:textColor="#ffffff"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="PUT UR NAME HERE" />
In place of "PUT UR NAME HERE", ofcourse u have to put ur name or whatever u want to see.
6. Compile your apk and push it to system/app.
Click to expand...
Click to collapse
Credits:-
#abhinav
#and ofcourse me..
Click to expand...
Click to collapse

[GUIDE][TW][4.1] Floating SystemUI

Hi guys,
today with the permission of sir @PineappleOwl I'm going to show you how to float the SystemUI on JB 4.1 TW ROMs by he's floating SystemUI guide.... this is a very easy process but I'll be here if you get problems
Requirements :
1. Brain
2. Patience
3. Experience (little bit)
4. apktool or anything like it
This guide is divided into 2 parts
1. How to float the whole expanded panel
2. How to set different floatings for main expanded panel and the close-drag-handle
How to float the whole expanded panel :
1. Decompile your SystemUI.apk
2. Go to res/layout/tw_status_bar_expanded.xml(if you're device is single sim)/tw_status_bar_expanded_dual.xml(if you're device is dual sim)
3. Go to line no. 2 which is:
Code:
<FrameLayout android:id="@id/notification_panel" android:background="@drawable/notification_panel_bg" android:paddingTop="@dimen/notification_panel_padding_top" android:layout_width="fill_parent" android:layout_height="fill_parent" android:layout_marginLeft="@dimen/notification_panel_margin_left"
4. Now delete this from it:
Code:
android:paddingTop="@dimen/notification_panel_padding_top"
5. Now add these at the end of the line:
Code:
android:paddingLeft="0.0dip" android:paddingTop="0.0dip" android:paddingBottom="0.0dip" android:paddingRight="0.0dip"
now you have to set the paddings here according to your needs...... I assume you know what androidadding does
How to set different floating for main expanded panel and close-drag-handle :
1. Decompile your SystemUI
2. Go to res/layout/tw_status_bar_expanded.xml(if you're device is single sim)/tw_status_bar_expanded_dual.xml(if you're device is dual sim)
3. Now for main expanded panel go to line no. 5 which is:
Code:
<FrameLayout android:layout_width="fill_parent" android:layout_height="fill_parent" android:layout_marginBottom="@dimen/tw_close_handle_underlap">
now add these to it:
Code:
android:paddingLeft="0.0dip" android:paddingTop="0.0dip" android:paddingBottom="0.0dip" android:paddingRight="0.0dip"
now for close-drag-handle find this:
Code:
<com.android.systemui.statusbar.phone.CloseDragHandle android:layout_gravity="bottom" android:orientation="vertical" android:id="@id/close" android:layout_width="fill_parent" android:layout_height="@dimen/tw_close_handle_height">
again add these before:
Code:
android:paddingLeft="0.0dip" android:paddingTop="0.0dip" android:paddingBottom="0.0dip" android:paddingRight="0.0dip"
4. Now set the paddings like you want them to be
5. Recompile, sign, push, reboot and enjoy !
Credits :
@PineappleOwl​
NOTE : You need to make your expanded panel transparent...... otherwise the floating ui will look awful !!​
Great and easy guide thanks for @PineappleOwl for the original mod and thanks for you @sdeepb for TW guide
Sent from my GT-I9500 using Tapatalk
MISTAKE
This dont work for me, i cant see the margins D:
MorSerNa said:
This dont work for me, i cant see the margins D:
Click to expand...
Click to collapse
Have you made your panel transparent.... And what device are you using
Help
sdeepb said:
Have you made your panel transparent.... And what device are you using
Click to expand...
Click to collapse
how can i made the panel transaparent?
Huawei G510
MorSerNa said:
how can i made the panel transaparent?
Huawei G510
Click to expand...
Click to collapse
Well this guide is for tw, you can apply it to huawei but the lines will be different so you need to figure that out by yourself.... About panel transparency there's a guide by @ShadeSK.... Try that out
2
sdeepb said:
Well this guide is for tw, you can apply it to huawei but the lines will be different so you need to figure that out by yourself.... About panel transparency there's a guide by @ShadeSK.... Try that out
Click to expand...
Click to collapse
Ohhh is true is for tw D:
Is there any guide for MTK ?
MorSerNa said:
Ohhh is true is for tw D:
Is there any guide for MTK ?
Click to expand...
Click to collapse
Hehe I don't think there's one... Just look at the xmls and try to figure things out
sdeepb said:
Hehe I don't think there's one... Just look at the xmls and try to figure things out
Click to expand...
Click to collapse
Ok thanks jeje
One question more:
Do you know who change the funtion of the buttons?
I need change this :
http://i.gyazo .com/bf15f322fcbd8dcf8350b9ba46577f69.png
MorSerNa said:
Ok thanks jeje
One question more:
Do you know who change the funtion of the buttons?
I need change this :
http://i.gyazo .com/bf15f322fcbd8dcf8350b9ba46577f69.png
Click to expand...
Click to collapse
You mean you want that button to do something else, well it's only png editing....
sdeepb said:
You mean you want that button to do something else, well it's only png editing....
Click to expand...
Click to collapse
Noo
For example, if i click the button, the mobile open Toggles / quicksettings.
I need that when i click the button, the mobile open the Settings.apk
MorSerNa said:
Noo
For example, if i click the button, the mobile open Toggles / quicksettings.
I need that when i click the button, the mobile open the Settings.apk
Click to expand...
Click to collapse
Well I don't know about that... But it should be some smali editing if it's even possible
sdeepb said:
Well I don't know about that... But it should be some smali editing if it's even possible
Click to expand...
Click to collapse
How do I know that smali edit?
Thanks for all.
And one question more jeje
In my case, I open the quicksettings/Toggle scrolling right-left.
Can i change the scrolling to up-down as lollipop ?
MorSerNa said:
How do I know that smali edit?
Thanks for all.
And one question more jeje
In my case, I open the quicksettings/Toggle scrolling right-left.
Can i change the scrolling to up-down as lollipop ?
Click to expand...
Click to collapse
You mean showhide.... Well you should give a try to the show hide guide... Not sure though
sdeepb said:
You mean showhide.... Well you should give a try to the show hide guide... Not sure though
Click to expand...
Click to collapse
I have showhide now, but for me, for show i need scrolling right-left.
Can i change to up-down?
MorSerNa said:
I have showhide now, but for me, for show i need scrolling right-left.
Can i change to up-down?
Click to expand...
Click to collapse
Sorry man I don't know about this as I'm not familiar with mtk xmls....
sdeepb said:
Sorry man I don't know about this as I'm not familiar with mtk xmls....
Click to expand...
Click to collapse
Okey
Thanks for all
MorSerNa said:
Okey
Thanks for all
Click to expand...
Click to collapse
Welcome
sdeepb said:
Welcome
Click to expand...
Click to collapse
Any new guide for do this in MTK?
Thanks.

Categories

Resources