Add a same image every time a button is clicked in android : <!-- What are you trying to accomplish? (Please include sample data.) -->

<!-- Paste the part of the code that shows the problem. (Please indent 4 spaces.) -->

<!-- What do you expect the result to be? -->

<!-- What is the actual result you get? (Please include any errors.) -->

I making a drawing pad for teachers, i want to include geometrical shapes in it, there is a button on click of which a shape is displayed.
What i am doing now is i created an image view already and set its visibility to gone, on button i am making it visible.

    <ImageView
            android:id="@+id/ivReact"
            android:layout_width="200dp"
            android:layout_height="200dp"
            android:background="@drawable/rectangle"
            android:visibility="gone"
            android:layout_centerInParent="true"

            />

But now i want that every time a button a clicked a particular image should be added every time.
is it possible to do that??