![]() ![]() ![]() MToastToShow = Toast.makeText( this, " Hello world, I am a toast.", Toast. ![]() Set the toast and duration int toastDurationInMilliSeconds = 10000 Step 2 : Create Toast Method Now let's create a method that displays a Toast message when the button is being clicked. In this example we display two Button s one. 2) Untuk contoh sederhananya, kita akan menggunakan 1 Button terlebih dahulu, cara membuatnya kita perlu menambahkan tag
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |