I see...so for example, in my getnewRL method, I was right in defining those two RelativeLayout.layoutParams? Say if I have two textviews, and one of my layoutparams, call it layout1, has:
and the second one, layout2, has layout_below (something like that lol), and I say:
It should print out the first one to the left side of the parent, and the second one should be below the first one? Would these layouts be passed outside of my getnewRL method? Because I want to pass each RelativeLayout, with these parameters, to the onCreate() method, which adds these RelativeLayouts to a LinearLayout.
Sorry for all the questions, my internship has me working on this and nobody there knows how to program in Android