Hello Everyone,
This is my new extension to convert Android View to Neumorphism UI Pattern.
What is Neumorphism design ?
The neumorphic effect is a combination of the current famous flat UI and the old skeuomorphic principles! The components have a dark box-shadow on the bottom and a light box shadow on top; the combination of both creates the effect of the elements pushing themselves through your display.
View accepts Android View like Arrangements, button, text view, checkbox etc which should be converted to Neumorphism Design
parentColor accepts int colour and pass parent colour in int format. If -1 then the default colour will be added.
controlColor accepts int color and pass control color to view in int format. If -1 then the default colour will be added.
isSharpeEdges accepts String . If you pass "true" then Sharp Edges will be formed or if you pass "false" then Soft Edges will be formed else if you pass any other string then the function is not executed
isCurvedSurface accepts String similarly like isSharpeEdges. If you pass "true" then the surface will be seen as curved else function will not be executed.
viewShape accepts int value. It will make the view surface seems curved with colour shades. If you pass CircularViewShape then a circular view will be formed. If -1 then the function will not be executed.
cornerRadius accepts int value. It will help you to change the corner radius of the view. If -1 then default cornerRadius will be added.
elevation accepts int value. It will add elevation to the view. If -1 then default elevation will be added.
isBorder accepts boolean value. If true then it will set border with border width you will pass next. If false then border-width will not be set.
borderWidth accepts int value. It will help you to set border according to your need. if -1 then border-width will not be set.
sepBGColor accepts int color value. It will help you to set separate background colour for the view. If -1 then the function will not be executed.
The community has adopted a new approach to the posting of extensions on the community, and all new extensions are now put through an evaluation process.
We want you to be able to present your extension in the best condition possible, as bug free as possible, with the best documentation, and the Power Users may provide you with several recommendations of how to improve your extension and documentation prior to submission to the community.
You should handle or resolve all the issues raised, then provide a new aix and other relevant files here in this topic for final evaluation. Once this is complete, you can create a new topic for your extension, and this will be published to the community.
On which Android version are you trying .. also which builder are you using to compile the application. This extension uses AndroidX libraries. Extension for Kodular will be available soon.
True and False are boolean values, why would someone substitute a String there? Why create true and false properties when such already exist in ai2 blocks.