Again, from where this distance will be measured depends upon the int gravity parameter you have set.įor example, if you have chosen Gravity.CENTER, and your x=100 and y=200, then it will place the toast in the following position:Ĭomplete Code for Activity Class displaying Toast package com.studytonight.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |