Questions tagged [divider]
393 questions
10
votes
7 answers
How to set divider between columns in tablelayout?
I want to create a table with column dividers. I want to divide my columns with a vertical bar image. To achieve this I have used "android:divider="@drawable/abc" but its not working. Below is my xml file for same:

brig
- 3,721
- 12
- 43
- 61
9
votes
2 answers
Can't change the color od spinner divider
My spinner is defined like this and it seems android:divider="#66BC31" has no effect, i still get white divider:

DixieFlatline
- 7,895
- 24
- 95
- 147
9
votes
2 answers
Drawing two strokes for Android ListView divider?
Is it possible to draw two strokes (one after another) for ListView divider?
I've tried the following drawable, but it only shows the first stroke:

SyBer
- 5,407
- 13
- 55
- 64
9
votes
2 answers
Setting different divider color to each element in list view
I want to have a list with different dividers between the list elements.
I have used this code to define a white divider with height 1:
_listView.setDivider(new ColorDrawable(Color.WHITE));
_listView.setDividerHeight(1);
However it sets the divider…

MrBug
- 95
- 1
- 2
- 7
8
votes
4 answers
JavaFx : Disable Divider
I have a JavaFX application with a SplitPane. I want to disable the Divider on SplitPane, so it would not be possible to change its position when application is running. How can I do this?

mirzak
- 1,043
- 4
- 15
- 30
7
votes
3 answers
How can I remove the divider between the ActionBar and the tabs
I'm trying to remove the divider between the ActionBar and the tabs but I did not succeed yet.
I've tried this - @color/tab_color
in my style.xml but nothing.
In few words I'd like to have something like…

Rick
- 3,943
- 6
- 33
- 45
7
votes
0 answers
How to have different Backgrounds and colors for dividers in GridView?
I wish to keep different colors for the divider and background in my GridView. Or I would like to hide the background color visible around the Gridview. I tried changing layout_margin & padding parameters, but that did not change anything. Following…

ambit
- 1,099
- 2
- 28
- 43
6
votes
2 answers
Removing divider after a footer in a ListView
how can I remove the ListView divider after a ListView's footer?
Using android:footerDividersEnabled="false" removes the divider after the last item of my ListView, but not after my ListView's footer...
Thanks

jul
- 36,404
- 64
- 191
- 318
6
votes
2 answers
ListView divider not visible
A ListActivity uses an extension of BaseAdapter and the following layout:

Vanja
- 4,415
- 3
- 26
- 22
6
votes
3 answers
How to change the color of the PreferenceCategory divider in PreferenceScreen
I have an android.support.v4.preference.PreferenceFragment which uses the following PreferenceScreen:

vitil
- 256
- 1
- 3
- 13
6
votes
4 answers
How to generate a ListView with headers above some sections?
I want to generate a ListView that has some dividers between some of the entries, like it can be seen in some of the property sections. See the example below. I try to generate a List that consists of some textviews followed by one of the fancy…

Janusz
- 187,060
- 113
- 301
- 369
6
votes
3 answers
Implement Divider between the last item of the child and next Groupheader expandableListview
I have implemented expandablelistview in android app and also implemented divider in it.
I have one problem in not getting the divider between the last item of the child and next group header.
Following image is how I want :
But following is what…

Niranjan Balkrishna Prajapati
- 1,223
- 3
- 15
- 38
6
votes
1 answer
ActionBarsherlock how to set dividers on menu items with icons only
Hello android developers,
I know this question have been asked many of times, and I have also tried many solutions but they are not working for me.
Firstly I am using action bar sherlock library to show action bar,and I want to show dividers between…

Dory
- 7,462
- 7
- 33
- 55
6
votes
2 answers
Android: remove divider of some listitems in listview
I've created a listview with a BaseAdapter. I want some of the listitems to have a divider, but from some of the listitems, I want to remove the divider. I know you can remove the divider of the whole list by setting .setDivider(null) and…

Xander
- 5,487
- 14
- 49
- 77
6
votes
2 answers
Android action bar tab bar divider
I am having problem setting the drawable for the divider. My style.xml looks like this: