TextView 椭圆大小 - 字幕滞后

TextView ellipsize - marquee lagging

我有一个电视应用程序。这是列表中的一个项目。一旦聚焦某个项目,我就会对其进行缩放(尝试使用 v.animate.scale 进行缩放并使用 leanback 行效果 ->ListRowPresenter(FocusHighlight.ZOOM_FACTOR_SMALL) 因此,在使用这些缩放方法中的任何一种之后,我的 textView 在 ellipsize="marquee" 期间开始滞后。我100% 确定它已连接一次,禁用缩放功能完美运行。 也许有人看到了类似的问题?以及解决此 ANDROID 错误的可能方法是什么?

<layout xmlns:android="http://schemas.android.com/apk/res/android"
    xmlns:app="http://schemas.android.com/apk/res-auto">

    <RelativeLayout
        android:id="@+id/main_container"
        android:layout_width="120dp"
        android:layout_height="wrap_content"
        android:layoutDirection="ltr"
        android:padding="1dp">

        <RelativeLayout
            android:id="@+id/..."
            android:layout_width="wrap_content"
            android:layout_height="wrap_content">
            ...
        </RelativeLayout>


        <LinearLayout
            android:layout_width="match_parent"
            android:layout_height="wrap_content"
            android:layout_below="@id/..."
            android:layout_alignStart="@+id/..."
            android:layout_alignEnd="@+id/..."
            android:orientation="vertical">

            <TextView <!--HERE!!!!!-->

                android:id="@+id/name"
                android:layout_width="match_parent"
                android:layout_height="wrap_content"
                android:ellipsize="marquee"
                android:gravity="center_horizontal"
                android:paddingTop="2dp"
                android:singleLine="true"
                android:text="Name"
                android:textColor="@android:color/white"
                android:textSize="14sp" />
        </LinearLayout>

    </RelativeLayout>
</layout>

如果有人需要解决方案,请忽略文本(容器)的比例

            var parentScale:Float = 1f
            baseView.animate().scaleX(parentScale)
            baseView.animate().scaleY(parentScale)
            val childScale: Float = 1.0f / parentScale
            ignoreView?.animate()?.scaleX(childScale)
            ignoreView?.animate()?.scaleY(childScale)

文本滚动没有任何滞后。