Hi I am implementing toast in android and iOS but on iOS devices it's working fine and display toast message with rounded corner and in Android devices everything thing is working fine but toast message rounded not display. I am attached my android code. using Android.Widget; using RecyclingApp.Droid.Services; using RecyclingApp.Services; using Android.Content; using Android.Views; using System; [assembly: Xamarin.Forms.Dependency(typeof(ToastService))] namespace RecyclingApp.Droid.Services { public class ToastService : IToastService { public void ShowToastMessage(string Message, MessageColor messageColor, ToastPosition toastPosition, ToastDuration toastDuration) { Context context = Android.App.Application.Context; Toast toast = Toast.MakeText(context, Message, toastDuration == ToastDuration.Long ? ToastLength.Long : ToastLength.Short); switch (toastPosition) { case ToastPosition.Top: toast.SetGravity(Android.Views.GravityFlags.Top, 0, 20); break; case ToastPosition.Center: toast.SetGravity(Android.Views.GravityFlags.CenterVertical, 0, 0); break; case ToastPosition.Bottom: toast.SetGravity(Android.Views.GravityFlags.Bottom, 0, 20); break; default: break; } if (MessageColor.ErrorColor == messageColor) toast.View.SetBackgroundColor(Android.Graphics.Color.Rgb(151, 51, 60)); else if (MessageColor.WarningColor == messageColor) toast.View.SetBackgroundColor(Android.Graphics.Color.Rgb(233, 161, 34)); else if (MessageColor.SucessColor == messageColor) toast.View.SetBackgroundColor(Android.Graphics.Color.Rgb(124, 188, 125)); toast.View.FindViewById<TextView>(Android.Resource.Id.Message).SetTextColor(new Android.Graphics.Color(255, 255, 255)); //Android.Graphics.Drawables.GradientDrawable drawable = new Android.Graphics.Drawables.GradientDrawable(); //drawable.SetCornerRadius(10); //toast.View.SetBackgroundDrawable(drawable); toast.Show(); } } } ![98883-image.png][1] [1]: /answers/storage/attachments/98883-image.png
