Google Play Music Customizations – XDA Xposed Tuesday

If Cyanogen Inc. has its way, you won’t be forced into the Google … more

Sony Xperia Z3 Lollipop Framework Ported to CM12

Android 5.0 for Xperia has a unique look and feel. You don’t have to get a Sony … more

Do You Use Recents as a Task Switcher?

Google introduced a revamped Recents interface with Lollipop in the hopes of making it easier for … more

YU Yureka All-in-One ToolBox (CM12S Only)

This packed toolbox by XDA Senior Member gohel.vishal makes many useful tweaks … more

 View Poll Results: Which Tab Do You Like

Icon
 
4 Vote(s)
57.14%
Text
 
3 Vote(s)
42.86%
Post Reply Subscribe to Thread Email Thread

[GUIDE]How to add Tab in Settings.apk with Icon(Working)

9th July 2014, 07:47 AM |#81  
Myth2014's Avatar
Senior Member
Flag Linyi
Thanks Meter: 13
 
115 posts
Join Date:Joined: Apr 2014


Sent from my IM-A690S using Tapatalk 2
 
 
12th July 2014, 01:56 PM |#82  
giew13's Avatar
Senior Member
Flag Purwakarta, West Java
Thanks Meter: 77
 
178 posts
Join Date:Joined: Aug 2013
More
is there any idea to move display settings, sound settings etc into the second layout?
I've been try to move the line into the second layout and when i flash it's give force close
12th July 2014, 04:47 PM |#83  
GSculerlor's Avatar
Senior Member
Flag Malang
Thanks Meter: 85
 
437 posts
Join Date:Joined: Oct 2013
More
Quote:
Originally Posted by giew13

is there any idea to move display settings, sound settings etc into the second layout?
I've been try to move the line into the second layout and when i flash it's give force close

Get the code from Settings.xml
Like this
Code:
<com.android.settings.IconPreferenceScreen android:title="@string/sound_settings_title" settings:icon="@drawable/ic_settings_sound">
        <intent android:targetPackage="com.android.settings" android:action="android.intent.action.MAIN" android:targetClass="com.android.settings.SoundSettings" />
    </com.android.settings.IconPreferenceScreen>
    <com.android.settings.IconPreferenceScreen android:title="@string/display_settings_title" settings:icon="@drawable/ic_settings_display">
        <intent android:targetPackage="com.android.settings" android:action="android.intent.action.MAIN" android:targetClass="com.android.settings.DisplaySettings" />
    </com.android.settings.IconPreferenceScreen>
After you found what you want to move, just move that code to layout that you want. In this case, place in advanced_settings.xml and Compile it
14th July 2014, 01:10 PM |#84  
giew13's Avatar
Senior Member
Flag Purwakarta, West Java
Thanks Meter: 77
 
178 posts
Join Date:Joined: Aug 2013
More
Quote:
Originally Posted by GSculerlor

Get the code from Settings.xml
Like this

Code:
<com.android.settings.IconPreferenceScreen android:title="@string/sound_settings_title" settings:icon="@drawable/ic_settings_sound">
        <intent android:targetPackage="com.android.settings" android:action="android.intent.action.MAIN" android:targetClass="com.android.settings.SoundSettings" />
    </com.android.settings.IconPreferenceScreen>
    <com.android.settings.IconPreferenceScreen android:title="@string/display_settings_title" settings:icon="@drawable/ic_settings_display">
        <intent android:targetPackage="com.android.settings" android:action="android.intent.action.MAIN" android:targetClass="com.android.settings.DisplaySettings" />
    </com.android.settings.IconPreferenceScreen>
After you found what you want to move, just move that code to layout that you want. In this case, place in advanced_settings.xml and Compile it

i've been try it but it give a force close
i think i should modify the settings.smali first but i dont know how
any solutions?
14th August 2014, 07:08 AM |#85  
Myth2014's Avatar
Senior Member
Flag Linyi
Thanks Meter: 13
 
115 posts
Join Date:Joined: Apr 2014
work on 4.3?
Post Reply Subscribe to Thread

Tags
guide, mod, tutorial
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes