Fix broken gradient truncation

Fixes: 131190752
Test: manual
Change-Id: I2a012d189b66f9e8b7cdbfc68f5c6fda2be42e28
diff --git a/car-media-common/res/layout/app_selection_item.xml b/car-media-common/res/layout/app_selection_item.xml
index 3c7aff4..90dc842 100644
--- a/car-media-common/res/layout/app_selection_item.xml
+++ b/car-media-common/res/layout/app_selection_item.xml
@@ -42,6 +42,5 @@
         android:layout_height="wrap_content"
         android:textAppearance="?attr/textAppearanceGridItem"
         android:gravity="center"
-        android:ellipsize="end"
-        android:maxLines="1" />
+        android:singleLine="true"/>
 </LinearLayout>
diff --git a/car-media-common/res/layout/playback_fragment.xml b/car-media-common/res/layout/playback_fragment.xml
index b60e552..229ad37 100644
--- a/car-media-common/res/layout/playback_fragment.xml
+++ b/car-media-common/res/layout/playback_fragment.xml
@@ -49,8 +49,7 @@
             android:layout_marginLeft="@dimen/playback_fragment_text_margin_x"
             android:layout_marginRight="@dimen/playback_fragment_text_margin_x"
             android:textAppearance="?android:attr/textAppearanceMedium"
-            android:ellipsize="end"
-            android:maxLines="1"
+            android:singleLine="true"
             android:includeFontPadding="false"
             app:layout_constraintLeft_toLeftOf="parent"
             app:layout_constraintRight_toLeftOf="@+id/app_switch_container"
diff --git a/car-media-common/res/values/styles.xml b/car-media-common/res/values/styles.xml
index bc9f168..31cdcfd 100644
--- a/car-media-common/res/values/styles.xml
+++ b/car-media-common/res/values/styles.xml
@@ -48,14 +48,12 @@
 
     <style name="PlaybackTitleStyle" parent="TextAppearance.Body1">
         <item name="android:singleLine">true</item>
-        <item name="android:ellipsize">end</item>
         <item name="android:includeFontPadding">false</item>
     </style>
 
     <style name="PlaybackSubtitleStyle" parent="TextAppearance.Body3">
         <item name="android:textColor">@color/secondary_text_color</item>
         <item name="android:singleLine">true</item>
-        <item name="android:ellipsize">end</item>
         <item name="android:includeFontPadding">false</item>
     </style>