Welcome to XDA

Search to go directly to your device's forum

Register an account

Unlock full posting privileges

Ask a question

No registration required
Post Reply

[Q] how to change notification panel style...

OP Md.Shafikul.islam

22nd July 2014, 07:12 AM   |  #1  
Md.Shafikul.islam's Avatar
OP Member
Flag Narayanganj,Dhaka
Thanks Meter: 28
 
58 posts
Join Date:Joined: Jul 2014
Donate to Me
More
Hi Everyone...
Recently i had took a simple project...trying to mod a rom and give it a new look...i did all things what i know... like Systemui,Farmwork_res,Settings, etc,etc...but now i want to change the notification panel of my rom...and want to add lawa v5 notification panel style on my rom...But i didn't find any tutorial about this...I asked one bro and he said that to change notification panel you have to edit System ui/res/values/style.xml...But he didn't tell me that what i change in this xml...Can anybody help me in changing notification panel style?!!or give me a proper tutorial please....
Last edited by Md.Shafikul.islam; 22nd July 2014 at 08:28 AM.
22nd July 2014, 10:21 AM   |  #2  
SmiLeToLife's Avatar
Member
Flag Eskişehir
Thanks Meter: 24
 
85 posts
Join Date:Joined: Jul 2012
Donate to Me
More
Quote:
Originally Posted by Md.Shafikul.islam

Nobody helps me... :'(

hey, i dont know how to do that. but i can recommend that ( actually i am doing in that way)

1. find any systemui.apk that has the style what you want.
2. decompile it and go to res/values/style.xml
3. match your style.xml and your downloanded style.xml
4. try to simulate your xml to that xml .

hope this helps.
The Following User Says Thank You to SmiLeToLife For This Useful Post: [ View ]
22nd July 2014, 11:27 AM   |  #3  
Md.Shafikul.islam's Avatar
OP Member
Flag Narayanganj,Dhaka
Thanks Meter: 28
 
58 posts
Join Date:Joined: Jul 2014
Donate to Me
More
thanks bro...
Quote:
Originally Posted by SmiLeToLife

hey, i dont know how to do that. but i can recommend that ( actually i am doing in that way)

1. find any systemui.apk that has the style what you want.
2. decompile it and go to res/values/style.xml
3. match your style.xml and your downloanded style.xml
4. try to simulate your xml to that xml .

hope this helps.

i will try it...but can i change my styles with another style?mean replaced it?!!or add all things from another style to my style?!!by notepad?!!
22nd July 2014, 11:35 AM   |  #4  
SmiLeToLife's Avatar
Member
Flag Eskişehir
Thanks Meter: 24
 
85 posts
Join Date:Joined: Jul 2012
Donate to Me
More
Quote:
Originally Posted by Md.Shafikul.islam

i will try it...but can i change my styles with another style?mean replaced it?!!or add all things from another style to my style?!!by notepad?!!

don't try to change whole lines !!!

for example :

in your style.xml -- > <style name="BackgroundOnlyTheme" parent= @ANDROID:style/Theme.Holo.

in dowloanded style.xml --> <style name="BackgroundOnlyTheme" parent= @ANDROID:style/Theme.Holo.Light">

so you have to edit your line and add '' Light '' end of it. it will look like @ANDROID:style/Theme.Holo.Light

The important thing is you have to figure out what lines are related to your notification panel!!!

I am doing the same thing right now. I have couple cm11 themes and i am changing my sytles, colors, dimens according to theme's styles, colors.xml etc ..

I am using notepad++.

Just open the 2 xmls that you wanan check. Put them side by side and check the lines.

if something going wrong when your systemui get function ... you have to come back to your xml and check the line again.

The last say --> maybe you will need to change some drawble xmls and some drawble hdpi/ xhdpi/ xxhdpi files according to your dpi .
Last edited by SmiLeToLife; 22nd July 2014 at 11:57 AM.
The Following User Says Thank You to SmiLeToLife For This Useful Post: [ View ]
22nd July 2014, 12:45 PM   |  #5  
Md.Shafikul.islam's Avatar
OP Member
Flag Narayanganj,Dhaka
Thanks Meter: 28
 
58 posts
Join Date:Joined: Jul 2014
Donate to Me
More
thanks again :)
Quote:
Originally Posted by SmiLeToLife

don't try to change whole lines !!!

for example :

in your style.xml -- > <style name="BackgroundOnlyTheme" parent= @ANDROID:style/Theme.Holo.

in dowloanded style.xml --> <style name="BackgroundOnlyTheme" parent= @ANDROID:style/Theme.Holo.Light">

so you have to edit your line and add '' Light '' end of it. it will look like @ANDROID:style/Theme.Holo.Light

The important thing is you have to figure out what lines are related to your notification panel!!!

I am doing the same thing right now. I have couple cm11 themes and i am changing my sytles, colors, dimens according to theme's styles, colors.xml etc ..

I am using notepad++.

Just open the 2 xmls that you wanan check. Put them side by side and check the lines.

if something going wrong when your systemui get function ... you have to come back to your xml and check the line again.

The last say --> maybe you will need to change some drawble xmls and some drawble hdpi/ xhdpi/ xxhdpi files according to your dpi .

thanks again..but can you say that whichs xml on drawable may need to edit?plz.....
22nd July 2014, 01:04 PM   |  #6  
SmiLeToLife's Avatar
Member
Flag Eskişehir
Thanks Meter: 24
 
85 posts
Join Date:Joined: Jul 2012
Donate to Me
More
Quote:
Originally Posted by Md.Shafikul.islam

thanks again..but can you say that whichs xml on drawable may need to edit?plz.....

it depends on the rom ...

i had to edit

- ic_notify_button_bg.xml
- notification_header_bg.xml
- qs_tile_background.xml
- system_bar_notification_header_bg.xml

in drawble. I am running kitkat 4.4

maybe you need to edit those xmsl as well, maybe you dont need, maybe you dont have those xmls. not sure
22nd July 2014, 01:13 PM   |  #7  
Md.Shafikul.islam's Avatar
OP Member
Flag Narayanganj,Dhaka
Thanks Meter: 28
 
58 posts
Join Date:Joined: Jul 2014
Donate to Me
More
Cool Okey...got it....
Quote:
Originally Posted by SmiLeToLife

it depends on the rom ...

i had to edit

- ic_notify_button_bg.xml
- notification_header_bg.xml
- qs_tile_background.xml
- system_bar_notification_header_bg.xml

in drawble. I am running kitkat 4.4

maybe you need to edit those xmsl as well, maybe you dont need, maybe you dont have those xmls. not sure

last question. do i change the another's xml in values too?!!like color.xml....etc.etc?!!
22nd July 2014, 01:25 PM   |  #8  
SmiLeToLife's Avatar
Member
Flag Eskişehir
Thanks Meter: 24
 
85 posts
Join Date:Joined: Jul 2012
Donate to Me
More
Quote:
Originally Posted by Md.Shafikul.islam

last question. do i change the another's xml in values too?!!like color.xml....etc.etc?!!

maybe ... it depends on the theme's color and style. For instance: you will set your notifaction panel is white and if ur text color is white then you will not be able to read/see your notification you gotta see what's hapening after editing styles ... if it's ok then no problem. if it is as my mention then you gotta edit your colors.xml ...

i hope you got the concept of the work.

you can search any tutorial for editing notification panel. All necessary steps can be found. according to those tutorials you can edit your systemui.

For instance:

In the tutorial will say let's edit this line according to that .... you have to find this line at the xml in your lewa systemui and edit according to it

good luck happy theming ...

The Following User Says Thank You to SmiLeToLife For This Useful Post: [ View ]
Post Reply Subscribe to Thread
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes