Since all my tutorials are based on to decompile, change some variables, and recompile to a functional apk file and currently MI2 and all its clones have themes in their apk and thus it becomes somewhat harder to change things, especially because AppToMarket doesn't work properly as it's outdated, but there is still some functionality with some changes to AppToMarket. ( Find out how )

However, I strongly recommend that you learn how to use Apktool Instead, as AppToMarket and all other decompilation software with user friendly interface uses Apktool.

A good tutorial with Apktool can be found here, you may ignore certain things in it.

Slider Component [MIT AI2]

As you may have noticed when you use the Slider Componentbetween 0 and 100 it works properly, each step increases or decreases by one, but if you increase theMaxValue above 100 you getnumberswithcommas, e.g.

MaxValue 101you get 1.01 for each step

MaxValue 255 you get 2.55 for each step

and thisis because ofsetMax() value which is programmaticallyset at 100.

I have changed thissetMax()valueto255and by doing that I get increased or decreased steps by one…

Use any decompiling method that support smali

Notice

I’m not going to go into detail about how you go about it to decompile a Apk, since there are plenty of them on YouTube or Google. Maybe in the future I can make one or you can check this one out.

Designer properties

Blocks

Decompiled Apk

Go to your folder/path (in my case RGBColors)

1

2

3

..RGBColors\smali\com\google\appinventor\components\runtime

find and open Slider.smali file for editing, I recommend Notepad++ for this