Questions tagged [gridlayoutmanager]

A RecyclerView.LayoutManager implementations that lays out items in a grid.

A RecyclerView.LayoutManager implementations that lays out items in a grid. More info on the docs: https://developer.android.com/reference/android/support/v7/widget/GridLayoutManager.html

403 questions
-1
votes
2 answers

Android Recyclerview : change row from linear to grid on button click

On button click I want to change list view to gridview as on shopping-cart pages but my layout looks like link shown below. //For displaying the row as linear list view case R.id.ivGrid: ivList.setVisibility(View.VISIBLE); …
-1
votes
1 answer

Recyclerview GridLayoutManager scrollToPositionWithOffset not working

Hi I am using RecyclerView with GridLayoutManager to load images but its scrollToPositionWithOffset() method is not working. I have saved recyclerview first visible item position in onSavedInstanceState() and I retrieve its value in…
-1
votes
1 answer

JPanel occupies extra region

I am trying to make a calculator in java. I am new to Layout Managers. I created a JFrame object with GridBagLayout. I created 2 JPanel's, one for the numbers and the other for the operations. Both the JPanel use GridLayout. This is how they are…
-1
votes
1 answer

GridLayoutManager same background for each row

I have been trying this project in link. Everything is working fine. I got an output also. I would like to enhance it but I don't know what to do. I am having a background , I need to keep it as background for each row of gridlayoutmanager in…
-1
votes
2 answers

LinearLayoutManager vs GridLayoutManager

I don't have any coding question or something, I had this application that populates (from a webservice) a gridlayoutmanager recyclerview of 2 rows and now the client wants it to be a List. I just want to ask which is better for the performance…
-2
votes
1 answer

How to create a Baccarat trend like graph in Android?

I need to create a graph that is similar to a Baccarat trend like this What could be the best approach? I am thinking of using RecyclerView with GridLayout but I have no idea how to plot it this way. Any library that support this kind of graph?
-2
votes
1 answer

Dynamic columns in RecyclerView

i want to create a grid in android wherein suppose if i pass an arraylist with 5 elements first row should have 3 columns and next row should have 2 columns with centered if i pass an arraylist with 6 elements first row should have 3 columns and…
-3
votes
2 answers

RecyclerView with Horizontal GridLayoutManager and PageIndicator

I am relatively new to android and stuck on this particular implementation. How do i implement a View(RecyclerView) with Horizontal GridLayoutManager(3*5) along with PageIndicator so basically 1st page would show 15 images, swiping left would show…
user2606782
  • 260
  • 1
  • 5
  • 15
-3
votes
2 answers

Android expandable recycler view with grid layout manager, with specific expanding behaviour

I want to use an expandable recyclerview with grid layout manager, but with specific expanding behaviour which expand to the full width of the screen. Is there any way or maybe libraries to achieve this? Thank you.
zamroni hamim
  • 545
  • 1
  • 6
  • 21
-3
votes
1 answer

Recycler View With Grid layout Manager and item decorator

I have the below XML from URL and want the below layout with the values filled with the XML data I am getting from URL. Below is the xml from url 0 2 0 E
-4
votes
1 answer

How to get data of particular position in recyclerview using volley

well i'm trying to get data of particular position in Recyclerview using volley but don't know how to do it let me explain it i have two layout in a row (i'm using gridlayoutmanager) so i want to make every layout clickable and after clicking the…
Lögän
  • 21
  • 6
-7
votes
1 answer

Can I copy the content from GridLayout in android?

Is there any way in android to copy and paste GridLayout as same as Textview did? I have the GridLayout inside of LinearLayout. Inside of gridlayout, I have added more than one textviews. I need to copy all the content inside from that gridlayout.…
-7
votes
1 answer

Gridlayout Manager With Recycerview android

I want to create this type of layout using Recycerview.but i am gettting some issue with it. recyclerView.setLayoutManager(new GridLayoutManager(parentActivity, 2)); using above line ,i have display list in 2 column .but when height of some view…
dipali
  • 10,966
  • 5
  • 25
  • 51
1 2 3
26
27