[Galaxy Note II General] mannyvinny:
How to make Launcher Multi-dpi/240dpi

​

Decompile SecLauncher2.apk/SecLauncher4.apk. Then go to res folder and make new folder named "values-sw359dp-hdpi". This is the first step to make the Launcher multidpi. Now go to values-sw359dp-xhdpi or values-sw359dp-xxhdpi and copy dimens.xml and integers.xml to values-sw359dp-hddpi. Open dimens.xml from "values-sw359dp-hdpi" and change these lines:

Lines 320DPI Homescreen:

<dimen name="home_cellWidth_port">68.0dip</dimen>

<dimen name="home_cellHeight_port">92.0dip</dimen>

<dimen name="home_pageIndicatorTop">485.0dip</dimen>

<dimen name="hotseat_cellWidth">62.0dip</dimen>

Lines edited for 240DPI Homescreen:

<dimen name="home_cellWidth_port">92.0dip</dimen>

<dimen name="home_cellHeight_port">110.0dip</dimen>

<dimen name="home_pageIndicatorTop">699.0dip</dimen>

<dimen name="hotseat_cellWidth">74.2dip</dimen>

Lines 320DPI For App & Widgets Drawer:

<dimen name="menuAppsGrid_cellWidth">68.0dip</dimen>

<dimen name="menuAppsGrid_cellHeight">88.0dip</dimen>

<dimen name="menuAppsGrid_cellGapX">3.0dip</dimen>

<dimen name="menuAppsGrid_cellGapY">0.0dip</dimen>

<dimen name="menu_pageIndicatorGap">9.0dip</dimen>

<dimen name="menu_pageIndicatorTop">540.0dip</dimen>

<dimen name="menuWidgets_previewWidth">145.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_pagePaddingBottom">0.0dip</dimen>

<dimen name="menuWidgets_pagePaddingLeft">17.0dip</dimen>

<dimen name="menuWidgets_pagePaddingRight">17.0dip</dimen>

Lines edited for 240DPI For App & Widgets Drawer:

<dimen name="menuAppsGrid_cellWidth">92.0dip</dimen>

<dimen name="menuAppsGrid_cellHeight">114.4dip</dimen>

<dimen name="menuAppsGrid_cellGapX">3.6dip</dimen>

<dimen name="menuAppsGrid_cellGapY">0.0dip</dimen>

<dimen name="menu_pageIndicatorGap">10.8dip</dimen>

<dimen name="menu_pageIndicatorTop">699.0dip</dimen>

<dimen name="menuWidgets_previewWidth">174.0dip</dimen>

<dimen name="menuWidgets_previewHeight">141.6dip</dimen>

<dimen name="menuWidgets_cellGapX">31.2dip</dimen>

<dimen name="menuWidgets_cellGapY">2.4dip</dimen>

<dimen name="menuWidgets_pagePaddingTop">15.6dip</dimen>

<dimen name="menuWidgets_pagePaddingBottom">0.0dip</dimen>

<dimen name="menuWidgets_pagePaddingLeft">20.4dip</dimen>

<dimen name="menuWidgets_pagePaddingRight">.4dip</dimen>

To Increase Grid Size we have to change some lines in integers.xml.

Now, open integers.xml from values-sw320dp-hdpi and change these lines:

Lines 320DPI Homescreen:

<integer name="home_cellCountX">5</integer>

<integer name="home_cellCountY">5</integer>

Lines 240DPI Homescreen:

<integer name="home_cellCountX">5</integer>

<integer name="home_cellCountY">6</integer>

Lines 320DPI App Drawer:

<integer name="menuAppsGrid_cellCountX">5</integer>

<integer name="menuAppsGrid_cellCountY">6</integer>

Lines 240DPI App Drawer:

<integer name="menuAppsGrid_cellCountX">5</integer>

<integer name="menuAppsGrid_cellCountY">6</integer>

Finally compile SecLauncher2.apk/Seclauncher4.apk

Credits-
[MENTION=4824728]Pafcholini[/MENTION]