#1 2016-07-18 00:26:06

Andreas
Member
Registered: 2016-07-12
Posts: 8

Toast Message - Native Toasts (a little text popups) on your apps

Hello!

This App Builder's Toast plugin allows you to show a native Toast (a little text popup) on iOS, Android and Windows Phone

The Toast Plugin gets you following Arguments

Toast "Message", "Duration", "Position", "PixelFromPosition"

The "Toast" argument allows you to show a native Toast (a little text popup).

Message:             Toast Message
Duration:            Duration of the Toast Message ('short', 'long', '3000', 900 (the latter are milliseconds)
Position:            Postion of the Toast Message ('top', 'center', 'bottom')
PixelFromPosition:   Pixels from the original position (for example negative value to move it up a bit)

The "StylingToast" argument allows you to show a native Toast (a little text popup) without your own styling.

StylingToast "Message", "Duration", "Position", "PixelFromPosition", "Opacity", "BackgroundColor", "TextColor", "TextSize", "CornerRadius", "HorizontalPadding", "VerticalPadding"

Message:             Toast Message
Duration:            Duration of the Toast Message ('short', 'long', '3000', 900 (the latter are milliseconds)
Position:            Postion of the Toast Message ('top', 'center', 'bottom')
PixelFromPosition:   Pixels from the original position (for example negative value to move it up a bit)
Opacity:             0.0 (transparent) to 1.0 (opaque). Default 0.8
BackgroundColor:     Make sure you use #RRGGBB. Default #333333
TextColor:           Make sure you use #RRGGBB. Default #FFFFFF
TextSize:            Default is approx. 13.
CornerRadius:        Minimum is 0 (square). iOS has default 20.0, Android has default 100.0
HorizontalPadding:   iOS has default 16.0, Android has default 50.0
VerticalPadding:     iOS has default 12.0, Android has default 30.0

Tested on Android, iOS and Windows Phone.

Installation:

Copy the content from the .zip file in

C:\Users\[Your Windows User Name]\Documents\AppBuilder\Plugins

After that run App Builder go to the Program Options -> Plugins and check the Toast click on the Okay button.

If have this step finished Click in the Menu App-> App Options Click on Plugins and check the Toast Plugin.

That's it you can use Toast for you app.

How can i use this:

Just create an push button for example click on the code window and search in the Actions Search field "Toast" or StylingToast that's it fill out the information you would like to share.

Happy Toasting wink

Toast.zip

Offline

#2 2016-07-18 00:30:38

David
Admin
From: Alcobendas, Madrid, Spain
Registered: 2015-04-21
Posts: 1,660
Website

Re: Toast Message - Native Toasts (a little text popups) on your apps

Hello Andreas!

Thanks for sharing your plugins with us sir! smile

Offline

Board footer

Powered by FluxBB


Copyright ©2018 DecSoft. All rights reserved.