Merge pull request #195 from Sadwhy/patch-6

A well recognized font
This commit is contained in:
rebel onion 2024-02-12 17:34:33 -06:00 committed by GitHub
commit efb3b27317
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 3 additions and 1 deletions

View file

@ -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.blocky)
else -> ResourcesCompat.getFont(this, R.font.poppins_semi_bold) else -> ResourcesCompat.getFont(this, R.font.poppins_semi_bold)
} }
playerView.subtitleView?.setStyle( playerView.subtitleView?.setStyle(

View file

@ -442,7 +442,8 @@ class PlayerSettingsActivity : AppCompatActivity() {
"Poppins", "Poppins",
"Poppins Thin", "Poppins Thin",
"Century Gothic", "Century Gothic",
"Century Gothic Bold" "Century Gothic Bold",
"Blocky"
) )
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))

Binary file not shown.