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:	71
Size:	22.9 KB
ID:	2797630  
31st July 2014, 04:04 AM   |  #2  
IGGYVIP's Avatar
Senior Member
Flag Emerald
Thanks Meter: 295
 
759 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: 69
 
160 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
Post Reply Subscribe to Thread
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes