It does not go out normally to display images in the GridLayoutManager. wrap_content does not work. Images are displayed by the Universal Image Loader.
There are several options for displaying images of 6, 7 or 8 images.
There is a lot of empty space under GridLayoutManager. I tried this solution But the result is the same. Don't even know what else to try.
<android.support.v7.widget.RecyclerView android:id="@+id/sharedGridLayout" android:layout_width="match_parent" android:layout_height="wrap_content" android:layout_gravity="center" local:layout_behavior="@string/appbar_scrolling_view_behavior" android:layout_below="@id/expandTextView" /> Config for Universal Image Loader
var options = new DisplayImageOptions.Builder() .ShowImageOnLoading(Resource.Drawable.shared_gray_empty_photo) .ResetViewBeforeLoading(true) .ConsiderExifParams(true) .CacheInMemory(false) .CacheOnDisk(true) .Build(); 