0

Im trying to do a trigger for a image when a specific kind of pixels appaer in the screen it show some message, when the people move the image out of the screen and the pixel go out of the view, the apk just alert "you are far to discover", but i have no idea how to detect the pixel, is there any example or tutorial?

user2582318
  • 1,607
  • 5
  • 29
  • 47

1 Answers1

0

I am not into android development but searching through the internet, i have found a solution..This can be done with onsizechanged.You will get the value of zero if the view hasnt initialzed yet ..For more details check this.

Community
  • 1
  • 1
Avinash Babu
  • 6,171
  • 3
  • 21
  • 26