I'm getting this IllegalStateException as stated in the title, I know this is because somewhere I'm adding a view that already has a parent, but I can't find where? I have tried a few different solutions I've found for other people having this problem, but It haven't worked because they seem to get the problem for another source than I am. Help would be much appreciated!I'm getting this IllegalStateException as state