This commit is contained in:
EddyVerbruggen 2014-04-17 21:23:44 +02:00
parent 495cab2b79
commit 86ea31ce14
5 changed files with 8 additions and 5 deletions

View File

@ -37,13 +37,15 @@ Example usages:
iOS
![ScreenShot](screenshot-ios-toast.png)
![ScreenShot](screenshots/screenshot-ios-toast.png)
Android
![ScreenShot](screenshot-android-toast.png)
![ScreenShot](screenshots/screenshot-android-toast.png)
WP8 (will be added soon)
Windows Phone 8
![ScreenShot](screenshots/screenshot-wp8.jpg)
## 3. Installation
@ -143,6 +145,7 @@ For iOS most credits go to this excellent [Toast for iOS project by Charles Scal
## 6. CHANGELOG
2.0: WP8 support
1.0: initial version supporting Android and iOS
## 7. License

View File

Before

Width:  |  Height:  |  Size: 101 KiB

After

Width:  |  Height:  |  Size: 101 KiB

View File

Before

Width:  |  Height:  |  Size: 138 KiB

After

Width:  |  Height:  |  Size: 138 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 56 KiB

View File

@ -50,7 +50,7 @@ namespace WPCordovaClassLib.Cordova.Commands
Border b = new Border();
b.CornerRadius = new CornerRadius(12);
b.Background = new SolidColorBrush(Color.FromArgb(180, 55, 55, 55));
b.Background = new SolidColorBrush(Color.FromArgb(190, 55, 55, 55));
b.HorizontalAlignment = HorizontalAlignment.Center;
Grid pgrid = new Grid();
@ -91,7 +91,7 @@ namespace WPCordovaClassLib.Cordova.Commands
grid.Children.Add(popup);
popup.IsOpen = true;
int hideDelay = "long".Equals(duration) ? 5500 : 2500;
int hideDelay = "long".Equals(duration) ? 5500 : 2800;
this.hidePopup(hideDelay);
}
}