According to the announcement in the supporting library version 23.2.0, all layout managers by default support automatic measurement. Thus, all WRAP_CONTENT and MATCH_PARENT should work correctly from now on.
Remember to update the library version in the gradle file.
compile 'com.android.support:recyclerview-v7:23.2.0'
source share