Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

按照Demo设置不能折叠v1.6.1-x #73

Open
wojiaojay123 opened this issue Apr 7, 2021 · 1 comment
Open

按照Demo设置不能折叠v1.6.1-x #73

wojiaojay123 opened this issue Apr 7, 2021 · 1 comment

Comments

@wojiaojay123
Copy link

<com.ctetin.expandabletextviewlibrary.ExpandableTextView
android:id="@+id/introduction"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginStart="@dimen/dp_12"
android:layout_marginEnd="@dimen/dp_12"
android:text="@{viewModel.description}"
android:textSize="@dimen/sp_14"
app:ep_contract_color="@color/color_FF4D4D"
app:ep_contract_text="收起"
app:ep_expand_color="@color/color_FF4D4D"
app:ep_expand_text="展开"
app:ep_max_line="2"
app:ep_need_animation="true"
app:ep_need_contract="true"
app:ep_need_expand="true" />

XML设置以后发现没有任何效果
image

不显示展开和收起,点击也没有任何功能,这是RecyclerView的一个item

@kingcxsc
Copy link

解决了吗,老铁?我的也是这样

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants