LibreTube/app/src/main/java/com/github/libretube/preferences/PlayerSettings.kt
2022-06-18 15:58:41 +02:00

18 lines
569 B
Kotlin

package com.github.libretube.preferences
import android.os.Bundle
import android.widget.TextView
import androidx.preference.PreferenceFragmentCompat
import com.github.libretube.R
class PlayerSettings : PreferenceFragmentCompat() {
val TAG = "PlayerSettings"
override fun onCreatePreferences(savedInstanceState: Bundle?, rootKey: String?) {
setPreferencesFromResource(R.xml.player_settings, rootKey)
val topBarTextView = activity?.findViewById<TextView>(R.id.topBar_textView)
topBarTextView?.text = getString(R.string.player)
}
}