Below is part of the code of onTouch

                        if(event.getAction() == MotionEvent.ACTION_DOWN){
                                for(int i = 0; i < 2; i++){
                                        if(tiles[i].getBounds().contains(x, y) 
== true){

                                                //Here i need to add
text in this rectangle!!!!!

                                                break;
                                        }

                                }
                                invalidate();
                        }


Thank you in advance.

-- 
You received this message because you are subscribed to the Google
Groups "Android Beginners" group.

NEW! Try asking and tagging your question on Stack Overflow at
http://stackoverflow.com/questions/tagged/android

To unsubscribe from this group, send email to
android-beginners+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en

Reply via email to