[Android General] simonpunk2013:
For anyone who wants to resize those widgets and the launcher by yourself, I can give you some instructions, but there is no exact value I can tell, all need to do it and find it by yourself. Bbefore you start to do it, you may need some better text editor that shows you the line number so that we can quickly find the line in which the code we are looking for is. Now you may try the following instructions.

Convert decimal to 16 bit or 32 bit hex Online: http://babbage.cs.qc.cuny.edu/IEEE-754.old/Decimal.html

Convert 32 bit Hex to decimal Online: http://babbage.cs.qc.cuny.edu/IEEE-754.old/32bit.html

Convert 64 bit Hex to decimal Online: http://babbage.cs.qc.cuny.edu/IEEE-754.old/64bit.html

Things you need to do before doing the widget resizing: ↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓

1. Fixing the background layout from beyond the hight of your screen​

Edit /res/layout/launcher.xml

Look for line 5, and line 6, change the both values of <android:layout_height="615.0dip"> to a lower value like 585.0dip.

Recompile and see the effect, if it still doesn't fit, try a higher or lower value, and recompile again.

2. Fixing the view of angle during showing the screen list​

Edit /jp/co/evangelion/nervhome/a/i.smali

Look for line 60, change the value of <const/high16 v0, 0x44340000> to the width value your phone has. You can use the above websites to convert the decimal to hex value, For example a 960x540 devices, the width is 540, so 540 will be converted to a 32 bit hex value of 0x44070000. But!!If the transition effect still looks bigger when you swap to select the screen among each others, then try to reduce the value a little bit, like my phone has 1440 width, but set to 1440 still looks bigger, so I have to reduce the value to 1352 to perfectly fit my screen.

Recompile and see the effect.

3. The way to control the amount of apps on each drawer screen.​

Edit /nervhome/extended/drawer/a.smali.

Search all the hex values of 0x14, here it equals to a dec value of 20, that's the amount of apps on each drawer screen. So, replace all the 0x14 to your desired amounts in a hex value. For example, I want to show 25 apps on the drawer per page, so all the value will be changed to 0x19.

Recompile and see the effect.

4. Resize drawer icon and the Text label..​

Edit /nervhome/extended/drawer/drawerCell.smali.

Look for line 55, "const/16 v3, 0x60" means the icon width, change the value to anther.

Look for line 57, "const/16 v4, 0x70" means the icon height, change the value to anther.

Edit /nervhome/extended/drawer/b.smali.

Look for line 99, "const/16 v1, 0x18" means the padding between the icon and its text label, for me, I need to add a bigger bigger and bigger value to see the effect.

Look for line 109, "const/high16 v0, 0x41500000" means the text label size, change it to another value in 32 bit hex.

Look for line 119, "const/16 v0, 0xdf", not sure it means the total height of drawer or not, if you set a higher value, the drawer will look wider from top to bottom, and its screen will become scroll-able if it exceeds visible area of your screen, you can try by yourself.

Look for line 147, "const/16 v4, 0x64" means the position of Right, the higher value you have, a little the text label will move to the right. For me again, I need to change a much larger value to see the effect.

Recompile and see the effect.

5. Resize the Drawer indicator and its position.​

Edit /nervhome/extended/drawer/DrawerIndicator.smali.

Look for line 91, "0x168", a higher value those Drawer indicators will shift to the right.

Search all the value of "0x1a", the higher value it gets, the bigger size the Drawer indicators get.

Look for line 140, "0x29" means the spacing between each indicators, enhance the value and they will get separated from each other.

Edit /nervhome/extended/drawer/MagiDrawer.smali.

6.]\ Look for line 66, "0x1a" must equal to the value that you have changed from step 2. This step must be done with step 2 together, otherwise the indicators cannot be shown properly.

7. Recompile and see the effect.

6. Resize the Desktop indicator and its position.​

There are 3 pngs file inside /res/drawable-xhdpi which are slider_back, slider_green and slider_line.

Edit /res/layout/launcher.xml, look for line 16, "android:layout_width=347.5dip" means the width of the slider back, change it to higher value will result in a wider slider_back.

Edit /nervhome/q.smali, search all the value of "0x2b7", it means the width of slider_line. Change all the "0x2b7" to higher or lower value.

In the same smali, search all the value of "0x71", it maens the width of slider_green. Change all the values to another one.

I am not sure this step has any affect or not, But I just did this. In the same smali, look for line 95, change the value of "0x253" to the width value of your slider_line then minus 100. For example, If you change the width of slider_line to 1000, then this value will be 1000-100=900 in dec.

Recompile and see the effect.

7. Decide the size of a small square shortcut item on desktop.(Important!!!)​

!!You must do this step before you adjust the screen padding and widget resizing!!

Edit /res/values/dimens.xml, Look for line 7 & 8, change the both values of "cell_width" and "cell_height" to larger or smaller one, for me the value is set to 102.25dip and 102.0dip, just change them based on your situation.

After you are happy with that size, then you can go head the step 7.

8. Fixing the LongAxispadding or ShortAsixpadding among widgets​

Now!!! select a clean screen which no any apps are placed yet, then add your apps shortcut from your drawer to that screen until the whole screen is fully placed with your apps shortcut, and there should be totally 24 small squares app shortcut in a screen. Now you should see how the whole picture looks like, and you can start the following step to adjust the padding between each small squares.

Edit /res/layout/workspace_screen.xml

To fix the padding from top to bottom, look for line 2, change the value of <longAxisStartPadding="X.Xdip"> and <longAxisEndPadding="XX.Xdip" to different value. (the higher value you have, the narrow padding you have.)

To fix the padding from left to right, look for line 2, change the value of <ShortAxisStartPadding="X.Xdip"> and <ShortAxisEndPadding="X.Xdip" to different value.

Recompile and see the effect, and keep trying until it looks good.

Note: For me, I still ended up using photo software to edit the background crop image to fit my padding. You may need to do it if you can't manage to fix the padding. So, tell me if you can't.

↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑

Congratulation!!!! You can start resizing your widgets!!!:)​

I will make a guideline for widget resizing on my google drive. Give me some time.

P.S. All my work are done in my phone, except the photo resizing, I use photo editor on Windows http://www.neoimaging.cn/to batch resize photos. Also, you can download the android version of "apktool" to re or decompile the apk. And "show java" to help you checkout the java code as well.

And I will keep to update all the fixes for resizing on this post.