ExpandableCardView icon indicating copy to clipboard operation
ExpandableCardView copied to clipboard

can not get the entire text

Open ilhamfidatama opened this issue 5 years ago • 1 comments

I want to display long text on expanded cardview, but I only got some text. this is my code of expanded layout

<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
    android:layout_width="match_parent"
    android:layout_height="match_parent"
    android:orientation="vertical">

    <TextView
        android:id="@+id/textView8"
        android:layout_width="match_parent"
        android:layout_height="match_parent"
        android:text="@string/sample_text" />
</LinearLayout>

and this is my code of ExpandableCardView

<com.alespero.expandablecardview.ExpandableCardView
        android:id="@+id/sehat_cardview"
        android:layout_width="match_parent"
        android:layout_height="wrap_content"
        android:layout_marginStart="16dp"
        android:layout_marginEnd="16dp"
        app:expandOnClick="true"
        app:inner_view="@layout/sample_extendable_layout"
        app:title="@string/sehat"
        app:animationDuration="300"
        android:elevation="5dp"
        app:startExpanded="false"/>

this is result on my phone phone

ilhamfidatama avatar Jun 17 '20 08:06 ilhamfidatama

set textview attributes as android:maxEms="15"

HarshnilWalde avatar Oct 24 '22 07:10 HarshnilWalde