1, please find the corresponding RES resources, modify the Styles.xml, will
<style name= "Workspaceicon.portrait" >
<item name= "Android:drawablepadding" >0dp</item>
<item name= "Android:paddingleft" >4dp</item>
<item name= "Android:paddingright" >4dp</item>
<item name= "Android:paddingtop" > @dimen/app_icon_padding_top</item>
<item name= "Android:paddingbottom" >4dp</item>
<item name= "Android:textsize" >13sp</item>
</style>
Switch
<style name= "Workspaceicon.portrait" >
<item name= "Android:drawablepadding" >0dp</item>
<item name= "Android:paddingleft" >4dp</item>
<item name= "Android:paddingright" >4dp</item>
<item name= "Android:paddingtop" > @dimen/app_icon_padding_top</item>
<item name= "Android:paddingbottom" >4dp</item>
<item name= "Android:textsize" >13sp</item>
<item name= "Android:singleline" >false</item>
<item name= "Android:lines" >2</item>
</style>
2, please modify the Bubbletextview.java Applyfromshortcutinfo method, will
Setcompounddrawablepadding ((int) ((GRID.FOLDERICONSIZEPX-GRID.ICONSIZEPX)/2f));
The parameters in this line of code are changed to a suitable value.
Android How to display a long desktop icon name full (some app's icon name is too long)