tText('Italian') is commented because app get crash. In this moment, language returns: 'it', 'fr', 'en'. It only fills the amount of space required for. ![]() A toast provides simple feedback about an operation in a small popup. The main difference between toasts and dialogs is that toasts provide feedback unobtrusively whereas dialogs demand an immediate response. Code is very simple, and i can display the language whit a toast, but i cannot set inside a text. The Android docs provide some guideance around toasts, notifications and dialogs. There are no compilation errors, but when I start running it on the emulator, I am getting the message - "Unfortunately, BMI has stopped." I can't understand, Where did I went wrong. Im having problem in passing the language locale to a string. ![]() I am trying to create a BMI Application in Android 4.3. If you were wondering what is Toast in Android, then here it is: Toast in Android provides simple feedback to the user as a small popup.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |