[[GUIDE]] Header: Lollipop Style! - Miscellaneous Android Development

For L Style Header[Advanced] go HERE
For Panel Transparency go HERE
For adding L Style Date/Clock View go HERE
To add Battery/WiFi/Bluetooth/Alarm icons in Header go HERE
Yo guys! Today I am here with a simple tutorial to create a look alike L Style Header in notification Panel!
I was just playing with the layouts and made this
STEP 1:
1.Decompile SystemUI.apk.
go to res/layout/ and open status_bar_expanded_header.xml [MTK]/ tw_status_bar_expanded_header.xml[Samsung]
In second line find:
Code:
android:background="blablabla"
Make it look like this:
Code:
android:background="#ff243137"
Now in same XML find the rest
Code:
android:background="blablabla"
And replace all with this: [Keep android:background="#ff243137" as it is ]
Code:
android:background="#00000000"
Recompile the SystemUI. Don't sign it yet.
STEP 2
Now,
2.Again go to res/layout/ and open status_bar_expanded_header.xml [MTK]/ tw_status_bar_expanded_header.xml[Samsung]
Download the attached zip here, Extract the zip and paste l_header.9.png to res/drawable-hdpi or drawable-mdpi or drawable-xxhdpi [What your device has by default]
Find this in second line of the XML:
Code:
android:background="#ff243137"
Make it look like this:
Code:
android:background="@drawable/l_header"
Save the XML.
Now navigate to res/values/ and open dimens.xml and search for
Code:
<dimen name="notification_panel_header_height">48.0dip</dimen>
Change it to
Code:
<dimen name="notification_panel_header_height">96.0dip</dimen>
Save the XML.
Recompile the SystemUI, sign, push to system/app with permissions 644
Credits: @Aniruddha_Pathak [Me]
Material Files Group.
And you
HIT THANKS IF YOU LIKE MY WORKS

Thanks brother.. I'm gonna try it

itsraj011 said:
Thanks brother.. I'm gonna try it
Click to expand...
Click to collapse
Okay

Here's mine..... Without the guide ....... But easy and nice guide ?

sdeepb said:
Here's mine..... Without the guide ....... But easy and nice guide ?
Click to expand...
Click to collapse
We both share a same mind L O L Playing with layouts creates good things, isn't it

Aniruddha_Pathak said:
We both share a same mind L O L Playing with layouts creates good things, isn't it
Click to expand...
Click to collapse
Ya but I don't own anything apart from the ss

sdeepb said:
Ya but I don't own anything apart from the ss
Click to expand...
Click to collapse
Hahahaha Hit the thanks button if you find the guide useful

Aniruddha_Pathak said:
Hahahaha Hit the thanks button if you find the guide useful
Click to expand...
Click to collapse
Already did

sdeepb said:
Already did
Click to expand...
Click to collapse
Thanks for the thanks

Awesome Guide mr.awesome.

arun.negi004 said:
Awesome Guide mr.awesome.
Click to expand...
Click to collapse
Thank you buddy :angel:

Very good
works fine

Have anymore awesome guides like this?

Hit the thanks button if you like it
mjraogr said:
Very good
works fine
Click to expand...
Click to collapse
Thanks bro

Umm...I am posting as soon as I successfully experiment bro
kirito9 said:
Have anymore awesome guides like this?
Click to expand...
Click to collapse
If you are on L panel, you may try THIS
I shall post after trying and experimenting some things new bro

Aniruddha_Pathak said:
If you are on L panel, you may try THIS
I shall post after trying and experimenting some things new bro
Click to expand...
Click to collapse
Oh cool cool, where can i find the L panel guide?

@kirito9 , HERE

Aniruddha_Pathak said:
@kirito9 , HERE
Click to expand...
Click to collapse
Kudos

Nice
Aniruddha_Pathak said:
Thanks bro
Click to expand...
Click to collapse
Perfect
I had somethings to do, like hide TW toggles and rearrange layouts, it needs and give new attributes to frame layouts
Its results
The only things that a didnt have succes was the show/hide , ( im used the ten ten layout divided on 4 parts ) but the tw layout dont accept.,
so it running with stock scrolldown

mjraogr said:
Perfect
I had somethings to do, like hide TW toggles and rearrange layouts, it needs and give new attributes to frame layouts
Its results
The only things that a didnt have succes was the show/hide , ( im used the ten ten layout divided on 4 parts ) but the tw layout dont accept.,
so it running with stock scrolldown
Click to expand...
Click to collapse
Reply to me on my other thread sir

Related

[9001][how to...] Some nice work from other parts of world

I`ve been surfin` through web using different words to search more about GT-I9001 and look what I`ve found at some chineese developers:
http://bbs.gfan.com/android-3401240-1-1.html
use google chrome with translation and you`ll be able to uderstand more than lines and points....
that status bar with 14 buttons on it looks awesome....to bad I can`t download it and try it tho
That's pretty simple.I will make one for ICS theme if u wnat
sakindia123 said:
That's pretty simple.I will make one for ICS theme if u wnat
Click to expand...
Click to collapse
well i know I won`t be only one who would love a status bar with more buttons on it for on/off network data for example and stuff like that ... and ofc with circle icon for battery lol or at least a battery in horizontal mode so the letter be a little bigger and easy to see, etc.
and saki 1`st take care of ur RC lol, btw you are doing fkin GREAT mate with that...keep up the good work!
sakindia123 said:
That's pretty simple.I will make one for ICS theme if u wnat
Click to expand...
Click to collapse
its simple without the flashlight function
because in order to get the flashlight button working you have to sign all apps in ur app folder (inclusive system apps) otherwise ur status bar will fc
Oh, cool! I want it too!
chasemyass said:
well i know I won`t be only one who would love a status bar with more buttons on it for on/off network data for example and stuff like that ... and ofc with circle icon for battery lol or at least a battery in horizontal mode so the letter be a little bigger and easy to see, etc.
Click to expand...
Click to collapse
All that can be done with the Switch GOWidget.
I am using it myself.
It only fits 8 buttons though
well but thats boring
in my opinion its more useful to have these shortcuts in the statusbar!
Blumdum said:
well but thats boring
in my opinion its more useful to have these shortcuts in the statusbar!
Click to expand...
Click to collapse
I'm not disagreeing with you. It would be more useful indeed.
I would try it myself if sakindia123 is kind enough to do it for us.
Was just presenting an option for people until that is done, and because tastes differ
xci said:
All that can be done with the Switch GOWidget.
I am using it myself.
It only fits 8 buttons though
Click to expand...
Click to collapse
Each widget started means more ram used.More ram used means less battery life
sent from my GT-I9001 powered by CraniumROM RC7-1.92 OC/UV using tapatalk
I was trying to search that all day long, and I didn't know which keywords to use, it was giving me some random results. So it would be lovely if somebody did it! All that I need is the data switch, cos I really have no idea why it's not there by default, that's my most used option, I think.
And yes, I know it's in the lock menu, but it's annoying going there all the time. and since I don't use widgets in Espier Launcher, I'm definitely waiting for this!
Its very easy to port 14 toggle notification bar
kkrraazzyy said:
Its very easy to port 14 toggle notification bar
Click to expand...
Click to collapse
Easy for u guys who know somethin' abt programming and stuff lol.Easy for me is to make volume calculation, land surveying, quantity excavations in open pits, etc. )
sent from my GT-I9001 powered by CraniumROM RC7-1.92 OC/UV using tapatalk
So..... if it's so easy... who's gonna do it?
here is the guide to port it to any rom!
http://forum.xda-developers.com/showthread.php?t=1289896
have fun ^-^
nikagl said:
So..... if it's so easy... who's gonna do it?
Click to expand...
Click to collapse
Ok!! here we go downloaded the butoons status bar from the site, after learning little chinese,
First unzip all files and copy in your sdcard.
Then copy lidroid-res.apk to /system/framework/
after copy QuickPanelSettings.apk to /system/app/
again copy SystemUI.apk to /system/app/
and Last copy framework-res.apk to /system/framework/
Thats it phone will restart and You have the status buttons.
mbba67 said:
Ok!! here we go downloaded the butoons status bar from the site, after learning little chinese,
First unzip all files and copy in your sdcard.
Then copy lidroid-res.apk to /system/framework/
after copy QuickPanelSettings.apk to /system/app/
again copy SystemUI.apk to /system/app/
and Last copy framework-res.apk to /system/framework/
Thats it phone will restart and You have the status buttons.
Click to expand...
Click to collapse
Thanks for this! For which ROM did you build this?
Bootloop in my case (Cranium RC8 ROM: XXKPS with ICS theme).
By the way, the following files didn't exist in my case:
remote object '/system/framework/lidroid-res.apk' does not exist
remote object '/system/app/QuickPanelSettings.apk' does not exist
Regards,
Nika.
nikagl said:
Thanks for this! For which ROM did you build this?
Bootloop in my case (Cranium RC8 ROM: XXKPS with ICS theme).
By the way, the following files didn't exist in my case:
remote object '/system/framework/lidroid-res.apk' does not exist
remote object '/system/app/QuickPanelSettings.apk' does not exist
Regards,
Nika.
Click to expand...
Click to collapse
I did it and it worked in my phone ...xkp6 ...deodexed....But also works in all other relase xkp3..xkp7..xkps ect..... like they say!!!!
For the 2 files there seem to be the new files that make status bar work....
P.s. i didnt build it i just downloaded it and did same as i wrote step by step, last copy should be firmework-res.apk... You may recive many Fc but dont worry just keep copying file by file same as this:
copy lidroid-res.apk to /system/framework/
after copy QuickPanelSettings.apk to /system/app/
again copy SystemUI.apk to /system/app/
and Last copy framework-res.apk to /system/framework/
there's a nice "little" guide for this in SII themes and apps section.
Try it urself once,its pretty easy(but frustrating and booring)
sakindia123 said:
there's a nice "little" guide for this in SII themes and apps section.
Try it urself once,its pretty easy(but frustrating and booring)
Click to expand...
Click to collapse
tryied alrdy it seems I can`t use the apktool lol...So I`m stuck @the beginning...
I have tool, I have what too work but can`t make tool work )
chasemyass said:
tryied alrdy it seems I can`t use the apktool lol...So I`m stuck @the beginning...
I have tool, I have what too work but can`t make tool work )
Click to expand...
Click to collapse
.....nvmd ^^

[HOW-TO][GUIDE][CM-9/ICS] Changing Background of Recent Apps [21/4/13]

Change Background Of Recent Apps.​
NOTE:
-This Works only with Sense4.0a,ICS,CM-9 [Trust me I've tested it myself]
-I'll take the Black Color Code to Change the Background.
-Read before posting Queries.
-Changing Background-- Increases Smoothness
Click to expand...
Click to collapse
TUTORIAL :
Click to expand...
Click to collapse
Pull SystemUI.apk from your Phone.
Decompile the APK Using Any APK Decompiler.
Navigate to res/values/drawables.xml
Search "<item type="drawable" name="status_bar_recents_background_solid">#b3000000</item>" inside "drawables.xml"
Change The Color Code That is "#b3000000" To "#ff000000" to make it black.
You can Change to any color you want, Just change the color code.
Save the xml.
Recompile APK
Sign the APK
Push it in /system/app
You're free to Enjoy .
Open this Thread and Hit Thanks. Least You can do.
Thank's. Try it and let me know.
Click to expand...
Click to collapse
Mine.
Request
Can you add some screen ? and can we change it blue/purple or ....
good idea....:good:
XenoMorphv2 said:
Can you add some screen ? and can we change it blue/purple or ....
good idea....:good:
Click to expand...
Click to collapse
Yup you can If you're using MiniCM9 I can upload for you with grey background. Post the screenshot here too. Actually I'm on Sense 4 currently and lazy to change my ROM . If you want just post here.
Sent via HTC Sense.
Why can't you just post systemui.apk here only , modded one with black recent apps panel ?
Regards
via HTC Sense
Blue3125 said:
Why can't you just post systemui.apk here only , modded one with black recent apps panel ?
Regards
via HTC Sense
Click to expand...
Click to collapse
Okay I'll but later. You can follow the guide too

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

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

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

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

[[GUIDE:MTK]] Show/Hide L Panel

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
To add Battery/WiFi/Bluetooth/Alarm icons in Header go HERE
Yo guys! I am here with a simple tutorial for Show/Hide L panel in MTK devices[only] {Or the devices which have flip_settings.xml in res/layout of their UI.}
So, if you have followed this guide by @EboyBasit already,
and also followed this add on by me already[not compulsory], then you may proceed to the next step, that will make you show hide your L Panel with just one click.
Let's start!
1.Decompile your SystemUI.
2.Navigate to res/layout and open gemini_status_bar_expanded.xml, and cut your L Toggle code from the xml.
For example, in my case, I shall cut this code from my XML.
Code:
<include layout="@layout/ani_ltoggle" />
3.Close the XML.
4.Now navigate to res/layout and open flip_settings.xml
Look for this line:
Code:
<com.android.systemui.statusbar.phone.QuickSettingsContainerView android:id="@id/quick_settings_container" android:layout_width="fill_parent" android:layout_height="wrap_content" android:animateLayoutChanges="true" android:columnCount="@integer/quick_settings_num_columns" />
Now, replace the WHOLE line with your L Toggle code.
For example, in my case, my flip_settings.xml would now look like this
Code:
<?xml version="1.0" encoding="utf-8"?>
<com.android.systemui.statusbar.phone.QuickSettingsScrollView android:layout_width="fill_parent" android:layout_height="wrap_content" android:layout_marginBottom="@dimen/close_handle_underlap" android:overScrollMode="ifContentScrolls"
xmlns:android="http://schemas.android.com/apk/res/android">
<include layout="@layout/ani_ltoggle" />
</com.android.systemui.statusbar.phone.QuickSettingsScrollView>
Now close that XML, and Recompile the UI.
Sign. Push to system/app with permissions 644.
WHAT HAVE WE DONE EXACTLY?​The thing is, we have replaced the stock flipped settings with our L Panel! That means, when you click for second screen, the L Panel will appear!
Credits:
Gabriel Abadilla [For helping me]
Material Group. [Without which I would still be a noob :fingers-crossed: ]
@Aniruddha_Pathak [Me]
And you!
Aniruddha_Pathak said:
Yo guys! I am here with a simple tutorial for Show/Hide L panel in MTK devices[only] {Or the devices which have flip_settings.xml in res/layout of their UI.}
So, if you have followed this guide by @eboybasit already,
and also followed this add on by me already[not compulsory], then you may proceed to the next step, that will make you show hide your L Panel with just one click.
Let's start!
1.Decompile your SystemUI.
2.Navigate to res/layout and open gemini_status_bar_expanded.xml, and cut your L Toggle code from the xml.
For example, in my case, I shall cut this code from my XML.
Credits:
Gabriel Abadilla [For helping me]
Material Group. [Without which I would still be a noob :fingers-crossed: ]
@Aniruddha_Pathak [Me]
And you!
Click to expand...
Click to collapse
@Aniruddha_Pathak
Are u know it works on TW ROM (samsung)? I tried use the ten ten xml panel but get FC, so using the scroll down stock from this moment
mjraogr said:
@Aniruddha_Pathak
Are u know it works on TW ROM (samsung)? I tried use the ten ten xml panel but get FC, so using the scroll down stock from this moment
Click to expand...
Click to collapse
Upload your expanded XML sir....let me try it for you
My Layout
Aniruddha_Pathak said:
Upload your expanded XML sir....let me try it for you
Click to expand...
Click to collapse
Morning Aniruddha
It's my layout expanded on attachment, the Lpanel layout it's included on Scrollview between brightness bar and ongoing/notification
This UI will be part for my ROM update and this help will be appointed
thanks for ur help
MJ
View attachment MyLayout.zip
@mjraogr here sir, your layout with smalis
As I don't have a touchwiz device, hence won't will be able to give my best, and if this doesn't work, you can anytime contact @bittooshubham, he will surely help you
Aniruddha_Pathak said:
@mjraogr here sir, your layout with smalis
As I don't have a touchwiz device, hence won't will be able to give my best, and if this doesn't work, you can anytime contact @bittooshubham, he will surely help you
Click to expand...
Click to collapse
Oh bro, thank for your help
But exactly this smali i had been put and compiled in my systemUi,
These is ten-ten smali layout's that i had troubles cause it divided in 4 parts and get Force closed
The ten-ten layouts don't have framelayouts just work in linear, it's must be the fixes to do, i didn't find yet and had been put inside scroll view
I will try put and compile this layout in attachment that you changed and insert tenten ok
thanks one more time
MJ
---------- Post added at 01:50 PM ---------- Previous post was at 01:45 PM ----------
Aniruddha_Pathak said:
@mjraogr here sir, your layout with smalis
As I don't have a touchwiz device, hence won't will be able to give my best, and if this doesn't work, you can anytime contact @bittooshubham, he will surely help you
Click to expand...
Click to collapse
Completing...
So if we will have error, keep with the TW layout while don't find solution , just the show hide will be different
I will contact @bittooshubham
MJ
mjraogr said:
Oh bro, thank for your help
But exactly this smali i had been put and compiled in my systemUi,
These is ten-ten smali layout's that i had troubles cause it divided in 4 parts and get Force closed
The ten-ten layouts don't have framelayouts just work in linear, it's must be the fixes to do, i didn't find yet and had been put inside scroll view
I will try put and compile this layout in attachment that you changed and insert tenten ok
thanks one more time
MJ
---------- Post added at 01:50 PM ---------- Previous post was at 01:45 PM ----------
Completing...
So if we will have error, keep with the TW layout while don't find solution , just the show hide will be different
I will contact @bittooshubham
MJ
Click to expand...
Click to collapse
Notify me when you compile it
Aniruddha_Pathak said:
Notify me when you compile it
Click to expand...
Click to collapse
Hi Bro
I compiled
The button action works but the panel is under the notification cart and upper at header. ( Like the stacked cards)
Maybe this happened because the FrameLayouts positions and the headers must be separated by FrameLayouts
I tried others postions and insert linears layouts , animes by smalis 1 and 3 but no success. Do you have another sugestion?
hide
View attachment 3347341
expanded
View attachment 3347342
mjraogr said:
Hi Bro
I compiled
The button action works but the panel is under the notification cart and upper at header. ( Like the stacked cards)
Maybe this happened because the FrameLayouts positions and the headers must be separated by FrameLayouts
I tried others postions and insert linears layouts , animes by smalis 1 and 3 but no success. Do you have another sugestion?
hide
View attachment 3347341
expanded
View attachment 3347342
Click to expand...
Click to collapse
Complement
Now It works!!!
I burned the brain but it worked ,
I changed the position inside the scroller and isolated the first FrameLayouts, and insert the margintop parameters
mjraogr said:
Complement
Now It works!!!
I burned the brain but it worked ,
I changed the position inside the scroller and isolated the first FrameLayouts, and insert the margintop parameters
Click to expand...
Click to collapse
Congo
Guide for mtk is easier than touchwiz
bittooshubham said:
Guide for mtk is easier than touchwiz
Click to expand...
Click to collapse
Oh yes But I and you both are used to touchwiz now
Hahaa..yup

Categories

Resources