Mojangles font
This commit is contained in:
parent
7af71ba217
commit
0bec4f4d61
3 changed files with 3 additions and 1 deletions
|
@ -312,6 +312,7 @@ class ExoplayerView : AppCompatActivity(), Player.Listener, SessionAvailabilityL
|
||||||
3 -> ResourcesCompat.getFont(this, R.font.poppins_thin)
|
3 -> ResourcesCompat.getFont(this, R.font.poppins_thin)
|
||||||
4 -> ResourcesCompat.getFont(this, R.font.century_gothic_regular)
|
4 -> ResourcesCompat.getFont(this, R.font.century_gothic_regular)
|
||||||
5 -> ResourcesCompat.getFont(this, R.font.century_gothic_bold)
|
5 -> ResourcesCompat.getFont(this, R.font.century_gothic_bold)
|
||||||
|
6 -> ResourcesCompat.getFont(this, R.font.mojangles)
|
||||||
else -> ResourcesCompat.getFont(this, R.font.poppins_semi_bold)
|
else -> ResourcesCompat.getFont(this, R.font.poppins_semi_bold)
|
||||||
}
|
}
|
||||||
playerView.subtitleView?.setStyle(
|
playerView.subtitleView?.setStyle(
|
||||||
|
|
|
@ -442,7 +442,8 @@ class PlayerSettingsActivity : AppCompatActivity() {
|
||||||
"Poppins",
|
"Poppins",
|
||||||
"Poppins Thin",
|
"Poppins Thin",
|
||||||
"Century Gothic",
|
"Century Gothic",
|
||||||
"Century Gothic Bold"
|
"Century Gothic Bold",
|
||||||
|
"Mojangles"
|
||||||
)
|
)
|
||||||
val fontDialog = AlertDialog.Builder(this, R.style.MyPopup)
|
val fontDialog = AlertDialog.Builder(this, R.style.MyPopup)
|
||||||
.setTitle(getString(R.string.subtitle_font))
|
.setTitle(getString(R.string.subtitle_font))
|
||||||
|
|
BIN
app/src/main/res/font/mojangles.ttf
Normal file
BIN
app/src/main/res/font/mojangles.ttf
Normal file
Binary file not shown.
Loading…
Add table
Add a link
Reference in a new issue