Get a Complete Set of Logs with Andy Log

The importance of proper logging is undeniable. No, we’re not talking about lumberjack work. … more

Try Some Android Lollipop Applications on Your Device

Android 5.0 Lollipop has been officially announced and lucky users of Google Nexus 5 … more

AutoCon Manages Your Connections to Perserve Battery Life

As we’ve talked about in the past, battery life is still somewhat of a sore … more

How to Unlock and Root a Nexus Device – XDA TV

It is official–Google has released the Nexus 6 and the Nexus 9. The Nexus family … more
Post Reply

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

OP x-zes

3rd May 2014, 12: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:	374
Size:	138.7 KB
ID:	2723122   Click image for larger version

Name:	Screenshot_2014-05-03-15-00-03.png
Views:	403
Size:	251.5 KB
ID:	2723123  
3rd May 2014, 04:29 PM   |  #2  
AyDee's Avatar
Senior Member
Flag Mobile
Thanks Meter: 910
 
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 04:31 PM.
3rd May 2014, 07: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, 09:10 AM   |  #4  
dlt0rre's Avatar
Senior Member
Thanks Meter: 69
 
321 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, 03: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, 12:20 AM   |  #6  
chaki-'s Avatar
Senior Member
Flag Banana Paradise
Thanks Meter: 84
 
660 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, 01:54 AM   |  #7  
AyDee's Avatar
Senior Member
Flag Mobile
Thanks Meter: 910
 
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, 07: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


Top Threads in G2 Themes and Apps by ThreadRank