1. A

    Android Question [Closed] Reusing layout, how to reuse/factor related code?

    Layout and their scripts are fantastic! In my current application, I have such a layout that is actually for an overlay/dialog and I'm reusing it in 2 activities. However, I can't find a way to reuse the code that handle them (filling the fields, handling the events, etc). I could write a...