I have a strange Error with a ViewGroup. For my main View I use classes in this links ViewFlow project
java.lang.IllegalArgumentException: parameter must be
Have the same problem. I use a ViewFlow as the parent view and several GridView as child views.This error happens when I press the Home key and restart the activity again after I scrolled these child views left and right.
Here is my solution:
mViewFlow.setDescendantFocusability(ViewGroup.FOCUS_BLOCK_DESCENDANTS);
Of course, you can config it in layout.xml.
Hope that can help you.