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.1
Released:  May 27, 2021
Last Updated:  July 23, 2021

2.Blocks

image
image

3.Documentation and Usages

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)
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.Downloads

5. ChangeLog

ChangeLog Version 1.1

New Blocks

  • Added GetIds method

Hope it will be helpful!

Subscribe
Notify of
guest
0 Comments
Inline Feedbacks
View all comments