Update battery & storage settings to use headline font.

Updates several locations to use config_headlineFontFamily as the
android:fontFamily or Typeface object. This allows OEMs to specify
a custom headline font.

Bug: 36855735
Test: ag/2360364
Change-Id: I627515d2afd5ff018aae10843d099b8c83880635
This commit is contained in:
Andrew Sapperstein
2017-06-05 18:48:10 -07:00
parent 57d6778b75
commit dd19c3c8ba
5 changed files with 18 additions and 6 deletions

View File

@@ -36,10 +36,11 @@
<TextView
android:id="@android:id/title"
android:ellipsize="marquee"
android:fadingEdge="horizontal"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:ellipsize="marquee"
android:fadingEdge="horizontal"
android:fontFamily="@*android:string/config_headlineFontFamily"
android:singleLine="true"
android:textAlignment="viewStart"
android:textAppearance="@android:style/TextAppearance.Material.Display1"