• I have been looking into the layout library and to meet my aspirations I would like to add an option to have an imagebutton. I am happy to do the work and submit a pull request, but as this could be done in a number of ways I thought it would be a good idea to float the idea and perhaps get a consensus on how it is best implemented. In my mind I can see three options:

    1. A new object type specifically for imagebutton
    2. Extend the existing btn to accept an image source and/or a label
    3. Extend the existing img to accept a callback on touch

    I would be interested in any views/ preferences on how this should be implemented?


Avatar for coylen @coylen started