Enable fade effect on all TextViews across the system
Bug: 124050692
Test: Manual Test
Change-Id: I40ccfc8457758538cdefc1f48aa3c726ca90e571
(cherry picked from commit 9f3278655a935501c4932fe7d4e09e79ea41efde)
diff --git a/car_product/overlay/frameworks/base/core/res/res/values/styles_device_default.xml b/car_product/overlay/frameworks/base/core/res/res/values/styles_device_default.xml
index e2f59d8..d954943 100644
--- a/car_product/overlay/frameworks/base/core/res/res/values/styles_device_default.xml
+++ b/car_product/overlay/frameworks/base/core/res/res/values/styles_device_default.xml
@@ -76,6 +76,12 @@
<item name="android:textColor">@*android:color/car_button_text_color</item>
</style>
+ <style name="Widget.DeviceDefault.TextView" parent="android:Widget.TextView">
+ <item name="android:ellipsize">none</item>
+ <item name="android:requiresFadingEdge">horizontal</item>
+ <item name="android:fadingEdgeLength">@*android:dimen/car_textview_fading_edge_length</item>
+ </style>
+
<style name="Widget.DeviceDefault.Button" parent="android:Widget.Material.Button">
<item name="android:background">@*android:drawable/car_button_background</item>
<item name="android:layout_height">@*android:dimen/car_button_height</item>