FORUMS

Galaxy S6 & Edge get €100 Price Cut—New Models Incoming

Samsung has dropped the price of both the Galaxy S6 and S6 Edge by … more

How To Port Fully Featured Sony Xperia Z4 Camera

Xperia Z4’s hardware may not impress, but its software is definitely … more

Experimental TWRP Available For Moto G 2015

XDA Senior Member squid2 has posted experimental builds of TWRP for the Moto G … more

Sunday Debate: How Can We Get a No-Compromise Phone?

Join us in a fun Sunday Debate on Compromises. Come with your opinions and … more

[TUTORIAL] [UPDATE :- 01.02.2014] Customization for Xperia Home JB 4.1/ 4.2/ 4.3

10,155 posts
Thanks Meter: 14,900
 
By Rajeev, Senior Member on 30th January 2014, 11:10 AM
Post Reply Subscribe to Thread Email Thread

Hello Friends

Here I Am Again With Another Simple Tutorial. Modifying Xpria Home App Drawer and Dock Bars. With This Tutorial You Can Create Various Home Mods..


Note: I Know that there are some good Xposed Modules available for making this things more easy. But i always like old school methods.. So Please do not comment about any Xposed Modules Here.. Thanks..

Quote:

THINGS NEEDED

  • PC
  • Knwoldge of De Compiling and Other Blah Blah
  • A Deodexed ROM
  • Little Mathematics Brain

Here I Am Going To Explain About Two Mods. One Is Home App Drawer and Another One Is Dock Bar.


Quote:

MAKING 7 DOCK BAR ICONS


The Default Dock Bar icons will b 5. Right ? Now you can make 7 Icons In Dock Bar With This Tutorial.



(1) Decompile Your Home.apk ( Must Be Deodexed )

(2) Go To Res/Values/dimens.xml ( Open It Using Notepad ++ )

(a) You Will Find This Line

Quote:

<dimen name="icon_image_width">48.0dip</dimen>
<dimen name="icon_image_height">48.0dip</dimen>
<dimen name="icon_label_text_size">13.0sp</dimen>

Change It To This
Quote:

<dimen name="icon_image_width">44.0dip</dimen>
<dimen name="icon_image_height">44.0dip</dimen>
<dimen name="icon_label_text_size">11.0sp</dimen>

Note:- You Can Give Any Size. This is meant for the Icon Size. If U Put the Size above 50 Means It will b huge size. Pls make both icon size same. Changing this size will change the Both Dock and App Drawer Icon Size..

(b) You Will Find This Line
Quote:

<dimen name="stage_cell_width">64.0dip</dimen>
<dimen name="stage_cell_height">82.0dip</dimen>
<dimen name="stage_breadth">75.0dip</dimen>

Note:- The Size may differ from urs, so dont confuse..

Change It To This
Quote:

<dimen name="stage_cell_width">52.0dip</dimen>
<dimen name="stage_cell_height">55.0dip</dimen>
<dimen name="stage_breadth">60.0dip</dimen>

Note:- This is a perfect size. If u want u can try to change the sizes and see..

Thats It. Save the dimes.xml and Close It..

(3) Go To Res/Values/Integers.xml ( Open It Using Notepad ++ )

(a) You Will Find This Line
Quote:

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

Change It To This
Quote:

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

Thats It. Save the Integers.xml and Close it..

(4) Go To Res/values-sw360dp/dimens.xml f( Open It Using Notepad ++ )

(a) You Will Find This Line
Quote:

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

Note:- The Size may differ from urs, so dont confuse..

Change It To This
Quote:

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

Thats It. Save the Integers.xml and Close it..

Done. Now you can Re Compile and Sign The Home.apk and use. You have now 7 Dock Bars As Shown Below.




Quote:

MAKING 5x5 APP DRAWER GRID


The Default App Drawer Will Have 5 x 4 Icons Grid.. Right ? Now you can make 5x5 App Drawer Grid With This Tutorial



(1) Decompile Your Home.apk ( Must Be Deodexed )

(2) Go To Res/Values/dimens.xml ( Open It Using Notepad ++ )

(a) You Will Find This Line
Quote:

<dimen name="apptray_cell_width">84.0dip</dimen>
<dimen name="apptray_cell_height">96.0dip</dimen>
<dimen name="apptray_grid_height">500.0dip</dimen>

Note:- The Size may differ from urs, so dont confuse..

Change It To This
Quote:

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

Thats It. Save the Integers.xml and Close it..

(3) Go To Res/Values/integers.xml ( Open It Using Notepad ++ )

(a) You Will Find This Line
Quote:

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

Change It To This
Quote:

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

Note:- This will help you to have 5x5 App Drawer Grid

Thats It. Save the Integers.xml and Close it..

Done. Now you can Re Compile and Sign The Home.apk and use. You have now 5x5 App Drawer Grid As Shown Below.



So If You want to make the 7 Dock and 5x5 App Drawer Together Means Just Combine Both Tutorial. U will have Both Mods.

There Are another App Tray Grids Available Like 6x5, 6x4 , 7x5 , 7x6 Etc Etc. You Just have to Calculate the values and then apply..


Anyway here i am giving you some App Drawer Values. So You can use it without any Problems...

6x5 App Drawer
Quote:

<dimen name="apptray_cell_width">67.0dip</dimen>
<dimen name="apptray_cell_height">90.0dip</dimen>
<dimen name="apptray_grid_height">550.0dip</dimen>


6x4 App Drawer
Quote:

<dimen name="apptray_cell_width">84.0dip</dimen>
<dimen name="apptray_cell_height">90.0dip</dimen>
<dimen name="apptray_grid_height">550.0dip</dimen>



Thats It.. Enjoy Modding... Press The Thanks Button For Me If You Like It...


Quote:

TUTORIAL FOR MODDING LATEST Z2 HOME

http://forum.xda-developers.com/show...7&postcount=95
Last edited by Rajeev; 8th May 2014 at 06:07 AM.
The Following 50 Users Say Thank You to Rajeev For This Useful Post: [ View ]
 
 
30th January 2014, 11:41 AM |#2  
FateNozomi's Avatar
Senior Member
Thanks Meter: 644
 
Donate to Me
More
Great job! Keep these tutorials comming =)
The Following 2 Users Say Thank You to FateNozomi For This Useful Post: [ View ]
30th January 2014, 01:18 PM |#3  
stanlin salu's Avatar
Recognized Contributor
Flag New Delhi
Thanks Meter: 2,214
 
Donate to Me
More
Really a nice guide mate
The Following User Says Thank You to stanlin salu For This Useful Post: [ View ]
30th January 2014, 05:48 PM |#4  
Senior Member
Thanks Meter: 69
 
More
is there a way to get the old transition effect in the new home screen ? it was like inner of a cube or something like that , the new one is outside of a cube , i really like the old one
and is there a way to get transition effect in the app drawer ?
30th January 2014, 08:34 PM |#5  
hafini's Avatar
Senior Member
Flag Hanoi
Thanks Meter: 38
 
More
Tutorials are always welcomed
The Following User Says Thank You to hafini For This Useful Post: [ View ]
31st January 2014, 01:42 AM |#6  
Rajeev's Avatar
OP Senior Member
Flag Chennai , I N D I A
Thanks Meter: 14,900
 
Donate to Me
More
Quote:
Originally Posted by elias234

is there a way to get the old transition effect in the new home screen ? it was like inner of a cube or something like that , the new one is outside of a cube , i really like the old one
and is there a way to get transition effect in the app drawer ?

No idea about that mate.. Sorry
31st January 2014, 03:59 AM |#7  
DarkFalcon's Avatar
Senior Member
Flag Pune
Thanks Meter: 1,059
 
More
Nice tutorial @Rajeev bro! :thumbup:

Sent from my MT27i using XDA Premium 4 mobile app
The Following 2 Users Say Thank You to DarkFalcon For This Useful Post: [ View ]
7th February 2014, 06:37 AM |#8  
prashantsharma324's Avatar
Member
Flag mumbai
Thanks Meter: 6
 
More
great job!!! it was helpful
7th February 2014, 07:34 AM |#9  
Leo's Avatar
Senior Member
Thanks Meter: 190
 
More
could there be a tut for adding the ‘hiden apps’ choice?
7th February 2014, 09:43 AM |#10  
Rajeev's Avatar
OP Senior Member
Flag Chennai , I N D I A
Thanks Meter: 14,900
 
Donate to Me
More
Quote:
Originally Posted by Leo

could there be a tut for adding the ‘hiden apps’ choice?

Dont get u mate
7th February 2014, 09:53 AM |#11  
Leo's Avatar
Senior Member
Thanks Meter: 190
 
More
Quote:
Originally Posted by Rajeev

Dont get u mate

my bad English…
i mean could u have look at modding Home.apk to get the function of hiding apps in menu.
i see this function from Gem in Xposed.
hope u get me now…

Sent from my LT29i using XDA Premium 4 mobile app

Read More
Post Reply Subscribe to Thread
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes