android-listview Questions

10

I used custom listview . Content comes from dynamic I want to same listview height same as content. I used wrap_content but this does not help If I remove scrollview then its work Code. "The vert...
Hansel asked 25/9, 2013 at 6:27

5

Solved

In an Android ListView, how can I make the scrollbar appear on the left side?

3

I have ListView with pictures and text. When I try to click item, I get error android.support.test.espresso.AmbiguousViewMatcherException: 'with id: com.cifrasoft.telefm:id/cardsGridView' matches...
Masked asked 19/1, 2015 at 7:33

6

Solved

I have listview with custom adapter (base adapter). I want to get view from listview by position. I tried mListView.getChildAt(position) , but it is not working. How can i get item view by position...
Silviasilviculture asked 17/7, 2014 at 19:5

3

Solved

I have been searching for an answer to this, but the solutions don't seem to work for me. I have a TextView and an EditText in a list item. I am trying to update the stored values for the EditTexts...
Ornithischian asked 6/1, 2014 at 20:0

13

Solved

I've spent about 6 hours on this so far, and been hitting nothing but roadblocks. The general premise is that there is some row in a ListView (whether it's generated by the adapter, or added as a h...

6

Solved

I have a complex xml file and I really need a ScrollView. Please Don't mind the Ids as I have changed them. The ScrollView here doesn't work. <ScrollView xmlns:android="http://schemas.android.c...
Bootle asked 13/5, 2013 at 6:18

1

I am New to Android, I created a Simple App for my Learning purpose, the app idea is i am displaying a student informations like Parent Table was College Name(List of College Names in listview) -&g...
Dixil asked 10/9, 2020 at 13:21

11

Solved

How do I create a ListView with rounded corners in Android?
Footbridge asked 5/11, 2009 at 20:4

19

Solved

I tried to use marginBottom on the listView to make space between listView Item, but still the items are attached together. Is it even possible? If yes, is there a specific way to do it? My code ...
Hydromagnetics asked 13/2, 2011 at 13:10

13

Solved

I am using an array adapter and to this am adding an array list of string s , the list is multi select , How can i get the values of list items clicked ? my_contacts_list.setChoiceMode(ListView.CH...
Skindive asked 4/1, 2011 at 5:15

3

Solved

I have a local json with some static data that is displayed in a listview. Each object should have an image/logo that is also shown in the listview. The image will be local and in the drawable fol...
Vladikavkaz asked 28/5, 2014 at 22:33

2

I have a custom ListView in which I have some TextViews and a few buttons. On clicking every button a new activity opens. The problem is, let's say if I am currently viewing the 15th ListView item ...

6

Solved

I have a ListView and the last list item contains EditText: <?xml version="1.0" encoding="utf-8"?> <RelativeLayout xmlns:android="http://schemas.android.com/apk/re...
Attractant asked 21/11, 2013 at 17:43

4

Solved

I've been stumped on this for a few days. I have an autoCompleteTextView and a button split 50/50 in my layout. The autocomplete works, but the suggestions only take up half of the screen (equivale...
Millhon asked 22/7, 2013 at 16:55

4

I have been working on AutoCompleteTextView. I was able to get the suggestion and all in the drop down list as we type. My question is: Can we highlight the typed character in the suggestion dr...
Disembarrass asked 27/2, 2013 at 18:4

6

Solved

I have two activities using AppBarLayout with a Toolbar and TabLayout from support library 22. The layout of both is pretty similar: A Toolbar at the top, below it TabLayout, below it a ViewPager ...

1

Solved

I'm trying to build a widget for my Android app and I'm running into the problem that while the ListView does find data (through the debugger I can see the getViewAt method in my RemoteViewFactory ...
Realistic asked 3/5, 2020 at 17:55

7

Solved

I'm setting a TextView with the id @android:id/empty to display a message when there are no items in the ListView. However, this TextView gets displayed even if there are items in the ListView, rig...
Willyt asked 4/4, 2012 at 18:24

5

Solved

Im guessing its something really simple, maybe a setting in listview or fragment. But I couldnt find solution for it for couple of hours now. So.. I have a listView like this <RelativeLayout xm...
Dobb asked 8/2, 2012 at 9:47

13

How can I programmatically scroll to a specific position in a ListView? For example, I have a String[] {A,B,C,D....}, and I need to set the top visible item of the ListView to the index 21 of my S...
Teenyweeny asked 26/9, 2011 at 21:9

9

Solved

I have a database search query which search in the database for a word entered by the user and return a Cursor. In my ListActivity, I have a ListView which will hold the items (the Cursor items). ...
Pimple asked 27/7, 2011 at 11:32

4

Solved

I am facing a strange problem while using fragments and just cant figure it out. When I am replacing fragments inside my MainActivity container, some will keep the desired transparent background, ...

5

Solved

I create a thread to update my data and try to do notifyDataSetChanged at my ListView. private class ReceiverThread extends Thread { @Override public void run() { //up-to-date mAdapter.notifyD...
Subgenus asked 29/12, 2011 at 8:50

1

Solved

I'm having listview with chips in bottom of the Column. In first image from starting in listview its in circular shape but in the end its shows as rectangle. When scrolling the listview Chip 1 ...
Pathogenic asked 14/2, 2020 at 7:23

© 2022 - 2024 — McMap. All rights reserved.