mirror of
https://github.com/mihonapp/mihon.git
synced 2025-10-30 13:57:57 +01:00
Use native fontFamily support for library titles
This commit is contained in:
BIN
app/src/main/res/font/ptsans_narrow_bold.ttf
Normal file
BIN
app/src/main/res/font/ptsans_narrow_bold.ttf
Normal file
Binary file not shown.
@@ -89,7 +89,7 @@
|
||||
tools:visibility="visible" />
|
||||
</androidx.constraintlayout.widget.ConstraintLayout>
|
||||
|
||||
<eu.kanade.tachiyomi.widget.PTSansTextView
|
||||
<TextView
|
||||
android:id="@+id/title"
|
||||
style="@style/TextAppearance.Regular.Body1.Light"
|
||||
android:layout_width="match_parent"
|
||||
@@ -103,7 +103,7 @@
|
||||
android:shadowDx="0"
|
||||
android:shadowDy="0"
|
||||
android:shadowRadius="4"
|
||||
app:typeface="ptsansNarrowBold"
|
||||
android:fontFamily="@font/ptsans_narrow_bold"
|
||||
tools:text="Sample name" />
|
||||
|
||||
<ProgressBar
|
||||
|
||||
@@ -1,15 +1,6 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<resources>
|
||||
|
||||
<attr name="typeface" format="enum">
|
||||
<enum name="ptsansNarrow" value="0"/>
|
||||
<enum name="ptsansNarrowBold" value="1"/>
|
||||
</attr>
|
||||
|
||||
<declare-styleable name="PTSansTextView">
|
||||
<attr name="typeface"/>
|
||||
</declare-styleable>
|
||||
|
||||
<declare-styleable name="MinMaxNumberPicker">
|
||||
<attr name="min" format="integer"/>
|
||||
<attr name="max" format="integer"/>
|
||||
|
||||
Reference in New Issue
Block a user