aspose file tools
The moose likes Android and the fly likes Drawable, listener? Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Mobile » Android
Reply Bookmark "Drawable, listener?" Watch "Drawable, listener?" New topic
Author

Drawable, listener?

Mathew Mintalm
Ranch Hand

Joined: Feb 21, 2010
Posts: 102

Hello,

I have such problem: I have created my View with this variable:

And im adding images on my view using this



and by adding bounds setBounds(...)

Im just simply generating tiled map. And now im wondering how to add action to each tile.

I have been reading its to possibile to receive actions by drawable, so i guess imagebutton for each tile would be good, dont you think so?

So can someone tell me how to create imagebutton and add it to view by drawable?



I just removed most of the logic, to make my question clean, hope someone have any idea how to do it, thanks

 
 
subject: Drawable, listener?
 
Threads others viewed
odd framelayout/surfaceview problem
Multiple mouselisteners
Extending BufferedImage
Help me display array of JButtons properly
Animated Bacground
MyEclipse, The Clear Choice

cast iron skillet 49er

more from paul wheaton's glorious empire of web junk: cast iron skillet diatomaceous earth rocket mass heater sepp holzer raised garden beds raising chickens lawn care CFL flea control missoula heat permaculture