summaryrefslogtreecommitdiffstats
path: root/Settings/res
diff options
context:
space:
mode:
authorTony Mantler <nicoya@google.com>2015-06-23 13:24:22 -0700
committerTony Mantler <nicoya@google.com>2015-06-23 13:24:22 -0700
commit545b47c53d9ebfbca5c53fc7d419ae7b7ce11ec4 (patch)
treeb3d96dd401019b9e470bf99ea6c6bf4adf16adeb /Settings/res
parent43f390a82b70a907ee6f2e894ee17df1b4cad5af (diff)
downloadandroid_packages_apps_TvSettings-545b47c53d9ebfbca5c53fc7d419ae7b7ce11ec4.tar.gz
android_packages_apps_TvSettings-545b47c53d9ebfbca5c53fc7d419ae7b7ce11ec4.tar.bz2
android_packages_apps_TvSettings-545b47c53d9ebfbca5c53fc7d419ae7b7ce11ec4.zip
Get rid of ResizingTextView
It basically doesn't work right and completely fails in the case of view recycling. If text resizing is needed, it should be done at view binding time, not added as some magic at measure time. b/22004578 Change-Id: Ide5f09c58f7e47de370273e0c9bced3b45c5fb01
Diffstat (limited to 'Settings/res')
-rw-r--r--Settings/res/layout/browse_item.xml2
-rw-r--r--Settings/res/layout/lb_dialog_action_list_item.xml4
-rw-r--r--Settings/res/layout/settings_list_item.xml4
3 files changed, 5 insertions, 5 deletions
diff --git a/Settings/res/layout/browse_item.xml b/Settings/res/layout/browse_item.xml
index 1dd0acf9..8d8f0588 100644
--- a/Settings/res/layout/browse_item.xml
+++ b/Settings/res/layout/browse_item.xml
@@ -32,7 +32,7 @@
android:scaleType="fitCenter"
tools:ignore="ContentDescription" />
- <com.android.tv.settings.widget.ResizingTextView
+ <TextView
android:id="@+id/title"
android:layout_width="match_parent"
android:layout_height="wrap_content"
diff --git a/Settings/res/layout/lb_dialog_action_list_item.xml b/Settings/res/layout/lb_dialog_action_list_item.xml
index ada24a15..b6806545 100644
--- a/Settings/res/layout/lb_dialog_action_list_item.xml
+++ b/Settings/res/layout/lb_dialog_action_list_item.xml
@@ -54,7 +54,7 @@
android:layout_weight="1"
android:orientation="vertical" >
- <com.android.tv.settings.widget.ResizingTextView
+ <TextView
android:id="@+id/action_title"
android:layout_width="match_parent"
android:layout_height="wrap_content"
@@ -65,7 +65,7 @@
android:textColor="@color/lb_dialog_list_item_unselected_text_color"
android:textSize="@dimen/lb_dialog_list_item_title_font_size" />
- <com.android.tv.settings.widget.ResizingTextView
+ <TextView
android:id="@+id/action_description"
android:layout_width="match_parent"
android:layout_height="wrap_content"
diff --git a/Settings/res/layout/settings_list_item.xml b/Settings/res/layout/settings_list_item.xml
index b243019a..716b9c42 100644
--- a/Settings/res/layout/settings_list_item.xml
+++ b/Settings/res/layout/settings_list_item.xml
@@ -76,7 +76,7 @@
android:layout_toEndOf="@id/action_icon"
android:orientation="vertical" >
- <com.android.tv.settings.widget.ResizingTextView
+ <TextView
android:id="@+id/action_title"
style="@style/Canvas.Text.Dialog.List.Title"
android:layout_width="wrap_content"
@@ -84,7 +84,7 @@
android:maxLines="@integer/action_title_min_lines"
android:ellipsize="end" />
- <com.android.tv.settings.widget.ResizingTextView
+ <TextView
android:id="@+id/action_description"
style="@style/Canvas.Text.Dialog.List.Description"
android:layout_width="wrap_content"