We can dig a little big more about his. In my mind, you can put all ImageViews in the xml. Use WRAP_CONTENT for both width and height of corner ones, WRAP_CONTENT+FILL_PARENT of edge ones, and FILL_PARENT of center ones.
In you code, you can control the size of the images used for each ImageView.