Top "Android-gridlayout" questions

GridLayout is one of Android's ViewGroup subclasses that places its children in a rectangular grid.

Add space to the end of the RecyclerView

I have a recyclerview with a gridlayout. What I want is when the user scrolls to the end of the …

android android-layout android-recyclerview android-gridlayout
GridLayout. How set space between columns?

Android Studio 3.1, Java 1.8, Gradle 4.1 I use GridLayout. All work fine. But I need to set space (e.g. 10dp) between …

android android-gridlayout
How can i get Vertical scrolling in GridView android?

I am developing an android application with showing images. I am using grid view to show the images in my …

android android-gridview android-gridlayout
Trying to replicate GridLayout column alignment with ConstraintLayout

I'm new to ConstraintLayout, and I'm trying to replicate the same grid behavior offered by GridLayout with ConstraintLayout. Specifically, I …

android android-layout android-gridlayout android-constraintlayout
Dynamically change the number of columns of a GridLayoutManager

I am actually using a GridLayoutManager with two columns in my app and I would like to have one column …

android gridview android-adapter android-gridlayout
How to support `layout_columnWeight` and `layout_rowWeight` in pre API 21?

I use the below grid layout with layout_columnWeight and layout_rowWeight to centralize my view in the grid cell. &…

android android-gridlayout
GridView and GridLayout in android

I trying to add child views for GridView in xml file but it is giving error and it working fine …

android android-layout gridview android-gridlayout
How to align two TextViews within LinearLayout cell?

I have a vertical list (vertical LinearLayout). Within Each cell I have two EditText fields, next to each other. The …

android android-linearlayout textview android-gridlayout
Android: Create grid with dynamic size in gridlayout or gridview

I am planning to make grid base application in which number of grids will change according to user's click. grid …

android gridview grid android-gridlayout
Android - How to set margins programmatically in gridlayout

Trying to get a few rows of buttons in a grid layout. The buttons size ok, but the margins seems …

java android android-layout user-interface android-gridlayout