[FREE] Popup View - An Extension to show your views as popup

Popup View

This extension helps you to show your layouts as popups at any position with gravity. This is a very simple and small extension that maybe useful for you. You can show the popups by giving the component and with any custom offsets.

Let see its blocks and their documentation.


All Blocks


Documentation

component_event

This event raises when the popup view is dismissed.

component_method

This block register the component as Popup View.

component_method (1)

This block show the popup view with gravity. It requires a component at where you want to show the popup.

component_method (2)

This block show the popup at given offset with gravity. You can find the offset of a component by GetX and GetY block.

component_method (3)

Returns true if the popup is being shown.

component_method (4)

Dismiss the popup view if showing.

image

Returns the X and Y offset of the given component.

image

If set to true then the popup can be dismissed by the user by touching outside otherwise popup would not be dismissed on outside touch.

image

Properties for defining the gravity.


Usage

Let see how to use the extension

Registering the Popup View

You would need to register the component first to show the popup view.

blocks


Showing with Component

blocks (1)

This will show the popup near the button component. ) gravity mean No Gravity.

image (2) (1)


Showing with Positions

blocks (1)

Showing the popup at the top gravity.

image (1)


Showing with Corner Positions

blocks


You can use bitwise block for getting the corners positions this way :point_down:

image (1)


Downloads

Download Extension : com.sumit1334.popupview.aix (6.6 KB)


Donate

If you liked my work and want to donate then:


Credit

Thanks @Shreyash for the super power full Rush .

Worked very hard for this long extension so like the extension if you like it :+1:

Suggestion and issue are welcome

Thanks you
Sumit​:wink:

18 Likes

good work @Sumit1334 :+1:

1 Like

awesome extension :heart_eyes: @Sumit1334

1 Like

Nice one, very useful!

1 Like

Awesome awesome… :ok_hand::ok_hand::ok_hand::bouquet::bouquet::bouquet:

1 Like

This is something interesting!
Great extension :ok_hand:

2 Likes

Nice extension :heart_eyes:

Another Amazing Extension by Sumit!!
:fire::fire::heart:

nice extension :+1:

1 Like

Amazing extension, as always !

2 Likes