Skip to content

Latest commit

 

History

History
20 lines (17 loc) · 1.7 KB

README.md

File metadata and controls

20 lines (17 loc) · 1.7 KB

Neomorph FrameLayout

I got this project from : https://github.com/4inodev/Neomorphic-FrameLayout-Android I added some attributes for using it in better way.

Attributes:

"neomorph_padding_top" - set padding top to view, if "0dp" passed for this, The view wouldn't have top evalation
"neomorph_padding_bottom" - set padding top to view, if "0dp" passed for this, The view wouldn't have bottom evalation
"neomorph_padding_right" - set padding top to view, if "0dp" passed for this, The view wouldn't have right evalation
"neomorph_padding_left" - set padding top to view, if "0dp" passed for this, The view wouldn't have left evalation
"neomorph_selected_color" - When you are using Neomorph for parent of button and you want to set background color to it, use this.
"neomorph_selected_padding" - Padding for background color
"neomorph_style" - style could be "stroke" or "fill"

Recommendation:

I didn't use this view any more, Because it's not good for complicated UI, I reccommned you to use this library :
Neumorphism in Android -> https://github.com/fornewid/neumorphism {I use this for my project, it's not too much heavy in Rendaring the view.}
Or
Android Neumorphism Design -> https://www.uplabs.com/posts/android-neumorphism-library