Skip to main content

All Questions

Tagged with
0 votes
1 answer
569 views

Android - manipulating visibility in some Expandible List's children

In Android, I'm trying to manipulate some children rows of a Expandible List in the getChildView() function but the next code seems does not work properly: @Override public View getChildView(int ...
fcortes's user avatar
  • 1,358
0 votes
1 answer
191 views

How to fill the space of image which visibility is made gone

i'm having a list view with image,textview and 2 buttons at the right side.when i set the visibility of second button to gone the first image is moved to left and it overlaps on the imageview.but i ...
Girish's user avatar
  • 2,316
1 vote
1 answer
601 views

Updating a single row in a listview to show a hidden textview

I am trying to update a single row (two textviews) in a listview by changing the visibility of the second textview from "gone" to "visible". Here is the XML for the custom layout: <LinearLayout ...
Derek's user avatar
  • 43
3 votes
2 answers
2k views

How do you change the visibility of widgets inside individual listview rows from onlistitemclick in Android?

My ultimate goal is to change the source of the information in this tutorial from an array to a cursor. Here is a link to the full code. The gist of it is that you click a row in the list, and the ...
peetsnack's user avatar
  • 101
7 votes
7 answers
12k views

Android set View.GONE does not "release" space in listview

I have a listview with some items that can be marked as "done". There is also a togglebutton that says "hide done items". However, when I do hide the items by setting setVisibility(View.GONE) there ...
Peter Berkenbosch's user avatar
1 vote
4 answers
1k views

WPF ListView control is populated but invisible

I have a ListView, populated with ItemsSource pointing to a list of login histories, so that I can choose from previous successful logins instead of having to type user, host, etc. over. This seemed ...
Ken's user avatar
  • 11
2 votes
2 answers
2k views

Android listview imageview in listitem gets hidden on scroll

I am having this weird problem when trying to dynamically set visibility and image drawable of imageview in list item. When it initially loads its shows up completely fine but when I scroll it up or ...
Parashar's user avatar
1 vote
1 answer
222 views

Removing ListView after user selects item

This one should be pretty simple. The use case is that I have a ListView generated by the results of a voice search. Once the user selects the appropriate item from the list, I want the list to ...
ctgScott's user avatar
  • 231
5 votes
2 answers
5k views

Check Scrollbar Visibility

Is there a way to check if the Vertical Scroll Bar is visible on a certain ListView object? I got a Windows Forms with a listView on it, on the resize event i would like to catch if the listview has ...
Cloaky's user avatar
  • 1,115
0 votes
1 answer
3k views

How to show/hide item in listview..

I have a list view, and one of its items I set android: visibility ="gone ". I want when I click an item from the ListView, I hide the item becomes visible, and if the item had already seen, when I ...
Vootsugu's user avatar
2 votes
3 answers
24k views

setting textview visibility to GONE when there is no text to show

i have a listview in which i have 2 textviews, one of these textview contains zero text by default, but can be changed by the user. the problem is that i need to do so when the textview is empty the ...
Emil's user avatar
  • 93
2 votes
1 answer
991 views

ListView, ListViewItems and Virtualization

I have a problem with the UI virtualization of an ListView with hundreds of elements which items can expose an Visibility property. Unfortunately the virtualization not recognizes the visibility ...
Patrick's user avatar
  • 33
4 votes
4 answers
5k views

WPF - Do not show Context menu when ListView is empty

I have a ContextMenu bind to ListView, but I don't want to be the menu shown when the ListView is empty. I tried direct binding to element, tried binding using FindAncestor, but none of these works ...
George Hx's user avatar
22 votes
8 answers
34k views

Android: How to hide a ListView Item

How can you hide an item in a ListView or at least set its height to zero? I have tried setting the visibility of the View to GONE but it still maintains the item's space (height).
Tawani's user avatar
  • 11.2k
0 votes
2 answers
699 views

on button click the visibility of a column in listview should set to false

how can a visibility of a particular column can set to false in a listview..that is the column should exists in the client site but in hidden form... what is the option other than setting the width to ...
zoya's user avatar
  • 473

15 30 50 per page