android-gridview Questions
13
Solved
I use RecyclerView adapter to display data inside an activity, I want to implement onClickListener inside the activity, currently, I am setting onClickListener inside adapter as usual which works f...
Cordite asked 22/4, 2018 at 18:21
2
Solved
Im trying to implement a GridView as part of a image gallery. I followed the following example from the Android developer portal.
The tutorial seems to work for all screen sizes. As you can see be...
Motet asked 14/7, 2012 at 13:1
5
In my Android app I'm using a RecyclerView to display items in a grid by using a GridLayoutManager.
In a GridView, in order to specify the spacing between elements, I would set the horizontalSpaci...
Pula asked 18/7, 2015 at 13:40
3
Solved
I know this is already been asked, but somehow the solutions do not work for me.
I have a gridView which is inflated by a relativeLayout. The adapter sets perfectly, When I add a clickListener to...
Remanence asked 29/4, 2014 at 11:20
25
Solved
I want to have a 2x2 grid with a buttons inside. This is only ICS so I am trying to use the new GridLayout given.
Here's the XML of my layout:
<?xml version="1.0" encoding="utf-8"?>
<Gr...
Se asked 4/4, 2012 at 17:33
7
Solved
I have a GridView with 81 buttons on it. I want to add clicklistener to this gridview but it is not available. I have added the OnItemClickListener but it is not working and I cannot understand why...
Numerology asked 25/11, 2013 at 11:27
3
Im basically new to flutter. I want to display Images from specific path like "Storage/WhatsApp/Media/". I want to show all the images in grid view. How can i acheive this in flutter. I have seen m...
Starlastarlene asked 4/1, 2019 at 9:51
6
Solved
Like this previous person, I have unwanted overlap between GridView items:
Notice the text, in every column except the rightmost one.
Where I differ from that previous question is that I don't ...
Kianakiang asked 25/9, 2011 at 13:51
4
Solved
I have created a dialog with list of icons, i.e drawables. I have created a grid view to show these icons.
Now I want to get the selected icon and set it to an image view in my activity.
So how c...
Stinnett asked 25/5, 2016 at 14:4
8
Solved
In android grid view there is extra space between the rows of grid view. I am not adding any space to the gridview.
here is my xml files
<GridView
xmlns:android="http://schemas.android.com/a...
Trustful asked 3/2, 2012 at 7:15
2
Solved
I have the following grid, which is loaded inside a StackLayout:
Grid grid = new Grid {
VerticalOptions = LayoutOptions.FillAndExpand,
HorizontalOptions = LayoutOptions.FillAndExpand,
RowDefin...
Boldface asked 22/7, 2015 at 13:25
3
Solved
I am trying to create a table/grid for some items within my app and I would like to have a border around each cell to divide the items up and have a coherent association of the setting with the ite...
Totally asked 24/4, 2013 at 18:33
4
I have an Android GridView with an ImageView, TextView and two Button's. The Grid is appearing fine but I am finding it difficult to handle button events within GridView. I am new to Android.
Any...
Pyotr asked 4/11, 2012 at 16:51
2
I cannot find out a way to add an outer margin to the GridView rows. I found the setHorizontalSpacing and setVerticalSpacing properties which add inner padding between the GridView rows, however it...
Escurial asked 17/6, 2013 at 0:12
6
Solved
I have been trying and trying and no such luck. I have lucked at all other answers on here as well related to centering GridView and also no luck. This is my GridView xml:
<GridView
android:id...
Rafat asked 19/7, 2012 at 4:37
1
Solved
So I know GridView is deprecated, but is it okay to use GridView for production code?
I would like to use it for my game app.
The Android Studio client says it has been deprecated in favor of Con...
Jotter asked 26/7, 2019 at 18:48
4
I have a GridView , which displays pictures of alphabets
what happens is , every time in the last row there are less no of alphabets.
and the last row is left aligned , which doesn't look good
so I...
Rimrock asked 3/10, 2013 at 10:7
3
Is there any way to archieve the following? I want my RecyclerView to be able to display my Cards in a grid of 2 columns, but I also want a couple of cards to have the full screen width, not just t...
Onehorse asked 31/12, 2015 at 12:28
7
Solved
I have a problem with creating a GridView-based calendar. Here is the Grid:
This is supposed to be a calendar populated with events, so I have my adapter implement OnClickListener and I set that...
Devonna asked 2/8, 2012 at 13:16
4
I've been looking for something like Pinterest menu whenever item in GridView is pressed. I know it's too broad question. But little strike on question will provide a correct way to achieve these.
...
Representation asked 18/5, 2014 at 4:1
2
I am working in an Android app. In this I have an issue that my GridView and images are not get fit with all screen sizes .
Here I have the gridview inside the fragment
The fragment_reminders.xm...
Wing asked 22/4, 2018 at 6:25
1
As in my title gridview and it is images are not get fit for all screens .
In my app I have 15 images and it is titles ,I wanna show it on a 3 column and 5 row format in all screen sizes.
But my ...
Trajectory asked 20/4, 2018 at 15:3
4
I implemented a GridView inside PageViewer, but scrolling is not as smooth as it should be. Views inside GridView are intercepting touches.
This is driving me crazy I have tried everything and whi...
Piranesi asked 11/2, 2018 at 7:41
6
Solved
I'm working on an android application with arabic version.
In one of the interfaces, I have gridView. So to display items in the correct order, I have to display items in the GridView from the rig...
Teplica asked 24/7, 2013 at 9:37
3
Solved
I have a GridView that has items inside 5x50.
I need to scroll them in all directions and instead of stopping when reached the end just start from the top/left.
for example left-to-right scroll
...
Doomsday asked 11/11, 2017 at 21:27
1 Next >
© 2022 - 2024 — McMap. All rights reserved.