ExpandableTextView icon indicating copy to clipboard operation
ExpandableTextView copied to clipboard

Wrong mCollapsedHeight measured

Open gnuhpc opened this issue 9 years ago • 3 comments

When I use this view, I found when collapsed, there was no action to collapsed.

After Checking the source code, I put the code: mCollapsedHeight = getMeasuredHeight(); in to the post method of mTv.

It woks. I am wondering if this is an issue.

gnuhpc avatar Apr 12 '15 09:04 gnuhpc

In a RecyclerView, if the TextView is expanded and you scroll, the mesuredHeight is wrong. @gnuhpc does your modification fix that ?

Thanks !

pdavid0 avatar Aug 26 '15 15:08 pdavid0

#44 This thread has the proper solution to this issue

nangsan avatar Feb 03 '17 13:02 nangsan

@gnuhpc,TextView 内容足够长,超出一屏, mCollapsedHeight计算的有问题,你有遇到这个问题吗?

Mixiaomi avatar Jun 16 '17 09:06 Mixiaomi