B Bill Norris Active Member Licensed User Longtime User Mar 29, 2012 #1 Is it possible to set the screen position of a toast message?
NJDude Expert Licensed User Longtime User Mar 29, 2012 #2 The standard Toast cannot be positioned, however, using the CustomToast lib is posible. Upvote 0
B Bill Norris Active Member Licensed User Longtime User Mar 29, 2012 #3 Thanks Works like a charm! Upvote 0
Dave O Well-Known Member Licensed User Longtime User Jul 4, 2016 #4 I'm hoping to show a "real" toast message in a certain position (unlike the various custom toast libraries, which are cosmetically (and often functionally) different). The Android docs describe being able to position a toast message: https://developer.android.com/guide/topics/ui/notifiers/toasts.html#Positioning Is this possible to do in B4A, either natively or with some JavaObject code? As much as possible, I'm trying to get a standard Android look and feel to my B4A apps. Thanks! Upvote 0
I'm hoping to show a "real" toast message in a certain position (unlike the various custom toast libraries, which are cosmetically (and often functionally) different). The Android docs describe being able to position a toast message: https://developer.android.com/guide/topics/ui/notifiers/toasts.html#Positioning Is this possible to do in B4A, either natively or with some JavaObject code? As much as possible, I'm trying to get a standard Android look and feel to my B4A apps. Thanks!
Dave O Well-Known Member Licensed User Longtime User Jul 5, 2016 #5 After some help from Erel and others, I've come up with a sub that uses Reflector and JavaObject to create a toast at a certain position. Check it out in the Code Snippets section. Cheers! Upvote 0
After some help from Erel and others, I've come up with a sub that uses Reflector and JavaObject to create a toast at a certain position. Check it out in the Code Snippets section. Cheers!