I need to dynamically generate a frame around an existing ImageView (dimensions vary) from 4 different parts: left, right, up, down.

What are the options for solving this problem, did anyone come across?

ps it is possible to create a rectangle, through bitmap and add images to it, until nothing happened.

    1 answer 1

    1. Draw on Bitmap through Canvas rectangle in the center and frame.
    2. Make around 4 ImageView and change the image on them.