CustomSheet: Create custom sheets with ease

1.Introduction

Description: Using this extension you can create dialogs like bottom sheet and top sheet (with similar animation).Also you can specify animation style (left,right,bottom,top).
Latest Version: 1
Released: May 27, 2021
Last Updated: 

image

3.Documentation

Register arrangement
image

id ~ int
component ~ AndroidViewComponent
gravity ~ int (48 for Top,80 for bottom and 17 for center; more values can be found here 2)
height ~int (-1 for fill parent and -2 for wrap content)
width ~ int (-1 for fill parent and -2 for wrap content)
dimAmount ~ float (between 0 and 1)
animationDuration ~ int (500 is suitable for all animations)
isCancelable ~ boolean (specifies whether back press can dismiss this sheet or not)
swipeEnabled ~ boolean (specifies whether user can dismiss this sheet by swiping in opposite direction of origin)

Show Sheet
image

Dismiss/Hide Sheet
It can be shown again
image

Remove Sheet
Needs to be registered again
image

IsShowing
Checks whether given sheet is showing or not
image

Get Ids
Returns a list of used IDs
image

4.Download

Aix: com.sunny.customsheet.aix (19.8 KB)
Aia: easy.aia (37.0 KB)

Meanwhile you can test this apk.

Kindly email me if you want to donate. :heart:

Hope it will be helpful! :slightly_smiling_face:

Subscribe
Notify of
0 Comments
Inline Feedbacks
View all comments