Roger Daley Well-Known Member Licensed User Longtime User Nov 2, 2019 #1 Hi All, A quick query on CustomToast.Show. In the sample below I believe this should show the message for 30 seconds, it shows for only 4-5 seconds. Is this the limit on the display time? CustomToastMsg has been defined and initialized. Any Feedback would be great. I am now thinking a label and a timer would be better but this is a puzzle. Regards Roger Code: Copy CustomToastMsg.Show("This is a CustomToast Message",30000,Gravity.TOP,0,35%y)
Hi All, A quick query on CustomToast.Show. In the sample below I believe this should show the message for 30 seconds, it shows for only 4-5 seconds. Is this the limit on the display time? CustomToastMsg has been defined and initialized. Any Feedback would be great. I am now thinking a label and a timer would be better but this is a puzzle. Regards Roger Code: Copy CustomToastMsg.Show("This is a CustomToast Message",30000,Gravity.TOP,0,35%y)
Erel B4X founder Staff member Licensed User Longtime User Nov 3, 2019 #2 Assuming that this library is based on the built-in toast feature then it supports two preset durations. A custom toast message based on BCTextEngine: https://www.b4x.com/android/forum/threads/b4x-bctoast-cross-platform-custom-toast-message.111046/ Upvote 0
Assuming that this library is based on the built-in toast feature then it supports two preset durations. A custom toast message based on BCTextEngine: https://www.b4x.com/android/forum/threads/b4x-bctoast-cross-platform-custom-toast-message.111046/
Roger Daley Well-Known Member Licensed User Longtime User Nov 4, 2019 #3 Erel, Thanks for the reply it is a solution but I am still puzzled by: https://www.b4x.com/android/forum/threads/customtoast-library.11220/ not displaying for the required time. I will move on and close the question. Regards Roger. PS In the end I used a label and a timer, a label and an OK button also has potential. Last edited: Nov 7, 2019 Upvote 0
Erel, Thanks for the reply it is a solution but I am still puzzled by: https://www.b4x.com/android/forum/threads/customtoast-library.11220/ not displaying for the required time. I will move on and close the question. Regards Roger. PS In the end I used a label and a timer, a label and an OK button also has potential.