All Questions
Tagged with visibility listview
76
questions
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 ...
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 ...
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 ...
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 ...
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 ...
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 ...
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 ...
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 ...
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 ...
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 ...
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 ...
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 ...
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 ...
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).
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 ...