Noob here.
I am trying to spawn an image on a button click, in order to do that I took some code from this question: How do I create an ImageView in java code, within an existing Layout? I used the code from the first answer, but In the line:
RelativeLayout rl = (RelativeLayout) findViewById(R.id.RelativeLayout01);
I don't know what to put instead of "RelativeLayout01", or how to have a layout in "id"
Thanks in advance