[MOD] [Tutorial] :- Customize Xperia Home App Trays and Dock Bars

Search This thread

Cyrille28410

Senior Member
Mar 29, 2012
78
4
Saint Cyr La Rosière
Hello

Let's say that we have now 7 icons in the dock but how to use it ?

I mean :

actually I have : phone-photo-sms-playstore
I add 2 icons and I have now : photo-photo-sms-playstore-empty-empty

How can I change these empty places to have : Music-Contacts

which XML must be modified to do that ? Any idea ?

Thanks
 

Rajeev

Recognized Contributor
Nov 24, 2012
16,306
26,540
Chennai , I N D I A
Xiaomi 13 Pro
Hello

Let's say that we have now 7 icons in the dock but how to use it ?

I mean :

actually I have : phone-photo-sms-playstore
I add 2 icons and I have now : photo-photo-sms-playstore-empty-empty

How can I change these empty places to have : Music-Contacts

which XML must be modified to do that ? Any idea ?

Thanks

I Don't Understand Ur Question But..

Just Push The Two Apps from Ur App Drawer To That Empty Space...
 

Top Liked Posts

  • There are no posts matching your filters.
  • 20
    uy1.png

    Hei Friends,

    Here i am Trying to Share a Little Tutorial for Making a Customizable APP Tray and Dock Bar for Sony Xperia Homes..

    HOW TO MAKE CUSTOMIZABLE APP TRAY ( 5 x 6 App Tray Explained)

    1.Decompile Home.apk

    2.Go To res\values\integers.xml And Find This Line

    <integer name="apptray_grid_columns">4</integer>
    <integer name="apptray_grid_rows">5</integer>


    Dip1.png


    Change It To This

    <integer name="apptray_grid_columns">5</integer>
    <integer name="apptray_grid_rows">6</integer>


    3.Go To res\values\dimens.xml And Find This Line

    <dimen name="apptray_cell_width">75.0dip</dimen>
    <dimen name="apptray_cell_height">110.0dip</dimen>
    <dimen name="apptray_grid_height">500.0dip</dimen>


    Dip2.png


    So Here Come The Calculations Part

    I cant help in this you will have to do trial and error methodthat’s a bit of guesswork. If the original layout had 4 icons which together represent 100% and you

    changed that to 5 icons, then the default size per icon has to shange from 25% to 20%. That’s roughly 20% reduced size (5% less is 1/5th part of 25%) so reduce the

    original size by 20% and it should be about right. The rest is a bit tweaking to give the icons more or less space.

    4.Go To res\values-sw360dp

    Do The Same Editing As Done In res\values And Enter The Same Values

    5.Save It And Re Compile Then Sign It... Enjoy..

    HOW TO MAKE 7 APP DOCK

    1.Decompile Home.apk

    2.Go To res\values\integers.xml And Find This Line

    <integer name="stage_grid_columns">5</integer>
    <integer name="max_stage_items">4</integer>


    Dip3.png


    Change It To This

    <integer name="stage_grid_columns">7</integer>
    <integer name="max_stage_items">6</integer>


    3.Go To res\values sw-360dp\dimens.xml And Find This Line

    <dimen name="stage_cell_width">72.0dip</dimen>
    <dimen name="stage_cell_height">87.0dip</dimen>


    Dip4.png


    These values may differ for every phone but they are for stock 4 app dock. We need to change values accordingly that can fit 6 apps.
    so this is where the calculations come , widtth is 72 for 5 apps so how much it will be for 7. use approximate values and do trial and error method

    4.Save It And Re Compile Then Sign It... Enjoy..


    VALUES WHICH GO BEST WITH SP

    res/values/dimens.xml

    6 x 4 App Drawer

    <dimen name="apptray_cell_width">88.0dip</dimen>
    <dimen name="apptray_cell_height">80.0dip</dimen>
    <dimen name="apptray_grid_height">490.0dip</dimen>


    6 x 5 App Drawer

    <dimen name="apptray_cell_width">69.0dip</dimen>
    <dimen name="apptray_cell_height">85.0dip</dimen>
    <dimen name="apptray_grid_height">520.0dip</dimen>


    5 x 5 App Drawer

    <dimen name="apptray_cell_width">69.0dip</dimen>
    <dimen name="apptray_cell_height">90.0dip</dimen>
    <dimen name="apptray_grid_height">480.0dip</dimen>


    7 Dock Bar Icons

    res/values/sw-360dp/dimens.xml

    <dimen name="stage_cell_width">52.0dip</dimen>
    <dimen name="stage_cell_height">58.0dip</dimen>


    Enjoy Guys :good:

    If u found this Thread helpful means please press the :good: Button for me...
    4
    please guide how to resize the dock icon also...because it look like very busy and mess if 7 dock icon together
    waiting this guide b4 i go...thanks bro

    Will try it soon and report:)
    3
    Nice tutorial @dipesh1502!
    I had tried this thing eairlier with my Xperia Sola's Home (6.1.2.A.0.1). But the Home app dosent get recompiled again. :(


    Sent from my Xperia™ Sola from somewhere in the world!

    You sure you doing it with deodexed apks?
    2
    Yes! my system is deodexed forever! :D
    Even the SemcAlbum has the same problem. :(

    And you must be using the latest apktool right?