Android Utils
Android
Utils
com.
jeovanimartinez.
androidutils
Base
com.
jeovanimartinez.
androidutils.
about
About
Activity
About
App
About
App
Config
com.
jeovanimartinez.
androidutils.
activity.
config
Task
Description
Config
com.
jeovanimartinez.
androidutils.
annotations
Drawable
Or
Drawable
Res
String
Or
String
Res
com.
jeovanimartinez.
androidutils.
billing.
premium
Premium
com.
jeovanimartinez.
androidutils.
extensions.
activity
configure
Task
Description()
com.
jeovanimartinez.
androidutils.
extensions.
basictypes
map
Value()
com.
jeovanimartinez.
androidutils.
extensions.
context
get
Color
Compat()
get
Drawable
Compat()
get
Font
Compat()
long
Toast()
short
Toast()
type
As
Drawable()
type
As
String()
com.
jeovanimartinez.
androidutils.
extensions.
dimension
dimen()
dimen
F()
dp2px()
dp2px
F()
px2dp()
px2dp
F()
px2sp()
px2sp
F()
sp2px()
sp2px
F()
com.
jeovanimartinez.
androidutils.
extensions.
graphics
rotate()
trim
By
Border
Color()
com.
jeovanimartinez.
androidutils.
extensions.
nullability
when
Not
Null()
com.
jeovanimartinez.
androidutils.
extensions.
view
on
Animation
End()
com.
jeovanimartinez.
androidutils.
filesystem
File
Utils
Temp
Files
com.
jeovanimartinez.
androidutils.
graphics.
utils
Corner
Radius
Dimension
PX
DP
SP
Margin
Padding
com.
jeovanimartinez.
androidutils.
moreapps
More
Apps
com.
jeovanimartinez.
androidutils.
reviews
Rate
App
Rate
App
Activity
com.
jeovanimartinez.
androidutils.
share
Share
Utils
com.
jeovanimartinez.
androidutils.
themes.
translucent
Translucent
Activity
com.
jeovanimartinez.
androidutils.
views.
viewtoimage
View
To
Image
com.
jeovanimartinez.
androidutils.
views.
viewtoimage.
config
Exclude
Mode
HIDE
CROP_VERTICALLY
CROP_HORIZONTALLY
CROP_ALL
Exclude
View
com.
jeovanimartinez.
androidutils.
watermark
Watermark
Watermark
Utils
com.
jeovanimartinez.
androidutils.
watermark.
config
Watermark
Position
ABSOLUTE
TOP_LEFT
TOP_CENTER
TOP_RIGHT
MIDDLE_LEFT
MIDDLE_CENTER
MIDDLE_RIGHT
BOTTOM_LEFT
BOTTOM_CENTER
BOTTOM_RIGHT
Watermark
Shadow
com.
jeovanimartinez.
androidutils.
web
System
Web
Browser
Android Utils
/
com.jeovanimartinez.androidutils.extensions.graphics
Package
com.
jeovanimartinez.
androidutils.
extensions.
graphics
Functions
Functions
rotate
Link copied to clipboard
fun
Bitmap
.
rotate
(
degrees
:
Float
)
:
Bitmap
Content copied to clipboard
Rotate a bitmap the indicated degrees.
trim
By
Border
Color
Link copied to clipboard
fun
Bitmap
.
trimByBorderColor
(
@
ColorInt
color
:
Int
=
Color.TRANSPARENT
,
trimMargin
:
Margin
?
=
null
)
:
Bitmap
Content copied to clipboard
Trims the borders of a bitmap of a specific color.