FORUMS

XDA Recap: This Week In Android (May 17 – 23)

Another week, another recap. The Sunday tradition marches on this week with a fresh … more

Huawei To Sell Honor Smartphones Via Indian Retail Outlets

World’s fourth largest smartphone maker Huawei plans to now sell its … more

Sunday Debate: Are Smaller Bezels Better or Worth It?

Bezels have been getting smaller and smaller as the years go by, and while devices … more

LG G4 First Impressions and Unboxing – XDA TV

The latest in LG’s signature line of “G phones” has been released. … more
Post Reply Subscribe to Thread Email Thread

[Q] Transparent toggle

14th June 2014, 12:42 PM |#1  
OP Junior Member
Thanks Meter: 1
 
More
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:	165
Size:	22.9 KB
ID:	2797630  
 
 
31st July 2014, 03:04 AM |#2  
IGGYVIP's Avatar
Senior Member
/
Thanks Meter: 312
 
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
31st July 2014, 11:30 PM |#3  
maxx_hr's Avatar
Senior Member
Brdovec
Thanks Meter: 130
 
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, 11:17 AM |#4  
Junior Member
Thanks Meter: 0
 
More
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, 12:09 PM |#5  
yashgumaste's Avatar
Member
Thanks Meter: 1
 
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, 09:09 PM |#6  
maxx_hr's Avatar
Senior Member
Brdovec
Thanks Meter: 130
 
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, 09:21 PM |#7  
maxx_hr's Avatar
Senior Member
Brdovec
Thanks Meter: 130
 
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:	26
Size:	78.1 KB
ID:	3130213  
26th January 2015, 06:49 AM |#8  
yashgumaste's Avatar
Member
Thanks Meter: 1
 
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, 09:10 PM |#9  
maxx_hr's Avatar
Senior Member
Brdovec
Thanks Meter: 130
 
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