From 46c47f62bb158ffd46e3499ad6312070b10bb113 Mon Sep 17 00:00:00 2001 From: Luis Vidal Date: Thu, 11 Feb 2016 15:44:24 -0800 Subject: Use Lato font on Animated Lock Screen thumbnail text To be consistent with the rest of the text views in the chooser, we need to use Lato font on the animated lock screen thumbnail (rather than Roboto as initially requested). In order to reuse as much code as possible, LatoTextView is now extending FittedTextView. A new attribute 'autoFitText' is introduced to instruct whether fitted text is desired. Change-Id: I3209fe7f06177bc4025cbf964d0c2dd79325b9c0 TICKET: CHOOSER-113 --- res/layout/wallpaper_component_selection_item.xml | 8 +++++--- res/values/attrs.xml | 3 +++ res/values/styles.xml | 6 +++--- 3 files changed, 11 insertions(+), 6 deletions(-) (limited to 'res') diff --git a/res/layout/wallpaper_component_selection_item.xml b/res/layout/wallpaper_component_selection_item.xml index e36ec0a..7f1428c 100644 --- a/res/layout/wallpaper_component_selection_item.xml +++ b/res/layout/wallpaper_component_selection_item.xml @@ -3,6 +3,7 @@ Copyright (C) 2014 Cyanogen, Inc. --> - @@ -52,4 +54,4 @@ android:layout_gravity="center_horizontal" style="@style/component_title"/> - \ No newline at end of file + diff --git a/res/values/attrs.xml b/res/values/attrs.xml index d78f25e..0cb7ae9 100644 --- a/res/values/attrs.xml +++ b/res/values/attrs.xml @@ -18,4 +18,7 @@ + + + \ No newline at end of file diff --git a/res/values/styles.xml b/res/values/styles.xml index 3fca6f9..e0bc961 100644 --- a/res/values/styles.xml +++ b/res/values/styles.xml @@ -130,12 +130,12 @@ -- cgit v1.1