Category : Android CSharp MonoDroid Visual Studio Xamarin
Category : Android CSharp MonoDroid Visual Studio Xamarin
Let’s just display a quick informative popup, which will only display an alert on screen with a title and a message in it. It actually gets closed when the back button get touched.
1 2 3 4 5 6 |
AlertDialog.Builder alert = new AlertDialog.Builder(this); alert.SetMessage("This is just an alert to show on the screen in order to try my alert demo."); alert.SetTitle("Alert Clicked"); alert.Show(); |
We will add OK and Canel button. On click of the buttons, it will display a quick Toast message on screen in order
to differentiate which button is clicked.
Categories: Android, CSharp, MonoDroid, Visual Studio, Xamarin