[How-to][Tutorial] Theme GB settings.apk to ICS style pt.2


Last Updated: 2012-09-15 07:49:22
  1. LDrifta

    LDrifta No Stranger 2 Danger Guide

    This guide will explain how to completely modify the settings.apk to 'look-like' ICS style, minus the toggles... still cant figure that out yet :D

    basically this is a Part 2 of this guys guide here ([GUIDE] ICS Style 'Settings.apk' - Make it yourself !! !! - xda-developers) written by Balamu96m

    his guide explains how to add the extra titles and divide your settings into sections

    my guide explains how to change the font & prefference selection size to look more like ICS

    so in here you will learn how to get from this:
    [​IMG]

    to this:
    [​IMG]

    Also you can follow this guide here
    ([TUTORIAL] How to change Android's black background - xda-developers) written by AvatarOfFrost
    or this guide here
    (http://androidforums.com/esteem-all-things-root/584365-mod-guide-how-change-system-backgrounds.html) written by shinyside
    to change the actual background of your settings.apk (and other apps) with the background of your choice :D

    for information on how to properly decompile & recompile apk's look here (http://androidforums.com/esteem-all...roperly-decompile-recompile-apks-apktool.html)


    Let's Begin
    ok so at this point you should have your settings.apk with the added titles over specified sections.. so now the first step is to (again):

    -decompile the settings.apk (apktool preffered)

    -scroll through to this directory (res/layout) and locate a file called 'prefference_icon.xml'

    -the edits were going to make are very simple so im not going to copy and paste my whole xml file for you all, just pay attention and you should be able to do this :D

    -first thing to change is:<ImageView
    --look for the android:layout_width= & android:layout_hieght= set values as 25.0dip so should look like this

    android:layout_width="25.0dip" android:layout_height="25.0dip"
    this sets your icon size

    -next line to edit is: <RelativeLayout
    --same thing just for height, set to 25.0dip
    this sets the layout size of prefference selection

    -last but not least is:<TextView (the one that has android:textAppearance="?android:textAppearanceLarge)
    --only thing to edit is android:textAppearance="?android:textAppearanceLarge LOL
    --change it to Medium

    and thats it.. very simple :D


    Bonus thanks fuzzy, shiny, vsuperuserv and all you guys for the help :D
    as a bonus ill also provide this info, some friends helped me accomplish this goal so thanks to them!!

    to edit the image used as the title background for those new titles you added :D

    it's in the framework-res.apk, same idea as the guide for replacing the stock android 'black background' with an image, we are just replacing an image with another image, because original is a .9 and the device wont boot if not edited properly lol :D

    -look for this file in here: res/values/styles.xml

    -open xml in text editor (npp) and serch for this line:
    <style name="Widget.TextView.ListSeparator" parent="@style/Widget.TextView">
    --under it will be this line: <item name="background">@drawable/dark_header</item>

    --change 'dark_header' to whatever you want (i use settings_title_header)

    --now create a .png 480x40 and edit it to your liking, name it what you chose for a name ie: settings_title_header.png and place it in drawable-hdpi

    now recompile and BOOM!!!


    Remember to thank all your devs, themers, modders etc...

    Advertisement
    out of ideas, dubtee, Pappy62 and 4 others like this.
  2. V SuperUser V

    V SuperUser V Well-Known Member

    Good job L
    LDrifta likes this.
  3. nuttmeg

    nuttmeg Well-Known Member

    great tut for all that wants to give theming a try.
  4. Fuzzy13

    Fuzzy13 Well-Known Member

    I can already see it " HELP. I keep getting an error when i compile. Lol
  5. ShinySide

    ShinySide Disabled

  6. Fuzzy13

    Fuzzy13 Well-Known Member

  7. LDrifta

    LDrifta No Stranger 2 Danger Guide

  8. max25002

    max25002 Well-Known Member

    Did is this what i wanted :D Thanks !!!!!
  9. Lubricant

    Lubricant Well-Known Member

    *Sits and waits for someone to post the settings.apk that looks like this because I'm lazy* :D
  10. LDrifta

    LDrifta No Stranger 2 Danger Guide

    lol you can find it in #2 2.5B4
  11. Lubricant

    Lubricant Well-Known Member

    Lol the one I got from 2.5B4 looks like the one in this OP without the gradient and a grey line through "Wireless and networks" "Device" and so on.

    I WANT IT EXACTLY LIKE THE ONE IN THIS PICTURE, WITH NO EFFORT!!!!!! Hahahaha :D:D
  12. LDrifta

    LDrifta No Stranger 2 Danger Guide

    it shouldn't... did you install a theme or any diff framework?
  13. Lubricant

    Lubricant Well-Known Member

    Always had the ICS theme on by Fuzzy.. then noticed this thread, so I was like "Hey, it's probably in 2.5 Beta 4 if he has it done!" So I went and got the apk, replaced it and thats what I got :3
  14. LDrifta

    LDrifta No Stranger 2 Danger Guide

    yeah the 2 files you want are used in the framework, so you need #2 2.5 framework for this to apply as well, sorry man lol ishould probly mention that in the OP :D
  15. Lubricant

    Lubricant Well-Known Member

    All I saw in that post was "Work work work effort effort effort" LOL!:p

Share This Page