瀏覽代碼

Add fonts alias

Wayne 5 年之前
父節點
當前提交
c43fdcfb22
共有 1 個文件被更改,包括 11 次插入5 次删除
  1. 11 5
      src/main/res/values/fonts.xml

+ 11 - 5
src/main/res/values/fonts.xml

@@ -1,8 +1,14 @@
 <?xml version="1.0" encoding="utf-8"?>
 <resources>
-    <string name="font_roboto" translatable="false">sans-serif</string>
-    <string name="font_roboto_medium" translatable="false">sans-serif-medium</string>
-    <string name="font_roboto_black" translatable="false">sans-serif-black</string>
-    <string name="font_roboto_regular" translatable="false">sans-serif-regular</string>
-    <string name="font_roboto_condensed" translatable="false">sans-serif-condensed</string>
+    <string name="font_roboto" translatable="false">@string/sans_serif</string>
+    <string name="font_roboto_medium" translatable="false">@string/sans_serif_medium</string>
+    <string name="font_roboto_black" translatable="false">@string/sans_serif_black</string>
+    <string name="font_roboto_regular" translatable="false">@string/sans_serif_regular</string>
+    <string name="font_roboto_condensed" translatable="false">@string/sans_serif_condensed</string>
+
+    <string name="sans_serif" translatable="false">sans-serif</string>
+    <string name="sans_serif_medium" translatable="false">sans-serif-medium</string>
+    <string name="sans_serif_black" translatable="false">sans-serif-black</string>
+    <string name="sans_serif_regular" translatable="false">sans-serif-regular</string>
+    <string name="sans_serif_condensed" translatable="false">sans-serif-condensed</string>
 </resources>