AndroidTreeView icon indicating copy to clipboard operation
AndroidTreeView copied to clipboard

Default separator

Open arafeh94 opened this issue 9 years ago • 2 comments

is there any default separator between elements ?

arafeh94 avatar Nov 10 '15 09:11 arafeh94

There is no default separator, but you specify one in your layout and make it default

bmelnychuk avatar Nov 17 '15 10:11 bmelnychuk

How? I added this and it is only showing up for some of the items;

Style XML;

<style name="TreeNodeStyleDivided">
    <item name="android:showDividers">middle</item>
    <item name="android:divider">@android:drawable/divider_horizontal_bright</item>
</style>

CustomView class;

@Override
public int getContainerStyle() {
    return R.style.TreeNodeStyleDivided;
}

glend1 avatar May 05 '17 22:05 glend1