Attend XDA's Second Annual Developer Conference, XDA:DevCon 2014!
5,740,667 Members 49,298 Now Online
XDA Developers Android and Mobile Development Forum

[GUIDE][MOD] How to add custom banner in Settings "About Device"

Tip us?
 
nathanjp
Old
(Last edited by nathanjp; 20th March 2014 at 08:14 AM.)
#1  
nathanjp's Avatar
Senior Member - OP
Thanks Meter 211
Posts: 336
Join Date: Feb 2013
Location: Karachi
Default [GUIDE][MOD] How to add custom banner in Settings "About Device"



1. Download Settings Files.zip

2. Decompile your Settings.apk

3. Extract custombanner.xml of Settings Files.zip and place it in res/layout in decompiled Settings.apk

4. Open /res/xml/device_info_settings.xml

You'll see several <Preference android:title tags

5.Add this just a line above the first Preference tag:

Code:
<PreferenceCategory android:layout="@layout/custombanner" android:title="" />

6. Save the file and exit

7. Now make a .png banner for your ROM or find one on the internet. It has to be a .png
Resize your banner to 480x300 and rename it to custombanner.png

8. Place the custombanner.png in res/drawable

9. Recompile Settings.apk and Replace the settings.apk in your ROM

10. Enjoy
The Following 5 Users Say Thank You to nathanjp For This Useful Post: [ Click to Expand ]
 
nathanjp
Old
(Last edited by nathanjp; 13th February 2014 at 02:41 PM.)
#2  
nathanjp's Avatar
Senior Member - OP
Thanks Meter 211
Posts: 336
Join Date: Feb 2013
Location: Karachi
Default Reserved for Screenshots

Screenshots
Attached Thumbnails
Click image for larger version

Name:	Yj4Vi4Y.png
Views:	454
Size:	175.9 KB
ID:	2577161   Click image for larger version

Name:	Screenshot_2013_12_10_18_42_49.jpg
Views:	408
Size:	30.0 KB
ID:	2577162  
 
talhask
Old
#3  
Senior Member
Thanks Meter 10
Posts: 101
Join Date: Dec 2013
Hi ...... Can you add theme option in settings ?????
 
sitifire
Old
(Last edited by sitifire; 17th March 2014 at 09:09 AM.)
#4  
Senior Member
Thanks Meter 46
Posts: 106
Join Date: Apr 2013
Location: Tanjungpandan
Quote:
Originally Posted by nathanjp View Post


1. Download Settings Files.zip

2. Decompile your Settings.apk

3. Extract custombanner.xml of Settings Files.zip and place it in res/layout in decompiled Settings.apk

4. Open /res/xml/device_info_settings.xml

You'll see several <Preference android:title tags

5.Add this just a line above the first Preference tag:

Code:
Code:
Select Code
<PreferenceCategory android:layout="@layout/myawesomerom" android:title="" />
6. Save the file and exit

7. Now make a .png banner for your ROM or find one on the internet. It has to be a .png
Resize your banner to 480x300 and rename it to custombanner.png

8. Place the custombanner.png in res/drawable

9. Recompile Settings.apk and Replace the settings.apk in your ROM

10. Enjoy
Thanks bro... it works on my Samsung Galaxy Mega GT-I9152, but I Think there's only one mistake with your guide bro... in step number 5 :
Code:
Select Code
<PreferenceCategory android:layout="@layout/myawesomerom" android:title="" />
it should be
Code:
Select Code
<PreferenceCategory android:layout="@layout/custombanner" android:title="" />
Please correct me if I was wrong...Thanks...
The Following User Says Thank You to sitifire For This Useful Post: [ Click to Expand ]
 
nathanjp
Old
#5  
nathanjp's Avatar
Senior Member - OP
Thanks Meter 211
Posts: 336
Join Date: Feb 2013
Location: Karachi
Quote:
Originally Posted by sitifire View Post
Thanks bro... it works on my Samsung Galaxy Mega GT-I9152, but I Think there's only one mistake with your guide bro... in step number 5 :
Code:
Select Code
<PreferenceCategory android:layout="@layout/myawesomerom" android:title="" />
it should be
Code:
Select Code
<PreferenceCategory android:layout="@layout/custombanner" android:title="" />
Please correct me if I was wrong...Thanks...
Thanks for pointing that when i war writing the xml file i thought of using myawesomerom but instead i used custombanner. Thats why i made a mistake will correct it immediately. Thanks for letting me know
 
G.M.L
Old
#6  
G.M.L's Avatar
Senior Member
Thanks Meter 94
Posts: 484
Join Date: May 2013
Location: Thessaloniki
It works perfect!!!!!

G.M.L._V2_IcSmoothness
http://pasakalis.blogspot.gr
Attached Thumbnails
Click image for larger version

Name:	uploadfromtaptalk1395418933651.jpg
Views:	99
Size:	24.0 KB
ID:	2642472  
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


XDA PORTAL POSTS

Play Your Hits and Learn the Lyrics with NextGen Music Player

There are plenty of music players for Android available in Play Store. They … more

Control Your Toast Notifications with SlicedToasts

Toasts are delicious, even in their Android flavor. In Android, toast doesn’t lead … more

Rotation Lets You Take Full Control of Your Device’s Orientation Settings

To be brutally honest, the native options for screen … more

Change the Alarm Icon in the Status Bar with Xposed

It’s hard to find a more hated object than your alarm clock. They wake us up nearly … more