¡@

Home 

2014/10/16 ¤W¤È 08:16:39

android Programming Glossary: iy

Creating irregular shaped ImageButton with different click states

http://stackoverflow.com/questions/11080868/creating-irregular-shaped-imagebutton-with-different-click-states

eventPadTouch event.getAction int iX int event.getX int iY int event.getY switch eventPadTouch case MotionEvent.ACTION_DOWN.. switch eventPadTouch case MotionEvent.ACTION_DOWN if iX 0 iY 0 iX TheBitmap.getWidth iY TheBitmap.getHeight if TheBitmap.getPixel.. MotionEvent.ACTION_DOWN if iX 0 iY 0 iX TheBitmap.getWidth iY TheBitmap.getHeight if TheBitmap.getPixel iX iY 0 onStartCallButtonClicked..

Creating irregular shaped ImageButton with different click states

http://stackoverflow.com/questions/11080868/creating-irregular-shaped-imagebutton-with-different-click-states

getResources R.drawable.button_start_call_normal int eventPadTouch event.getAction int iX int event.getX int iY int event.getY switch eventPadTouch case MotionEvent.ACTION_DOWN if iX 0 iY 0 iX TheBitmap.getWidth iY TheBitmap.getHeight.. event.getAction int iX int event.getX int iY int event.getY switch eventPadTouch case MotionEvent.ACTION_DOWN if iX 0 iY 0 iX TheBitmap.getWidth iY TheBitmap.getHeight if TheBitmap.getPixel iX iY 0 onStartCallButtonClicked v return false.. event.getX int iY int event.getY switch eventPadTouch case MotionEvent.ACTION_DOWN if iX 0 iY 0 iX TheBitmap.getWidth iY TheBitmap.getHeight if TheBitmap.getPixel iX iY 0 onStartCallButtonClicked v return false return true android touch..