summaryrefslogtreecommitdiffstats
path: root/res
diff options
context:
space:
mode:
authorClark Scheff <clark@cyngn.com>2014-09-04 11:51:24 -0700
committerClark Scheff <clark@cyngn.com>2014-09-04 11:51:24 -0700
commite1ab2303f2c1de871b37fffeacc7e3b03b26bfde (patch)
tree71c5b446a84f8e1f3103c6f619821549f4995317 /res
parentd2d24b77ac8feadc3a85709926abf018d37c571b (diff)
downloadpackages_apps_ThemeChooser-e1ab2303f2c1de871b37fffeacc7e3b03b26bfde.zip
packages_apps_ThemeChooser-e1ab2303f2c1de871b37fffeacc7e3b03b26bfde.tar.gz
packages_apps_ThemeChooser-e1ab2303f2c1de871b37fffeacc7e3b03b26bfde.tar.bz2
Use custom TextView that always uses Lato fonts
Change-Id: I2f60da0ab633487e18e216072ce834e255b5d852
Diffstat (limited to 'res')
-rw-r--r--res/layout/apply_theme_layout.xml2
-rw-r--r--res/layout/audible_card.xml4
-rw-r--r--res/layout/bootani_component_selection_item.xml2
-rw-r--r--res/layout/bootanim_card.xml2
-rw-r--r--res/layout/customize_reset_theme_layout.xml4
-rw-r--r--res/layout/font_card.xml4
-rw-r--r--res/layout/font_component_selection_item.xml2
-rw-r--r--res/layout/fragment_pager_list.xml2
-rw-r--r--res/layout/icon_card.xml2
-rw-r--r--res/layout/icon_component_selection_item.xml2
-rw-r--r--res/layout/navbar_card.xml2
-rw-r--r--res/layout/navigation_bar_component_selection_item.xml2
-rw-r--r--res/layout/shop_themes.xml2
-rw-r--r--res/layout/sound_component_selection_item.xml2
-rw-r--r--res/layout/status_bar_card.xml2
-rw-r--r--res/layout/status_bar_component_selection_item.xml2
-rw-r--r--res/layout/style_card.xml2
-rw-r--r--res/layout/tag_customized.xml3
-rw-r--r--res/layout/tag_default.xml3
-rw-r--r--res/layout/tag_updated.xml3
-rw-r--r--res/layout/wallpaper_card.xml2
-rw-r--r--res/layout/wallpaper_component_selection_item.xml2
22 files changed, 28 insertions, 25 deletions
diff --git a/res/layout/apply_theme_layout.xml b/res/layout/apply_theme_layout.xml
index 955efec..fa3c74a 100644
--- a/res/layout/apply_theme_layout.xml
+++ b/res/layout/apply_theme_layout.xml
@@ -9,7 +9,7 @@
android:visibility="gone"
android:background="@color/apply_layout_background">
- <TextView
+ <com.cyngn.theme.widget.LatoTextView
android:layout_width="wrap_content"
android:layout_height="132dp"
android:layout_gravity="top|center_horizontal"
diff --git a/res/layout/audible_card.xml b/res/layout/audible_card.xml
index 272b489..2c6bd50 100644
--- a/res/layout/audible_card.xml
+++ b/res/layout/audible_card.xml
@@ -8,7 +8,7 @@
android:layout_height="wrap_content"
android:orientation="vertical"
android:background="@drawable/card_bg">
- <TextView
+ <com.cyngn.theme.widget.LatoTextView
android:id="@+id/label"
android:layout_width="match_parent"
android:layout_height="wrap_content"
@@ -21,7 +21,7 @@
android:orientation="horizontal"
android:layout_width="match_parent"
android:layout_height="match_parent">
- <TextView
+ <com.cyngn.theme.widget.LatoTextView
android:id="@+id/audible_name"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
diff --git a/res/layout/bootani_component_selection_item.xml b/res/layout/bootani_component_selection_item.xml
index c6623d1..965a266 100644
--- a/res/layout/bootani_component_selection_item.xml
+++ b/res/layout/bootani_component_selection_item.xml
@@ -15,7 +15,7 @@
android:layout_marginTop="@dimen/component_margin_top"
android:layout_gravity="center_horizontal"/>
- <TextView
+ <com.cyngn.theme.widget.LatoTextView
android:id="@+id/title"
android:layout_width="match_parent"
android:layout_height="wrap_content"
diff --git a/res/layout/bootanim_card.xml b/res/layout/bootanim_card.xml
index 70d3f8e..0e2f705 100644
--- a/res/layout/bootanim_card.xml
+++ b/res/layout/bootanim_card.xml
@@ -19,7 +19,7 @@
android:layout_marginTop="@dimen/expanded_card_margin_top"
android:adjustViewBounds="true"
android:layout_gravity="center"/>
- <TextView
+ <com.cyngn.theme.widget.LatoTextView
android:id="@+id/label"
android:layout_width="match_parent"
android:layout_height="wrap_content"
diff --git a/res/layout/customize_reset_theme_layout.xml b/res/layout/customize_reset_theme_layout.xml
index 9e75298..ca744ba 100644
--- a/res/layout/customize_reset_theme_layout.xml
+++ b/res/layout/customize_reset_theme_layout.xml
@@ -40,7 +40,7 @@
android:scaleType="center"
android:background="@drawable/apply_cancel_bg"/>
- <TextView
+ <com.cyngn.theme.widget.LatoTextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="center_horizontal"
@@ -74,7 +74,7 @@
android:scaleType="center"
android:background="@drawable/apply_cancel_bg"/>
- <TextView
+ <com.cyngn.theme.widget.LatoTextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="center_horizontal"
diff --git a/res/layout/font_card.xml b/res/layout/font_card.xml
index efcd691..601f5b2 100644
--- a/res/layout/font_card.xml
+++ b/res/layout/font_card.xml
@@ -11,7 +11,7 @@
android:orientation="vertical"
android:padding="0dp"
android:background="@drawable/theme_component_bg_transition">
- <TextView
+ <com.cyngn.theme.widget.LatoTextView
android:id="@+id/label"
android:layout_width="match_parent"
android:layout_height="wrap_content"
@@ -21,7 +21,7 @@
<FrameLayout
android:layout_width="match_parent"
android:layout_height="wrap_content">
- <TextView
+ <com.cyngn.theme.widget.LatoTextView
android:id="@+id/font_preview"
android:layout_width="match_parent"
android:layout_height="48dp"
diff --git a/res/layout/font_component_selection_item.xml b/res/layout/font_component_selection_item.xml
index 04f3400..c520bc7 100644
--- a/res/layout/font_component_selection_item.xml
+++ b/res/layout/font_component_selection_item.xml
@@ -17,7 +17,7 @@
android:layout_marginTop="@dimen/component_margin_top"
android:layout_gravity="center_horizontal"/>
- <TextView
+ <com.cyngn.theme.widget.LatoTextView
android:id="@+id/title"
android:layout_width="match_parent"
android:layout_height="wrap_content"
diff --git a/res/layout/fragment_pager_list.xml b/res/layout/fragment_pager_list.xml
index 4a3d16e..41baa30 100644
--- a/res/layout/fragment_pager_list.xml
+++ b/res/layout/fragment_pager_list.xml
@@ -73,7 +73,7 @@
android:layout_width="match_parent"
android:layout_height="@dimen/title_card_height"
android:alpha="0">
- <TextView
+ <com.cyngn.theme.widget.LatoTextView
android:id="@+id/title"
android:layout_width="0dp"
android:layout_height="match_parent"
diff --git a/res/layout/icon_card.xml b/res/layout/icon_card.xml
index 2db8bc7..5adf304 100644
--- a/res/layout/icon_card.xml
+++ b/res/layout/icon_card.xml
@@ -11,7 +11,7 @@
android:padding="0dp"
android:layout_marginTop="@dimen/collapsed_icon_card_margin_top"
android:background="@drawable/theme_component_bg_transition">
- <TextView
+ <com.cyngn.theme.widget.LatoTextView
android:id="@+id/label"
android:layout_width="match_parent"
android:layout_height="wrap_content"
diff --git a/res/layout/icon_component_selection_item.xml b/res/layout/icon_component_selection_item.xml
index a385bf6..b26972d 100644
--- a/res/layout/icon_component_selection_item.xml
+++ b/res/layout/icon_component_selection_item.xml
@@ -17,7 +17,7 @@
android:layout_marginTop="@dimen/component_margin_top"
android:layout_gravity="center_horizontal"/>
- <TextView
+ <com.cyngn.theme.widget.LatoTextView
android:id="@+id/title"
android:layout_width="match_parent"
android:layout_height="wrap_content"
diff --git a/res/layout/navbar_card.xml b/res/layout/navbar_card.xml
index e9343a2..6b19a24 100644
--- a/res/layout/navbar_card.xml
+++ b/res/layout/navbar_card.xml
@@ -12,7 +12,7 @@
android:padding="0dp"
android:gravity="bottom"
android:background="@drawable/theme_component_bg_transition">
- <TextView
+ <com.cyngn.theme.widget.LatoTextView
android:id="@+id/label"
android:layout_width="match_parent"
android:layout_height="wrap_content"
diff --git a/res/layout/navigation_bar_component_selection_item.xml b/res/layout/navigation_bar_component_selection_item.xml
index 1c7854c..fef8ee8 100644
--- a/res/layout/navigation_bar_component_selection_item.xml
+++ b/res/layout/navigation_bar_component_selection_item.xml
@@ -25,7 +25,7 @@
</LinearLayout>
- <TextView
+ <com.cyngn.theme.widget.LatoTextView
android:id="@+id/title"
android:layout_width="match_parent"
android:layout_height="wrap_content"
diff --git a/res/layout/shop_themes.xml b/res/layout/shop_themes.xml
index 727741f..dc8603c 100644
--- a/res/layout/shop_themes.xml
+++ b/res/layout/shop_themes.xml
@@ -10,7 +10,7 @@
android:layout_gravity="bottom|center_horizontal"
android:alpha="0">
- <TextView
+ <com.cyngn.theme.widget.LatoTextView
android:id="@+id/shop_themes"
android:layout_width="140dp"
android:layout_height="44dp"
diff --git a/res/layout/sound_component_selection_item.xml b/res/layout/sound_component_selection_item.xml
index e2a7754..7ded01f 100644
--- a/res/layout/sound_component_selection_item.xml
+++ b/res/layout/sound_component_selection_item.xml
@@ -7,7 +7,7 @@
android:layout_width="match_parent"
android:layout_height="wrap_content">
- <TextView
+ <com.cyngn.theme.widget.LatoTextView
android:id="@+id/title"
android:layout_width="0dp"
android:layout_height="wrap_content"
diff --git a/res/layout/status_bar_card.xml b/res/layout/status_bar_card.xml
index a4a4088..ad50167 100644
--- a/res/layout/status_bar_card.xml
+++ b/res/layout/status_bar_card.xml
@@ -12,7 +12,7 @@
android:clickable="true"
android:focusable="true"
android:background="@drawable/theme_component_bg_transition">
- <TextView
+ <com.cyngn.theme.widget.LatoTextView
android:id="@+id/label"
android:layout_width="match_parent"
android:layout_height="wrap_content"
diff --git a/res/layout/status_bar_component_selection_item.xml b/res/layout/status_bar_component_selection_item.xml
index 4c5efa0..cd84662 100644
--- a/res/layout/status_bar_component_selection_item.xml
+++ b/res/layout/status_bar_component_selection_item.xml
@@ -37,7 +37,7 @@
</FrameLayout>
- <TextView
+ <com.cyngn.theme.widget.LatoTextView
android:id="@+id/title"
android:layout_width="match_parent"
android:layout_height="wrap_content"
diff --git a/res/layout/style_card.xml b/res/layout/style_card.xml
index cff46da..72f51ba 100644
--- a/res/layout/style_card.xml
+++ b/res/layout/style_card.xml
@@ -9,7 +9,7 @@
android:layout_height="wrap_content"
android:orientation="vertical"
android:background="@drawable/card_bg">
- <TextView
+ <com.cyngn.theme.widget.LatoTextView
android:id="@+id/label"
android:layout_width="match_parent"
android:layout_height="wrap_content"
diff --git a/res/layout/tag_customized.xml b/res/layout/tag_customized.xml
index c1ac380..426da25 100644
--- a/res/layout/tag_customized.xml
+++ b/res/layout/tag_customized.xml
@@ -2,7 +2,8 @@
<!--
Copyright (C) 2014 Cyanogen, Inc.
-->
-<TextView xmlns:android="http://schemas.android.com/apk/res/android"
+<com.cyngn.theme.widget.LatoTextView
+ xmlns:android="http://schemas.android.com/apk/res/android"
android:id="@+id/tag_customized"
android:layout_width="100dp"
android:layout_height="24dp"
diff --git a/res/layout/tag_default.xml b/res/layout/tag_default.xml
index 8f2c4a1..fe49d7f 100644
--- a/res/layout/tag_default.xml
+++ b/res/layout/tag_default.xml
@@ -2,7 +2,8 @@
<!--
Copyright (C) 2014 Cyanogen, Inc.
-->
-<TextView xmlns:android="http://schemas.android.com/apk/res/android"
+<com.cyngn.theme.widget.LatoTextView
+ xmlns:android="http://schemas.android.com/apk/res/android"
android:id="@+id/tag_default"
android:layout_width="75dp"
android:layout_height="24dp"
diff --git a/res/layout/tag_updated.xml b/res/layout/tag_updated.xml
index 4a75907..ab05187 100644
--- a/res/layout/tag_updated.xml
+++ b/res/layout/tag_updated.xml
@@ -2,7 +2,8 @@
<!--
Copyright (C) 2014 Cyanogen, Inc.
-->
-<TextView xmlns:android="http://schemas.android.com/apk/res/android"
+<com.cyngn.theme.widget.LatoTextView
+ xmlns:android="http://schemas.android.com/apk/res/android"
android:id="@+id/tag_updated"
android:layout_width="75dp"
android:layout_height="24dp"
diff --git a/res/layout/wallpaper_card.xml b/res/layout/wallpaper_card.xml
index a896cbe..5ed7790 100644
--- a/res/layout/wallpaper_card.xml
+++ b/res/layout/wallpaper_card.xml
@@ -11,7 +11,7 @@
android:layout_height="match_parent"
android:scaleType="centerCrop" />
- <TextView
+ <com.cyngn.theme.widget.LatoTextView
android:id="@+id/none"
android:layout_width="match_parent"
android:layout_height="match_parent"
diff --git a/res/layout/wallpaper_component_selection_item.xml b/res/layout/wallpaper_component_selection_item.xml
index 7e530a5..3fa99a9 100644
--- a/res/layout/wallpaper_component_selection_item.xml
+++ b/res/layout/wallpaper_component_selection_item.xml
@@ -25,7 +25,7 @@
android:background="@drawable/wallpaper_border" />
</FrameLayout>
- <TextView
+ <com.cyngn.theme.widget.LatoTextView
android:id="@+id/title"
android:layout_width="match_parent"
android:layout_height="wrap_content"