Detect, Avoid IMSI-Catcher Attacks with Android IMSI-Catcher Detector

Privacy is always an important topic, as well as a delicate one to … more

Materialized LeanDroid Fights Your Poor Battery Life

Battery life has always been one of the biggest problems facing most Android devices. … more

Bump! Workaround for the LG G3 Locked Bootloader – XDA TV

The LG G3 is a power house device. It’s been a favorite of many people. … more

Enable Call Recording on Xperia Z2 and Z3

Call recording, while not legal in every part of the world, is quite handy in certain situations. … more

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

[QUESTION] Change settings icons with theme. How make it?

OP x-zes

3rd May 2014, 01:07 PM   |  #1  
OP Junior Member
Flag Краснодар
Thanks Meter: 0
 
3 posts
Join Date:Joined: May 2011
More
Hi!
I want make new theme for LG Launcher and I want change icons in settings app (Display, Sound etc). How do this without edit LGSettings.apk and without edit LGEasySettings?

I tried add strings in \res\xml\theme_resource.xml

Example:
Code:
    <AppIcon name="com.android.settings/com.android.settings.DisplaySettings" image="settings_display" />
    <AppIcon name="com.android.settings/com.android.settings.Settings$DisplaySettingsActivity" image="settings_display" />
    <AppIcon name="com.android.settings/com.android.settings.lge.PouchSettings" image="settings_display" />
    <AppIcon name="com.android.settings/com.android.settings.lge.ScreenMode" image="settings_display" />
But icons not change (2nd screenshot), icons change only in top tittle (1st screenshot)
Attached Thumbnails
Click image for larger version

Name:	Screenshot_2014-05-03-15-00-09.jpg
Views:	381
Size:	138.7 KB
ID:	2723122   Click image for larger version

Name:	Screenshot_2014-05-03-15-00-03.png
Views:	412
Size:	251.5 KB
ID:	2723123  
3rd May 2014, 05:29 PM   |  #2  
AyDee's Avatar
Senior Member
Flag Mobile
Thanks Meter: 917
 
1,256 posts
Join Date:Joined: Sep 2010
Donate to Me
More
Quote:
Originally Posted by x-zes

Hi!
I want make new theme for LG Launcher and I want change icons in settings app (Display, Sound etc). How do this without edit LGSettings.apk and without edit LGEasySettings?

I tried add strings in \res\xml\theme_resource.xml

Example:

Code:
    <AppIcon name="com.android.settings/com.android.settings.DisplaySettings" image="settings_display" />
    <AppIcon name="com.android.settings/com.android.settings.Settings$DisplaySettingsActivity" image="settings_display" />
    <AppIcon name="com.android.settings/com.android.settings.lge.PouchSettings" image="settings_display" />
    <AppIcon name="com.android.settings/com.android.settings.lge.ScreenMode" image="settings_display" />
But icons not change (2nd screenshot), icons change only in top tittle (1st screenshot)

That isn't possible with a home theme. It would be cool if you could though.
App icons change wherever they are shown including the title/action bar so that's why it changes at the top.


Questions belong in Q&A section, for future reference. Welcome to the forum.
Last edited by AyDee; 3rd May 2014 at 05:31 PM.
3rd May 2014, 08:08 PM   |  #3  
OP Junior Member
Flag Краснодар
Thanks Meter: 0
 
3 posts
Join Date:Joined: May 2011
More
Question
If try extract code and layouts from LGEasySettings.apk and put this code and layouts with change icons name in theme apk?

Is it possible to when apply theme with code from LGEasySettings.apk and work this from theme? In other words, insert LGEasySettings.apk in theme.
5th May 2014, 10:10 AM   |  #4  
dlt0rre's Avatar
Senior Member
Thanks Meter: 71
 
336 posts
Join Date:Joined: Jan 2009
More
Quote:
Originally Posted by x-zes

If try extract code and layouts from LGEasySettings.apk and put this code and layouts with change icons name in theme apk?

Is it possible to when apply theme with code from LGEasySettings.apk and work this from theme? In other words, insert LGEasySettings.apk in theme.

I finally did changing the png's:
http://www.htcmania.com/showthread.php?t=811479
5th May 2014, 04:43 PM   |  #5  
OP Junior Member
Flag Краснодар
Thanks Meter: 0
 
3 posts
Join Date:Joined: May 2011
More
Question
I can somebody replace icons in LGEasySettings.apk and LGSettings.apk. But I want replace icons when apply my theme without edit LGEasySettings.apk and LGSettings.apk
6th May 2014, 01:20 AM   |  #6  
chaki-'s Avatar
Senior Member
Flag Banana Paradise
Thanks Meter: 84
 
662 posts
Join Date:Joined: Apr 2012
More
Quote:
Originally Posted by x-zes

I can somebody replace icons in LGEasySettings.apk and LGSettings.apk. But I want replace icons when apply my theme without edit LGEasySettings.apk and LGSettings.apk

When it comes to mod something you got to make some ultimate changes in order to get it your way.
If you don't wanna mess around, then there is one solution: go to Hogwarts become a magician
The Following User Says Thank You to chaki- For This Useful Post: [ View ]
6th May 2014, 02:54 AM   |  #7  
AyDee's Avatar
Senior Member
Flag Mobile
Thanks Meter: 917
 
1,256 posts
Join Date:Joined: Sep 2010
Donate to Me
More
Quote:
Originally Posted by x-zes

I can somebody replace icons in LGEasySettings.apk and LGSettings.apk. But I want replace icons when apply my theme without edit LGEasySettings.apk and LGSettings.apk

Not possible. The only way I can think to edit the pngs without editing LGEasySettings.apk and LGSettings.apk is with an xposed module.
The Following User Says Thank You to AyDee For This Useful Post: [ View ]
12th May 2014, 08:30 AM   |  #8  
Senior Member
Leicester
Thanks Meter: 89
 
125 posts
Join Date:Joined: Nov 2010
Donate to Me
More
Hi could you please tellme which file you edited to make the settings menu, black? Thanks in advance

Sent from my LG-E980 using XDA Free mobile app

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

Advanced Search
Display Modes