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.
Related
I AM NOT RESPONSIBLE FOR ANY DAMAGE DONE TO YOUR DEVICE BY FLASHING THIS MOD. !THIS MOD IS ONLY FOR MIUI GB ROM!
FOR ALL OF YOU WHO WANT ONLY PATTERN DOTS, HERE IS FLASHABLE ZIP FOR CM7.2, NO NEED TO MOUNT SYSTEM
AS SOON AS CM9 GET STABLE ENOUGH FOR DAILY USE, I'LL TRY TO MAKE IT WORK ON IT
Hi, I made something for You! Now You can have anything in place of Your mobile carrier name on status bar! happy? ;d And also, now You can use pattern lockscreen, because I replaced those big black ugly circles with something much more subtle ;p screenshot's and flashable zip in attachments.
TODO:
I will make this tutorial n00b friendly as soon as possible, so no one will get confused I'm also planning to expand this thread with other modifications like center clock, carrier logo for cm7, and others...
MIUI & CM7 STATUSBAR CARRIER LOGO GUIDE
I assume that You are familiar with ADB and ApkTool
1. pull and decompile SystemUI.apk
2. go to .../res/layout and open status_bar.xml
3. remove this line:
Code:
<com.android.systemui.statusbar.CarrierLabel
4. find start of this line:
Code:
<com.android.systemui.statusbar.IconMerger
5. now You have to put this right above the line mentioned above:
Code:
<com.android.systemui.statusbar.CarrierLabel android:textAppearance="@android:style/TextAppearance.StatusBar.Icon" android:textColor="@android:color/transparent" android:gravity="left|center" android:id="@id/carrier" android:background="@drawable/carrier_logo" android:paddingLeft="6.0px" android:paddingRight="6.0px" android:layout_width="wrap_content" android:layout_height="fill_parent" android:singleLine="true" />
6. You can save and exit now
7. now open .../res/values/ids.xml
8. check if this line is present:
Code:
<item type="id" name="carrier">false</item>
if yes, move it to bottom, right before closing tag. if no, paste it there
9. save and compile SystemUI
10. go to .../build/apk/res/layout and drag status_bar.xml to SystemUI.apk (opened in other window)
11. do the same with ids.xml (that way You won't have to sign apk)
12. put image of Your choice in res/drawable_xdpi (it must be named "carrier_logo.png", put any letter corresponding to Your resolution instead of x, for example ldpi)
13. push SystemUI.apk and reboot, and You've almost done!
14. now You just install Carrier_Name_1.2.apk from here, open it, put space in textfield and press ok, then reboot and that's it!
for CM7 skip step 3, and edit line in point 5 to Your needs (android:layout_width="wrap_content")
*edit* best way to add carrier logo to cm7, is to resize your logo to 20px in height, and put proper number in "layout_width" and "layout_heigth" eg. if your logo is 20px in height and let's say 34px in width, it will be layout_width="34pix" and layout_height="20pix" (depends on your phones resolution, this one is for ldpi)
!note - if You can't compile it back, make sure that all files referred to in xml are present in folders (eg. carrier_logo.png)
to use Your own image as carrier logo:
-open SystemUI.apk from my flash with winzip, or any other similar program of Your choice
-go to /res/drawable-hdpi and replace carrier_logo.png with any image of Your choice ;p
Bugs: image stretches when signal is null (emergency calls only)
*reserved*
For future use
Can you make it for CM7? Between NAIZ!!!
Sent from my GT-S5570 using xda premium
bookmarking....
ensoy said:
Can you make it for CM7? Between NAIZ!!!
Sent from my GT-S5570 using xda premium
Click to expand...
Click to collapse
Yeah, I will try to make it for cm7
Where to find pattern unlock files?
Sent from my GT-S5570 using xda premium
ensoy said:
Where to find pattern unlock files?
Sent from my GT-S5570 using xda premium
Click to expand...
Click to collapse
framework-res.apk/res/drawable-xdpi but I don't remember file names
Hi..
Can you make an ICS Style/MIUI 4 style settings? that would be great if you can Thanks in advance
Hmm, why there is still operator text on my status bar ? I just want carrier logo without carrier label text
Sorry for my bad English
ichambi said:
Hi..
Can you make an ICS Style/MIUI 4 style settings? that would be great if you can Thanks in advance
Hmm, why there is still operator text on my status bar ? I just want carrier logo without carrier label text
Sorry for my bad English
Click to expand...
Click to collapse
Use this app to remove your carrier name.
www.mediafire.com/download.php?0zg8wuc24xu7e3h
nishanty13 said:
Use this app to remove your carrier name.
www.mediafire.com/download.php?0zg8wuc24xu7e3h
Click to expand...
Click to collapse
Don't know why but my carrier label name still on my status bar.. I've changed it to blank ..
ooh it just happen when i scroll down status bar.. Anyone can help me?
ill be monitoring this thread
also OP it would be nice if you could write what files should be edited to make this, i know most people would appreciate it because of different miui patchroms and devices because it doesnt work properly on all devices i guess, i know mine got a bit messed up with both carrier logo and stretched picture under it
good work tho, thumbs up
edit: nvm OP, i decompiled your SystemUI and fixed it for my rom, looks nice now, thanks
Give Up .......
I give up. Been trying since morning to get carrier logo but in the end I got this.
No matter what logo I use I get this logo. I even tried editing my systemUI.apk manually and replacing it. Used the zip the OP attached but still get this logo. I wonder why.:banghead::banghead::banghead:
nishanty13 said:
I give up. Been trying since morning to get carrier logo but in the end I got this.
View attachment 1025490
No matter what logo I use I get this logo. I even tried editing my systemUI.apk manually and replacing it. Used the zip the OP attached but still get this logo. I wonder why.:banghead::banghead::banghead:
Click to expand...
Click to collapse
If its miui change theme to default, some themes have built-in logo. To edit theme, open mtz with winzip, and find systemui, then open it and change it there
I will post full step by step guide today evening
On mine, I can't delete/or change the default Carrier label name.. No matter how I tried to change it with Carriername.apk..
kitrax59 said:
On mine, I can't delete/or change the default Carrier label name.. No matter how I tried to change it with Carriername.apk..
Click to expand...
Click to collapse
Try changing it with eri.xml in /system/data I hope it helps
i had to edit xml to make it work and look good, the measures were a little off but managed to fix them for my phone
attaching image with default theme
yackovsky said:
Try changing it with eri.xml in /system/data I hope it helps
Click to expand...
Click to collapse
Can't find that xml buddy..
yackovsky said:
If its miui change theme to default, some themes have built-in logo. To edit theme, open mtz with winzip, and find systemui, then open it and change it there
Click to expand...
Click to collapse
Lol, I forgot.
Title says it all
Reply
Hello. If you want your statusbar transparent you have to edit the file SystemUI and edit the background of the statusbar.
Speedyspro said:
Hello. If you want your statusbar transparent you have to edit the file SystemUI and edit the background of the statusbar.
Click to expand...
Click to collapse
It doesnt work bro
I have tried all
I have edited pngs, xmls, smalis
It doesnt work
I dedicated my 2 months on it
Still dont work
We need someone who knows a lotttttt
M8, it is easy like the quantum theory
1. Decompile systemUI.apk
2. go to its /layout folder
3. edit status_bar.xml file:
- find line : <com.android.systemui.statusbar.StatusBarView ...... containing android:background="#FF000000"
- change value of background to "#00000000" and now you have got full transparency of statusbar ( just like mine )
easy, isn't it ?
Father Pio said:
M8, it is easy like the quantum theory
1. Decompile systemUI.apk
2. go to its /layout folder
3. edit status_bar.xml file:
- find line : <com.android.systemui.statusbar.StatusBarView ...... containing android:background="#FF000000"
- change value of background to "#00000000" and now you have got full transparency of statusbar ( just like mine )
easy, isn't it ?
Click to expand...
Click to collapse
Is this a pic of your Ace I
Because when I tried it months ago
I lost my status bar
Which decompiling tool you use
Can you give the link
iamareebjamal said:
Is this a pic of your Ace I
Because when I tried it months ago
I lost my status bar
Which decompiling tool you use
Can you give the link
Click to expand...
Click to collapse
Yes, it is. I did this screen shot especially for you to show you result of changes.
To tell the truth I don't remember from which place I downloaded my apktool, but use google and I'm sure that you will find what you looking for
Father Pio said:
Yes, it is. I did this screen shot especially for you to show you result of changes.
To tell the truth I don't remember from which place I downloaded my apktool, but use google and I'm sure that you will find what you looking for
Click to expand...
Click to collapse
The apktool I used first could not compile SystemUI.apk
Then I changed it
Then I changed the hex code to semi transparent
And when I replaced the SystemUI.apk
My status bar was gone
I think transparent might work
Can you please upload your apktool
I would be really grateful
As U wish, here U are. Hope will be helpful
Okay?
Father Pio said:
M8, it is easy like the quantum theory
1. Decompile systemUI.apk
2. go to its /layout folder
3. edit status_bar.xml file:
- find line : <com.android.systemui.statusbar.StatusBarView ...... containing android:background="#FF000000"
- change value of background to "#00000000" and now you have got full transparency of statusbar ( just like mine )
easy, isn't it ?
Click to expand...
Click to collapse
I want 35% transperacy
For 35% transparency
use this: #59000000
I've done as you said and but my status bar gone
I think it is not that easy but I don't know I'm just a noob
Father Pio said:
As U wish, here U are. Hope will be helpful
Click to expand...
Click to collapse
Your tool wont allow to open the file :/
Guide How to remove Carrier Label from Status Bar and Notification Panel
Edits required to XML in /system/priv-app/SystemUI.apk
Locate your SystemUI.apk
adb pull /system/priv-app/SystemUI.apk
Extract from Stock unmodded S5 ROM
Decompile the apk
Using either Virtuous Ten Studio or Apk-Multitool
decompile the apk.
In the decompiled folder browse to /res/layout
Open res/layout/status_bar.xml
Open res/values/dimens.xml
Step 1:
Open res/layout/status_bar.xml with notepad++ or compatible text editor (Not notepad or wordpad) and make the change below
1. Search for "carrier"
2. Change the default value to match the Blue highlighted value
Code:
<TextView [COLOR="blue"]android:textSize="0.0dip"[/COLOR] android:textColor="#ffffffff" android:gravity="center_vertical" android:id="@id/carrierLabel" android:visibility="gone" android:layout_width="wrap_content" android:layout_height="fill_parent" android:singleLine="true" />
3. Save and close the file.
Step 2:
Open res/values/dimens.xml with notepad++ or compatible text editor.
1. Search for "carrier_label_height"
2. Change the default value to match the Blue highlighted value
Code:
<dimen name="carrier_label_height">[COLOR="Blue"]0.0dip[/COLOR]</dimen>
3. Save and close the file.
Recompile the APK DO NOT RESIGN THE APK
Reboot to SS recovery and adb push to /system/priv-app/SystemUI.apk
Delete Cache and Dalvik-Cache and reboot.
NOTICE
This MOD has been around for years and is constantly being modded or adjusted for each OS version,
each device and each devs own needs. DEVS are free to use this mod no need to ask for permissions.
All I ask is recognition as to where you got it from.
Click to expand...
Click to collapse
See post #2 for an alternate method
Alternate Method [smali edit]
Alternate method for removing carrier branding using smali edits
Pull /system/priv-app/SystemUI.apk - either from device or from ROM zip file.
Decompile using available tools - I recomend Virtuous Ten Studio
Locate /smali/con/android/systemui/statusbar/phone/PhoneStatusBar.smali
Search for this method .method setCarrierLabelVisibility(ZI)V
Replace the entire contents of the method with the one below:
Code:
.method setCarrierLabelVisibility(ZI)V
.locals 0
return-void
.end method
Re-compile the apk and adb push to your device or add back into ROM zip and flash.
NOTE:
This method has the advantage of not interfering with the statusbar layout or ticker display as previous mods would occasionally cause
the statusbar icons to "jump" as tho some ticker display or carrier logo was attempting to display.
The other advantage is that this method should work for android lollipop as well (untested)
cstayton said:
reserved
Click to expand...
Click to collapse
How can i get this on stock nd3 odex??
Sent from my SAMSUNG-SM-G900A using XDA Premium 4 mobile app
carlospr21 said:
How can i get this on stock nd3 odex??
Sent from my SAMSUNG-SM-G900A using XDA Premium 4 mobile app
Click to expand...
Click to collapse
only for de-odexed sorry
nice...I completely didnt look for this when I did the att rom...good job...will come in handy for the next build...thanks sir for the guide...??
TheAxman said:
nice...I completely didnt look for this when I did the att rom...good job...will come in handy for the next build...thanks sir for the guide...??
Click to expand...
Click to collapse
as a note @TheAxman the statusbar is still a little flaky it comes and goes of its own accord but the notification panel one is completely gone,
P.S.
Think I'm gonna have to check out your complete vissix rom when you get it done :good::good:
P.P.S. I just modded the OP, think i may have fixed the statusbar label as well
cstayton said:
as a note @TheAxman the statusbar is still a little flaky it comes and goes of its own accord but the notification panel one is completely gone,
P.S.
Think I'm gonna have to check out your complete vissix rom when you get it done :good::good:
P.P.S. I just modded the OP, think i may have fixed the statusbar label as well
Click to expand...
Click to collapse
We are doing this mod now, I will let you know the result....:good::good:
EDIT: Ok, I tried everything, checked each line character by character, logo still visible, what am I missing? Something else must be located somewhere else....
TheAxman said:
We are doing this mod now, I will let you know the result....:good::good:
EDIT: Ok, I tried everything, checked each line character by character, logo still visible, what am I missing? Something else must be located somewhere else....
Click to expand...
Click to collapse
logo still visible on the statusbar expaneded it should look like the screenshot attached (with the exception that i have a custom background)
if you want the logo off of the lockscreen thats a different mod
and the normal status bar one is still flaky
cstayton said:
logo still visible on the statusbar expaneded it should look like the screenshot attached (with the exception that i have a custom background)
if you want the logo off of the lockscreen thats a different mod
and the normal status bar one is still flaky
Click to expand...
Click to collapse
I figured that out after, sorry, you are correct, it does work for the pulldown, I did not read, my apologies...:good:
TheAxman said:
We are doing this mod now, I will let you know the result....:good::good:
EDIT: Ok, I tried everything, checked each line character by character, logo still visible, what am I missing? Something else must be located somewhere else....
Click to expand...
Click to collapse
@TheAxman i just PM'd you an laternative way to handle it let me know if that helps
TheAxman said:
I figured that out after, sorry, you are correct, it does work for the pulldown, I did not read, my apologies...:good:
Click to expand...
Click to collapse
lol i think our replies crossed paths whew glad it worked, i think the status bar label is a smali edit i just havent found it yet.
I'll be posting a revised mod this evening that will correctly remove all instances of the carrier labeling.
Sent from my SAMSUNG-SM-G900A using XDA Free mobile app
[OP] has been revised, this will correctly remove the carrier label from the notification pull down as well as from the status bar
cstayton said:
[OP] has been revised, this will correctly remove the carrier label from the notification pull down as well as from the status bar
Click to expand...
Click to collapse
Yep, tested and working, great job @cstayton, not one issue. Thanks for your work on this one......:good::good::good:
Been looking for this fix for the Note3 when it was released for the att device, best guide for the carrier removal is right here hands down, easy and quick! And I have tried most all others...
Is there a way to revert this to restore back the carrier label
vat829 said:
Is there a way to revert this to restore back the carrier label
Click to expand...
Click to collapse
Do you still have the systemui.apk before it was modified? If yes, two ways.
Safer way: make a flashable zip that replaces your current one with it.
Quicker way: copy/paste the original apk in system, fix permissions, reboot. This way will cause systemui.apk to fc until you reboot.
How to make dialog look like Android L
Hello good day XDA
This mod is a ported from Android L, but I guess this mod will work to all device /OS
Ok let's start it
REQUIREMENT:
- BRAIN
- Patient
- experience
- Know how to decompile/recompiling Apk
- notepad++
- APKTOOL
STEP 1
-Decompile framework-res.apk
-Download attached files and merge it into framework-res output folder
STEP 2
-goto framework-res/res/values/dimens.xml
-and add this line before <resources>
<dimen name="alert_dialog_padding_material">24.0dip</dimen>
<dimen name="alert_dialog_padding_top_material">18.0dip</dimen>
STEP 3
-Done and compile your framework-res.apk
-Sign it
-Push it
-Disable Signature Check
reserved
A dialog is a small window that prompts the user to make a decision or enter additional information. A dialog does not fill the screen and is normally used for modal events that require users to take an action before they can proceed.
For information about how to design your dialogs, including recommendations for language, read the Dialogs design guide.
sandeep.sethi said:
How to make dialog look like Android L
Hello good day XDA
This mod is a ported from Android L, but I guess this mod will work to all device /OS
Ok let's start it
REQUIREMENT:
- BRAIN
- Patient
- experience
- Know how to decompile/recompiling Apk
- notepad++
- APKTOOL
STEP 1
-Decompile framework-res.apk
-Download attached files and merge it into framework-res output folder
STEP 2
-goto framework-res/res/values/dimens.xml
-and add this line before <resources>
<dimen name="alert_dialog_padding_material">24.0dip</dimen>
<dimen name="alert_dialog_padding_top_material">18.0dip</dimen>
STEP 3
-Done and compile your framework-res.apk
-Sign it
-Push it
-Disable Signature Check
Click to expand...
Click to collapse
Sir i tried this guide.. But ended up with white text, can u help me to fix it.. thanks for this guide
itsraj011 said:
Sir i tried this guide.. But ended up with white text, can u help me to fix it.. thanks for this guide
Click to expand...
Click to collapse
change the color values of text bro to black
Hit thanks if i helpes
itsraj011 said:
sir i tried this guide.. But ended up with white text, can u help me to fix it.. thanks for this guide :d
Click to expand...
Click to collapse
plz hit thanks if i helped you
sandeep.sethi said:
plz hit thanks if i helped you
Click to expand...
Click to collapse
Already done
sandeep.sethi said:
change the color values of text bro to black
Click to expand...
Click to collapse
If i'll give u my colors.xml and styles.xml, can u do it for me?? I tried to do but unable to do it...
itsraj011 said:
If i'll give u my colors.xml and styles.xml, can u do it for me?? I tried to do but unable to do it...
Click to expand...
Click to collapse
bro my monitor is broken but i will fix it when i get my monitor back upload ur framework-res and send link
sandeep.sethi said:
bro my monitor is broken but i will fix it when i get my monitor back upload ur framework-res and send link
Click to expand...
Click to collapse
Already gave
yes bro
itsraj011 said:
already gave
Click to expand...
Click to collapse
:d:d:d:d:d:d:d:d:d:d:d:d:d:d:d:d
sandeep.sethi said:
:d:d:d:d:d:d:d:d:d:d:d:d:d:d:d:d
Click to expand...
Click to collapse
In MysticOS group
Thanks for your work.
But like the 4th floor,
which style can change the text color of power dialog.
Please tell me,thankyou.
Thanks.
Android小楼阁-QQ群 439637151
来自搭载Android 2.3 GingerBread的华为Y220-T10
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