Skip to content

Exception: The child view of this MarqueeView must be a TextView instance. #8

@rabyunghwa

Description

@rabyunghwa

java.lang.RuntimeException: The child view of this MarqueeView must be a TextView instance.

Here is my xml file:

       <asia.ivity.android.marqueeview.MarqueeView
            android:id="@+id/marqueeView150"
            android:layout_width="150dp"
            android:layout_height="wrap_content"
            marquee:autoStart="true"
            marquee:pause="1000"
            marquee:speed="5">

            <TextView
                android:id="@+id/songname"
                android:layout_width="wrap_content"
                android:layout_height="wrap_content"
                android:layout_marginLeft="5dp"
                android:layout_marginStart="5dp"
                android:textColor="@android:color/white"
                android:textSize="25sp"
                android:text="Good Time"/>

        </asia.ivity.android.marqueeview.MarqueeView>

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