⚒️ Smart MiniTools
Every developer should use this extension tool I recommend. It will make your app UI
better with adavnce android and color tools.
Let’s see it’s blocks…
Method Blocks :
Wallpaper 👉
ResetSystemWallpaper - Remove currently set system home screen wallpaper, reverting to the systems built-in wallpaper.
ResetLockScreenWallpaper - Remove currently set system lock screen wallpaper, reverting to the systems built-in wallpaper.
SetWallpaperHome - Use WallpaperError event for error.
➜imagePath
input type text
SetWallpaperLockScreen - Minimum api level should be 25. For error use WallpaperError event.
➜imagePath
input type text
GetHomeScreenWallpaper - Retrieve the current system wallpaper, if no wallpaper is set, the system built-in static wallpaper is returned. For error use WallpaperError event.
➜imagePath
input type text
GetLockScreenWallpaper - Retrieve the current lock screen wallpaper, if no wallpaper is set, the system built-in static wallpaper is returned. For error use WallpaperError event.
➜imagePath
input type text
Display & Tools 👉
GetStatusBarHeight - Get status bar height.
GetNavigationBarHeight - Get navigation bar height.
SetFullScreen - Set fully transparent status bar and navigation bar. Required api level should be greater than or equal to KITKAT.
DisplayRefreshRate - Get the refresh rate of display in frame per second.
OrientationOfDisplay - # Portrait → 1, # Landscape → 2, # Undefined → 0
IsBrightnessAutoMode - Get boolean for automatic brightness mode is active or not.
ChangeBrightnessMode - Change brightness mode like automatic to manual.
Color tools 👉
GetStatusDarkerColor - Returns the darker color of the given color for the status bar.
➜color
input type number/color
IsColorDark - Returns true if it is a dark color.
➜color
input type number/color
AnimateColor - Animate the background color of a view.
➜view
input type component
➜startColor
input type number
➜endColor
input type number
AnimateStatusBarColor - Animate the NavigationBar Color.
➜endColor
input type number
AnimateNavigationBarColor - Animate the StatusBar Color.
➜endColor
input type number
CalculateColor1 - This is a simple color tool block.
➜color
input type number
➜alpha
input type number
CalculateColor2 - Color tool for transparent color.
➜alpha
input type number
➜red
input type number
➜green
input type number
➜blue
input type number
GetDominantColor1 - Returns the dominant color of the given image. Returns 0 if there is an error or problem.
➜imagePath
input type text
GetDominantColor2 - Returns the almost second dominant color of the given image. Returns 0 if there is an error or problem.
➜imagePath
input type text
GetMixedDominantColor -
➜imagePath
input type text
Event Blocks :
Wallpaper
WallpaperChanged - Event for success.
➜message
output type text
GotWallpaper - Retrieve the current system wallpaper; if no wallpaper is set, the system built-in static wallpaper is returned.
➜imagePath
output type text
WallpaperError - Event for any error occurred in wallpaper activity. Like get wallpaper and set wallpaper.
➜errorMessage
output type text
Example of color tools
Video
Advanced Example
Credit :
Thanks @iamwsumit , @Shreyash and
This docs is generated from AIX Docs - Cttricks. Hit button if you liked this extension and feel free to comment below your reviews and suggestion.
Click here (v1) to download this extension.