[Android Q&A, Help & Troubleshooting] oscaraigf:
Hello good.

A verr if someone can help me. I have decompiled the launcher stock of the g2 with the intention of changing the grid of icons, which comes standard is 5x5 and I would like something like 6x7 because my intention is similar to this but without reducing the dpi, ie reducing the margin between icons, I know I could keep trying but if someone shows me a cable and I'd appreciate a little guidance

<?xml version="1.0" encoding="utf-8"?>
<resources>
<style name="LGE_White_Theme_LauncherTheme">
<item name="android:colorForeground">#ffffffff</item>
<item name="android:windowBackground">@*android:color/transparent</item>
<item name="android:windowFrame">@null</item>
<item name="android:windowNoTitle">true</item>
<item name="android:windowContentOverlay">@null</item>
<item name="android:windowFullscreen">false</item>
<item name="android:windowShowWallpaper">true</item>
<item name="android:colorBackgroundCacheHint">@null</item>
</style>
<style name="LGE_White_Theme">
<item name="android:windowShowWallpaper">true</item>
</style>
<style name="LGE_White_Theme_RocketLauncher" />
<style name="LGE_White_Theme.WallpaperPicker" parent="@style/LGE_White_Theme">
<item name="android:screenOrientation">nosensor</item>
</style>
<style name="LGE_White_Theme.NoTitleBar" parent="@style/LGE_White_Theme">
<item name="android:windowNoTitle">true</item>
</style>
<style name="LGE_White_Theme.NoTitleBar.NoSensor" parent="@style/LGE_White_Theme.NoTitleBar">
<item name="android:screenOrientation">nosensor</item>
<item name="android:windowNoTitle">true</item>
</style>
<style name="LGE_White_Theme.NoSensor" parent="@style/LGE_White_Theme">
<item name="android:screenOrientation">nosensor</item>
</style>
<style name="LGE_White_Theme_WhiteFrame">
<item name="android:background">@color/lg_white_color</item>
</style>
<style name="Theme.WallpaperPicker" parent="@style/Theme">
<item name="android:screenOrientation">nosensor</item>
</style>
<style name="Theme" parent="@*android:style/Theme.Holo.Wallpaper.NoTitleBar">
<item name="android:windowShowWallpaper">true</item>
</style>
<style name="WorkspaceIcon" parent="@style/homescreen_topmenu_title_4x5">
<item name="android:ellipsize">end</item>
<item name="android:gravity">top|center</item>
<item name="android:layout_gravity">center</item>
<item name="android:layout_width">fill_parent</item>
<item name="android:layout_height">fill_parent</item>
<item name="android:maxLines">2</item>
<item name="android:minLines">2</item>
<item name="android:singleLine">false</item>
<item name="android:shadowColor">#b0000000</item>
<item name="android:shadowRadius">2.0</item>
<item name="android:lineSpacingExtra">@dimen/app_icon_lineSpacingExtra</item>
</style>
<style name="WorkspaceIcon.Portrait" parent="@style/WorkspaceIcon">
<item name="android:paddingTop">@dimen/app_icon_padding_top</item>
<item name="android:paddingBottom">4.0dip</item>
<item name="android:drawablePadding">@dimen/app_icon_drawable_padding</item>
<item name="android:paddingStart">2.0dip</item>
<item name="android:paddingEnd">2.0dip</item>
</style>
<style name="WorkspaceIcon.Landscape" parent="@style/WorkspaceIcon">
<item name="android:paddingTop">@dimen/app_icon_padding_top</item>
<item name="android:paddingBottom">@dimen/app_icon_padding_bottom</item>
<item name="android:singleLine">true</item>
<item name="android:drawablePadding">1.0dip</item>
<item name="android:paddingStart">1.0dip</item>
<item name="android:paddingEnd">1.0dip</item>
</style>
<style name="LargeWorkspaceIcon" parent="@style/WorkspaceIcon">
<item name="android:textSize">@dimen/large_theme_icon_text_size</item>
<item name="android:paddingTop">@dimen/large_theme_icon_padding_top</item>
<item name="android:shadowColor">#ff000000</item>
<item name="android:shadowRadius">2.5</item>
<item name="android:drawablePadding">@dimen/large_icon_text_margin_top</item>
<item name="android:lineSpacingExtra">@dimen/large_icon_text_liceSpacingExtra</item>
<item name="android:paddingStart">@dimen/large_theme_icon_text_padding_left</item>
<item name="android:paddingEnd">@dimen/large_theme_icon_text_padding_right</item>
</style>
<style name="LargeWorkspaceIcon.Portrait" parent="@style/LargeWorkspaceIcon" />
<style name="LargeWorkspaceIcon.Landscape" parent="@style/LargeWorkspaceIcon">
<item name="android:singleLine">true</item>
</style>
<style name="PhotoWorkspaceIcon" parent="@style/WorkspaceIcon">
<item name="android:paddingTop">@dimen/photo_icon_margin_top</item>
<item name="android:shadowColor">#ff000000</item>
<item name="android:shadowRadius">2.5</item>
<item name="android:drawablePadding">@dimen/large_icon_text_margin_top</item>
<item name="android:lineSpacingExtra">@dimen/large_icon_text_liceSpacingExtra</item>
<item name="android:paddingStart">@dimen/photo_icon_margin_left</item>
<item name="android:paddingEnd">@dimen/photo_icon_margin_right</item>
</style>
<style name="PhotoWorkspaceIcon.Portrait" parent="@style/PhotoWorkspaceIcon" />
<style name="PhotoWorkspaceIcon.Landscape" parent="@style/PhotoWorkspaceIcon">
<item name="android:singleLine">true</item>
</style>
<style name="WorkspaceIcon.Portrait.Folder" parent="@style/WorkspaceIcon.Portrait">
<item name="android:paddingTop">0.0dip</item>
<item name="android:drawablePadding">0.0dip</item>
</style>
<style name="WorkspaceIcon.Landscape.Folder" parent="@style/WorkspaceIcon.Landscape">
<item name="android:paddingTop">0.0dip</item>
<item name="android:layout_marginTop">-2.0dip</item>
<item name="android:drawablePadding">0.0dip</item>
</style>
<style name="WorkspaceIcon.Portrait.AppsCustomize" parent="@style/WorkspaceIcon.Portrait">
<item name="android:background">@null</item>
<item name="android:paddingTop">0.0dip</item>
<item name="android:paddingBottom">0.0dip</item>
<item name="android:maxLines">2</item>
<item name="android:singleLine">false</item>
<item name="android:drawablePadding">0.5dip</item>
<item name="android:paddingStart">0.0dip</item>
<item name="android:paddingEnd">0.0dip</item>
</style>
<style name="WorkspaceIcon.Landscape.AppsCustomize" parent="@style/WorkspaceIcon.Landscape">
<item name="android:background">@null</item>
<item name="android:paddingTop">4.0dip</item>
<item name="android:paddingBottom">0.0dip</item>
<item name="android:singleLine">true</item>
<item name="android:drawablePadding">0.0dip</item>
</style>
<style name="Hotseat" parent="@style/homescreen_launcher_menutitle">
<item name="android:ellipsize">marquee</item>
<item name="android:singleLine">true</item>
<item name="android:drawablePadding">@dimen/hotseat_drawable_padding</item>
</style>
<style name="Hotseat.Portrait" parent="@style/homescreen_launcher_menutitle">
<item name="android:textColor">#ffffffff</item>
<item name="android:ellipsize">marquee</item>
<item name="android:gravity">top|center</item>
<item name="android:layout_gravity">center</item>
<item name="android:paddingTop">@dimen/hotseat_height_top_padding</item>
<item name="android:paddingBottom">@dimen/hotseat_height_bottom_padding</item>
<item name="android:fadingEdge">horizontal</item>
<item name="android:layout_width">fill_parent</item>
<item name="android:layout_height">fill_parent</item>
<item name="android:singleLine">true</item>
<item name="android:includeFontPadding">false</item>
<item name="android:shadowColor">#b0000000</item>
<item name="android:shadowRadius">2.0</item>
<item name="android:drawablePadding">@dimen/hotseat_drawable_padding</item>
<item name="android:paddingStart">@dimen/hotseat_width_left_padding</item>
<item name="android:paddingEnd">@dimen/hotseat_width_right_padding</item>
</style>
<style name="Hotseat.Landscape" parent="@style/homescreen_launcher_menutitle">
<item name="android:textColor">#ffffffff</item>
<item name="android:ellipsize">marquee</item>
<item name="android:gravity">center</item>
<item name="android:layout_gravity">center</item>
<item name="android:paddingTop">@dimen/hotseat_height_top_padding</item>
<item name="android:paddingBottom">@dimen/hotseat_height_bottom_padding</item>
<item name="android:fadingEdge">horizontal</item>
<item name="android:layout_width">fill_parent</item>
<item name="android:layout_height">fill_parent</item>
<item name="android:singleLine">true</item>
<item name="android:includeFontPadding">false</item>
<item name="android:shadowColor">#b0000000</item>
<item name="android:shadowRadius">2.0</item>
<item name="android:drawablePadding">@dimen/hotseat_drawable_padding</item>
<item name="android:paddingStart">@dimen/hotseat_width_left_padding</item>
<item name="android:paddingEnd">@dimen/hotseat_width_right_padding</item>
</style>
<style name="SearchDropTargetBar">
<item name="android:layout_gravity">top|center</item>
<item name="android:orientation">horizontal</item>
<item name="android:layout_width">fill_parent</item>
<item name="android:layout_height">wrap_content</item>
</style>
<style name="SearchDropTargetBarWithGoogle">
<item name="android:orientation">horizontal</item>
<item name="android:layout_width">fill_parent</item>
<item name="android:layout_height">@dimen/qsb_bar_height</item>
</style>
<style name="SearchButton">
<item name="android:paddingTop">@dimen/lg_search_button_top_padding</item>
<item name="android:paddingStart">@dimen/lg_search_button_left_padding</item>
</style>
<style name="AddButton">
<item name="android:paddingTop">@dimen/lg_add_button_top_padding</item>
<item name="android:paddingEnd">@dimen/lg_add_button_right_padding</item>
</style>
<style name="SearchButtonDivider">
<item name="android:layout_gravity">center_vertical</item>
<item name="android:layout_width">wrap_content</item>
<item name="android:layout_height">fill_parent</item>
</style>
<style name="DropTargetBar">
<item name="android:orientation">horizontal</item>
<item name="android:layout_width">fill_parent</item>
<item name="android:layout_height">wrap_content</item>
</style>
<style name="TrashCanDropTarget">
<item name="android:orientation">horizontal</item>
<item name="android:layout_width">fill_parent</item>
<item name="android:layout_height">wrap_content</item>
<item name="android:paddingStart">@dimen/lg_trashcan_bar_padding_left_right</item>
<item name="android:paddingEnd">@dimen/lg_trashcan_bar_padding_left_right</item>
</style>
<style name="TrashCanCommonDropTargetContainer">
<item name="android:layout_width">0.0dip</item>
<item name="android:layout_height">wrap_content</item>
<item name="android:layout_weight">1.0</item>
</style>
<style name="TrashCanCommonDropTarget">
<item name="android:layout_width">fill_parent</item>
<item name="android:layout_height">@dimen/lg_trashcan_bar_height</item>
</style>
<style name="TrashCanCommonDropTargetIconText">
<item name="android:textSize">15.0sp</item>
<item name="android:textStyle">bold</item>
<item name="android:textColor">#ffffffff</item>
<item name="android:ellipsize">end</item>
<item name="android:gravity">center</item>
<item name="android:layout_gravity">center</item>
<item name="android:paddingTop">@dimen/lg_trashcan_bar_drawing_padding</item>
<item name="android:layout_width">wrap_content</item>
<item name="android:layout_height">@dimen/lg_trashcan_bar_height</item>
<item name="android:singleLine">true</item>
<item name="android:shadowColor">#bb000000</item>
<item name="android:shadowDx">-2.0</item>
<item name="android:shadowDy">2.0</item>
<item name="android:shadowRadius">2.0</item>
<item name="android:drawablePadding">@dimen/lg_trashcan_bar_drawable_padding</item>
</style>
<style name="CommonDropTargetContainer">
<item name="android:layout_width">fill_parent</item>
<item name="android:layout_height">wrap_content</item>
</style>
<style name="CommonDropTarget">
<item name="android:textSize">16.0sp</item>
<item name="android:textColor">#ffffffff</item>
<item name="android:ellipsize">end</item>
<item name="android:gravity">center_vertical</item>
<item name="android:layout_gravity">center</item>
<item name="android:layout_width">fill_parent</item>
<item name="android:layout_height">@dimen/search_bar_width</item>
<item name="android:singleLine">true</item>
<item name="android:drawablePadding">7.5dip</item>
<item name="android:paddingStart">25.0dip</item>
<item name="android:paddingEnd">25.0dip</item>
<item name="android:layout_marginStart">@dimen/search_bar_margin_side</item>
<item name="android:layout_marginEnd">@dimen/search_bar_margin_side</item>
</style>
<style name="TabIndicator">
<item name="android:textSize">12.0sp</item>
<item name="android:textColor">?android:textColorPrimary</item>
<item name="android:gravity">center</item>
<item name="android:layout_width">wrap_content</item>
<item name="android:layout_height">fill_parent</item>
<item name="android:paddingStart">35.0dip</item>
<item name="android:paddingEnd">35.0dip</item>
</style>
<style name="TabIndicator.AppsCustomize" parent="@style/TabIndicator">
<item name="android:textSize">@dimen/pagemenu_tab_text_size</item>
<item name="android:textColor">#ffffffff</item>
<item name="android:ellipsize">marquee</item>
<item name="android:background">@drawable/lg_menu_tab_widget_indicator_selector</item>
<item name="android:focusable">true</item>
<item name="android:layout_width">@dimen/lg_menu_single_tab_width</item>
<item name="android:singleLine">true</item>
<item name="android:shadowColor">#d8000000</item>
<item name="android:shadowDx">0.0</item>
<item name="android:shadowDy">3.0</item>
<item name="android:shadowRadius">4.0</item>
<item name="android:paddingStart">5.0dip</item>
<item name="android:paddingEnd">5.0dip</item>
</style>
<style name="WorkspaceIcon.AllApps" parent="@style/WorkspaceIcon">
<item name="android:background">@null</item>
</style>
<style name="FolderIcon">
<item name="android:textSize">@dimen/lg_folder_application_textsize</item>
<item name="android:textStyle">normal</item>
<item name="android:textColor">#ff000000</item>
<item name="android:ellipsize">marquee</item>
<item name="android:gravity">center_horizontal</item>
<item name="android:layout_gravity">center</item>
<item name="android:layout_width">fill_parent</item>
<item name="android:layout_height">fill_parent</item>
<item name="android:singleLine">true</item>
<item name="android:shadowColor">#b0000000</item>
<item name="android:shadowRadius">0.0</item>
</style>
<style name="AlertDialogCustom" parent="@*android:style/Theme.Holo.Light.Dialog" />
<style name="Theme.RenameFolderDialog" parent="@*android:style/Theme.Holo.Light">
<item name="android:layout_width">fill_parent</item>
<item name="android:layout_height">wrap_content</item>
</style>
<style name="lg_miniview_homescreen_info" parent="@style/homescreen_info">
<item name="android:textStyle">bold</item>
<item name="android:background">@drawable/lg_homescreen_topcontents_bg</item>
<item name="android:paddingStart">10.0dip</item>
<item name="android:paddingEnd">10.0dip</item>
</style>
<style name="lg_miniview_homescreen_btn" parent="@style/homescreen_btn">
<item name="android:textSize">@dimen/miniview_homescreen_btn_textsize</item>
<item name="android:textStyle">bold</item>
</style>
<style name="MyWindowTitleBackground">
<item name="android:background">@null</item>
</style>
<style name="TextAppearance" parent="@*android:style/TextAppearance.Holo.Medium.Inverse">
<item name="android:textSize">@dimen/lg_settings_actionbar_titlesize</item>
</style>
<style name="settingsActionBarStyle" parent="@*android:style/Widget.Holo.Light.ActionBar.Solid.Inverse">
<item name="android:background">@drawable/action_bar_background</item>
<item name="android:displayOptions">none</item>
<item name="android:titleTextStyle">@style/TextAppearance</item>
<item name="android:backgroundStacked">@drawable/action_bar_background</item>
</style>
<style name="HomeSettingsxxhdiptheme">
<item name="android:actionBarStyle">@style/settingsActionBarStyle</item>
<item name="android:actionBarSize">@dimen/lg_settings_actionbar_height</item>
</style>
<style name="homescreen_folderwidget_title" parent="@style/homescreen_openfolder_title">
<item name="android:textStyle">bold</item>
</style>
</resources>