5,597,198 Members 43,441 Now Online
XDA Developers Android and Mobile Development Forum

Touchwiz Home Screen Grid Mod?

Tip us?
 
mjcollum
Old
#11  
mjcollum's Avatar
Recognized Contributor
Thanks Meter 4654
Posts: 2,078
Join Date: Mar 2011
Location: TEXAS

 
DONATE TO ME
i figured i might chime in..
from my notes (based on a previous version of tw but should be the same.)

decompile the twlauncher

edit
Integers.xml
dimens.xml.

in Integers.xml
<integer name="home_cellCountX">4</integer>
<integer name="home_cellCountY">4</integer>
<integer name="menuAppsGrid_cellCountX">4</integer>
<integer name="menuAppsGrid_cellCountY">5</integer>
<integer name="menuWidgets_cellCountX">2</integer>
<integer name="menuWidgets_cellCountY">3</integer>

Dimens.xml
<dimen name="home_cellHeight_port">105.0dip</dimen>
<dimen name="home_cellGapY_port">6.0dip</dimen>
<dimen name="home_pageIndicatorTop">466.0dip</dimen>
<dimen name="home_pageIndicatorTopShrunken">466.0dip</dimen>
<dimen name="pgIndicatorPreview_top_adjust">0.0dip</dimen>
<dimen name="hotseat_topGap">0.0dip</dimen>
<dimen name="hotseat_bottomGap">18.0dip</dimen>
<dimen name="menuAppsGrid_pageMarginPlusPaddingTop">27.0d ip</dimen>
<dimen name="menuAppsGrid_cellWidth">82.0dip</dimen>
<dimen name="menuAppsGrid_cellHeight">94.0dip</dimen>
<dimen name="menuAppsGrid_cellGapX">4.0dip</dimen>
<dimen name="menuAppsGrid_cellGapY">2.0dip</dimen>
<dimen name="menu_pageIndicatorTop">520.0dip</dimen>
<dimen name="menuWidgets_pageMarginPlusPaddingTop">13.0di p</dimen>
<dimen name="menuWidgets_previewWidth">146.0dip</dimen>
<dimen name="menuWidgets_previewHeight">118.0dip</dimen>
<dimen name="menuWidgets_cellGapX">26.0dip</dimen>
<dimen name="menuWidgets_cellGapY">2.0dip</dimen>
<dimen name="menuWidgets_pagePaddingTop">13.0dip</dimen>
<dimen name="menuWidgets_pagePaddingLeft">17.0dip</dimen>
<dimen name="menuWidgets_pagePaddingRight">17.0dip</dimen>
<dimen name="menuWidgets_title_textSize">14.0dip</dimen>
<dimen name="menuWidgets_widgetSize_textSize">14.0dip</dimen>


you can edit those fields to change the number of icons using integers.xml
then dimens.xml changes the actual size of each icon.

probably will have to mess around a bit to get values that look best for you.

maybe that helps someone.
The Following 3 Users Say Thank You to mjcollum For This Useful Post: [ Click to Expand ]
 
MobDad
Old
(Last edited by MobDad; 6th January 2014 at 08:49 AM.)
#12  
MobDad's Avatar
Senior Member
Thanks Meter 176
Posts: 240
Join Date: Jan 2009
Location: South Florida
Quote:
Originally Posted by ImEVO View Post
Great mod! but there's a problem.. any home screen wallpaper I set is not centered its off to the left.. how do I fix this??
I am sure that MJcollom's way will be more complete but for a simpler method, the 5x5 launcher mod you are using has scrolling wallpaper. Play around with some different wallpapers and be careful where you crop them and you will be ok.
The Following 3 Users Say Thank You to MobDad For This Useful Post: [ Click to Expand ]
 
mjcollum
Old
#13  
mjcollum's Avatar
Recognized Contributor
Thanks Meter 4654
Posts: 2,078
Join Date: Mar 2011
Location: TEXAS

 
DONATE TO ME
Quote:
Originally Posted by MobDad View Post
I am sure that MJcollom's way will be more complete but for a simpler method, the 5x5 launcher mod you are using has scrolling wallpaper. Play around with some different wallpapers and be careful where you crop them and you will be ok.
That was just some info for anyone feeling adventurous.
I'm sure everyone really appreciates knowing they don't have to do it manually.

Sent from my SM-N900P using Tapatalk
The Following User Says Thank You to mjcollum For This Useful Post: [ Click to Expand ]
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes