diff options
author | Alex Ning <chineseperson5@gmail.com> | 2020-06-10 04:22:19 +0000 |
---|---|---|
committer | Alex Ning <chineseperson5@gmail.com> | 2020-06-10 04:22:19 +0000 |
commit | 4cd07e3bb61d848590a953a37c8501962e2c0bd8 (patch) | |
tree | cf4878e6ccea7a7f58d117fef57233a5cd48c6c8 /app/src/main/res/values/attr.xml | |
parent | 9a47a3d9d20c061e38161293498622e3a6aaf8b5 (diff) | |
download | infinity-for-reddit-4cd07e3bb61d848590a953a37c8501962e2c0bd8.tar infinity-for-reddit-4cd07e3bb61d848590a953a37c8501962e2c0bd8.tar.gz infinity-for-reddit-4cd07e3bb61d848590a953a37c8501962e2c0bd8.tar.bz2 infinity-for-reddit-4cd07e3bb61d848590a953a37c8501962e2c0bd8.tar.lz infinity-for-reddit-4cd07e3bb61d848590a953a37c8501962e2c0bd8.tar.xz infinity-for-reddit-4cd07e3bb61d848590a953a37c8501962e2c0bd8.tar.zst infinity-for-reddit-4cd07e3bb61d848590a953a37c8501962e2c0bd8.zip |
Prepare to add different font support.
Diffstat (limited to 'app/src/main/res/values/attr.xml')
-rw-r--r-- | app/src/main/res/values/attr.xml | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/app/src/main/res/values/attr.xml b/app/src/main/res/values/attr.xml index f9b5058b..0cfd9358 100644 --- a/app/src/main/res/values/attr.xml +++ b/app/src/main/res/values/attr.xml @@ -27,6 +27,18 @@ <attr name="content_font_20" format="dimension"/> </declare-styleable> + <declare-styleable name="FontFamily"> + <attr name="font_family" format="reference"/> + </declare-styleable> + + <declare-styleable name="TitleFontFamily"> + <attr name="title_font_family" format="reference"/> + </declare-styleable> + + <declare-styleable name="ContentFontFamily"> + <attr name="content_font_family" format="reference"/> + </declare-styleable> + <declare-styleable name="Theme"> <attr name="colorPrimary" format="color"/> <attr name="colorPrimaryDark" format="color"/> |