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] Transparent toggle

OP sanydeadpool

14th June 2014, 01:42 PM   |  #1  
OP Junior Member
Thanks Meter: 1
 
11 posts
Join Date:Joined: May 2014
Hi guys. I want to make transparent the toggle's background. Can someone tells me how to do it? What .pns or xml that i need to edit ????
The image is on the attached link below.
Attached Thumbnails
Click image for larger version

Name:	Screenshot_2014-06-14-18-14-15.png
Views:	127
Size:	22.9 KB
ID:	2797630  
31st July 2014, 04:04 AM   |  #2  
IGGYVIP's Avatar
Senior Member
/
Thanks Meter: 304
 
773 posts
Join Date:Joined: Feb 2014
Donate to Me
More
Info 2 bad news i'm afraid
Quote:
Originally Posted by sanydeadpool

Hi guys. I want to make transparent the toggle's background. Can someone tells me how to do it? What .pns or xml that i need to edit ????
The image is on the attached link below.

on l3 II not yet
but dont give up
if you find solution post here for people to use
1st August 2014, 12:30 AM   |  #3  
maxx_hr's Avatar
Senior Member
Brdovec
Thanks Meter: 86
 
190 posts
Join Date:Joined: Nov 2008
More
Quote:
Originally Posted by sanydeadpool

Hi guys. I want to make transparent the toggle's background. Can someone tells me how to do it? What .pns or xml that i need to edit ????
The image is on the attached link below.

This instructions is for L7 II, but you can try:

1. Make backup!
2. To make it transparent, you must decompile LGSystemUI.apk
3. In LGSystemUI\smali\com\android\systemui\statusbar\ph one\PhoneStatusBar.smali find this line:

Code:
Lcom/android/systemui/statusbar/phone/PhoneStatusBar$FastColorDrawable;-><init>(I)V
4: Remove line below:

Code:
invoke-virtual {v0, v1}, Landroid/view/View;->setBackground(Landroid/graphics/drawable/Drawable;)V
5: Adjust transparency in LGSystemUI\res\values\colors.xml, find:

Code:
<color name="bg_expanded">#ef000000</color>
And change red value.

Some values of transparency:

bf000000 - 25%,
7F000000 - 50%,
3F000000 - 75%,
00000000 - 100%

Good luck
The Following User Says Thank You to maxx_hr For This Useful Post: [ View ]
20th January 2015, 12:17 PM   |  #4  
Junior Member
Thanks Meter: 0
 
1 posts
Join Date:Joined: Jan 2015
need lgsystem.apk pls
guys i edited my systemui.apk file and now lost status bar and some other funtion
can u guys help me with it my phone is lg p715 dual
23rd January 2015, 01:09 PM   |  #5  
yashgumaste's Avatar
Member
Thanks Meter: 1
 
47 posts
Join Date:Joined: Dec 2014
More
Quote:
Originally Posted by maxx_hr

This instructions is for L7 II, but you can try:

1. Make backup!
2. To make it transparent, you must decompile LGSystemUI.apk
3. In LGSystemUI\smali\com\android\systemui\statusbar\ph one\PhoneStatusBar.smali find this line:

Code:
Lcom/android/systemui/statusbar/phone/PhoneStatusBar$FastColorDrawable;-><init>(I)V

There are many PhoneStatusBar.smali files like
PhoneStatusBar$1.smali
PhoneStatusBar$2.smali
PhoneStatusBar$3.smali
...

which to use?
23rd January 2015, 10:09 PM   |  #6  
maxx_hr's Avatar
Senior Member
Brdovec
Thanks Meter: 86
 
190 posts
Join Date:Joined: Nov 2008
More
Quote:
Originally Posted by mid143

guys i edited my systemui.apk file and now lost status bar and some other funtion
can u guys help me with it my phone is lg p715 dual

This guide is for deodexed rom.
To restore functionality, just copy stock LGSystemUI.apk, change permission like other files in folder and restart.
If you have odexed rom, do the same, but with LGSystemUI.apk and LGSystemUI.odex.
If you have backup (CWM or TWRP), restore only System.
The Following User Says Thank You to maxx_hr For This Useful Post: [ View ]
23rd January 2015, 10:21 PM   |  #7  
maxx_hr's Avatar
Senior Member
Brdovec
Thanks Meter: 86
 
190 posts
Join Date:Joined: Nov 2008
More
Quote:
Originally Posted by yashgumaste

There are many PhoneStatusBar.smali files like
PhoneStatusBar$1.smali
PhoneStatusBar$2.smali
PhoneStatusBar$3.smali
...

which to use?

PhoneStatusBar.smali
Without $ etc.
Only one is in that folder, and it is bigest.
Attached Thumbnails
Click image for larger version

Name:	smali.png
Views:	12
Size:	78.1 KB
ID:	3130213  
26th January 2015, 07:49 AM   |  #8  
yashgumaste's Avatar
Member
Thanks Meter: 1
 
47 posts
Join Date:Joined: Dec 2014
More
Quote:
Originally Posted by maxx_hr


5: Adjust transparency in LGSystemUI\res\values\colors.xml, find:

Code:
<color name="bg_expanded">#ef000000</color>
And change red value.

Some values of transparency:

bf000000 - 25%,
7F000000 - 50%,
3F000000 - 75%,
00000000 - 100%

Good luck

Can we also add other colors by their hex code

---------- Post added at 12:19 PM ---------- Previous post was at 12:05 PM ----------

I want to change the notification dropdown simlar to lollipop.
Any idea how to change background of other parts.
26th January 2015, 10:10 PM   |  #9  
maxx_hr's Avatar
Senior Member
Brdovec
Thanks Meter: 86
 
190 posts
Join Date:Joined: Nov 2008
More
Quote:

Can we also add other colors by their hex code

Yes.


Quote:

I want to change the notification dropdown simlar to lollipop.
Any idea how to change background of other parts.

You must research how to do this.

Post Reply Subscribe to Thread
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes