Android - add subview with layout params at specific index (in code)
-
30-10-2019 - |
Question
I may be missing something, but I can't find a way to add a subview to a view at a specified index with specific layout params. There's addView(View v, LayoutParams lp)
and there's addView(View v, int index)
- but I can't find a way to specify both.
What am I missing?
No correct solution
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow