Neomorphic FrameLayout for sketchware pro
Add Lib
com.github.4inodev:Neomorphic-FrameLayout-Android:1.03
Convert view
com.chinodev.androidneomorphframelayout.NeomorphFrameLayout
Light theme
app:neomorph_view_type="rectangular" app:neomorph_shadow_type="outer" app:neomorph_elevation="8dp" app:neomorph_corner_radius="20dp" app:neomorph_highlight_color="#fcfcfc" app:neomorph_background_color="#F4F5F7" app:neomorph_shadow_color="#D9DBDE"
Dark theme
app:neomorph_view_type="rectangular" app:neomorph_shadow_type="outer" app:neomorph_elevation="8dp" app:neomorph_corner_radius="20dp" app:neomorph_highlight_color="#414b66" app:neomorph_background_color="#333b52" app:neomorph_shadow_color="#282f42"
Attributes:
"neomorph_view_type" - shape type: rectangular or circular"
neomorph_shadow_type" - shadow type: inner or outer"
neomorph_elevation" - dimension value, determines shadow elevation and inner padding
"neomorph_corner_radius" - pretty self-explanatory =)
"neomorph_background_color" - view color
"neomorph_shadow_color" - right-bottom shadow color
"neomorph_highlight_color" - left-top highlight color
"neomorph_clickable" - not used yet
Source : Neomorphic-FrameLayout-Android
How to fix error
ReplyDeleteError parsing XML..
PLS
Add onClick set the shadow type to inner
ReplyDelete