Skip to main content

All Questions

0 votes
0 answers
163 views

Empty view not showing for Listview

in my android app I have the following layout: <?xml version="1.0" encoding="utf-8"?> <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" android:orientation="vertical" ...
Claudio P's user avatar
0 votes
4 answers
2k views

how can i change another item in the list view when an item is clicked?

title explains it yet i would like to explain more; I have a list view which all items have orange background. To say it simple: when one item is clicked it turns its background to blue. When another ...
Alp's user avatar
  • 1,893
0 votes
2 answers
131 views

How to handle the hiding from LinearLayouts?

I have a LinearLayout in a ListView and when I click a Button i want to show or hide anything in the LinearLayout. row = inflater.inflate(R.layout.info_top_rows_layout, parent, false); ...
H.Protagonist's user avatar
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