If relativeLayout is a root layout in a xml, I set a LinearLayoutParams for it, what happens? It will be a linearLayout or it will be subviewGroup of linearLayout?
Asked
Active
Viewed 50 times
0
-
It will throw a class cast exception,hence you can't do that... – nobalG Feb 19 '16 at 10:51
-
It will crash, check [this](http://stackoverflow.com/a/17563292/4782930) for more info. – Strider Feb 19 '16 at 10:53