Skip to content

Expanded by default- problem with indicator #26

@AdrielIclodean

Description

@AdrielIclodean

I have a problem. I set the start_collapsed with false and the indicator is not showing on the subitem length.

<com.diegodobelo.expandingview.ExpandingItem
xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
android:layout_width="match_parent"
android:layout_height="wrap_content"
app:item_layout="@layout/layout_parent"
app:sub_item_layout="@layout/sub_item"
app:indicator_size="42dp"
app:indicator_margin_left="16dp"
app:indicator_margin_right="16dp"
app:show_indicator="true"
app:show_animation="true"
app:start_collapsed="false"
app:animation_duration="250"/>

subitem ->

ExpandingItem item = expandingList.createNewItem(layoutId);
item.createSubItems(1);
item.setIndicatorColorRes(R.color.colorAccent);
item.setIndicatorIconRes(R.drawable.ic_arrow_down);

On the first view the indicator is not on full lenght, after I click it does go to the full length.

Can you please have a look? Thanks
problem

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions