A friendly place for programming greenhorns!
Big Moose Saloon
Search
|
Java FAQ
|
Recent Topics
Register / Login
JavaRanch
»
Java Forums
»
Mobile
»
Android
Author
how to remove ListView Activity Lines in Android
Sreenu Vengala
Greenhorn
Joined: Oct 26, 2009
Posts: 18
posted
Oct 26, 2009 21:39:07
0
Hi..
Please help on how to remove
ListView
Activity lines in Android
Thanks
Srini
Monu Tripathi
Rancher
Joined: Oct 12, 2008
Posts: 1365
I like...
posted
Oct 27, 2009 02:13:27
0
It is difficult to understand what you are trying here. Do you have any code that you can post?
[
List of FAQs
] | [
Android FAQ
] | [
My Blog
] | [
Samuh Varta
]
Sreenu Vengala
Greenhorn
Joined: Oct 26, 2009
Posts: 18
posted
Oct 27, 2009 03:06:34
0
Hi.
I dont have any code. I need to remove
ListView
activity component lines.
please find the attachment, I want to remove lines between the text.
and listview is not refreshed when I add new item into ArrayAdapter.
Thanks
Srini
listview.jpg
Monu Tripathi
Rancher
Joined: Oct 12, 2008
Posts: 1365
I like...
posted
Oct 28, 2009 08:35:11
0
I think, you'd have to edit the code for ListActivity to remove the line separators...
Sreenu Vengala
Greenhorn
Joined: Oct 26, 2009
Posts: 18
posted
Nov 09, 2009 00:24:18
0
getListView().setDivider( null );
getListView().setDividerHeight(0);
is the solution.
Srini
Monu Tripathi
Rancher
Joined: Oct 12, 2008
Posts: 1365
I like...
posted
Nov 09, 2009 04:24:57
0
Found them in the documentation:
android:divider:
Drawable or color to draw between list items.
android:dividerHeight:
Height of the divider.
I agree. Here's the link:
http://ej-technologies/jprofiler
- if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
subject: how to remove ListView Activity Lines in Android
Similar Threads
Multicolumn checked ListView
List application Sample
Google Admob Integration Errors
How to Refresh ListView in Android
regarding layout
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter