handle equalizer color only after dynamically adding all views
This commit is contained in:
parent
9184617af6
commit
9b245b2c27
1 changed files with 1 additions and 1 deletions
|
@ -29,7 +29,6 @@ class EqualizerActivity : SimpleActivity() {
|
|||
override fun onCreate(savedInstanceState: Bundle?) {
|
||||
super.onCreate(savedInstanceState)
|
||||
setContentView(R.layout.activity_equalizer)
|
||||
updateTextColors(equalizer_holder)
|
||||
initMediaPlayer()
|
||||
}
|
||||
|
||||
|
@ -45,6 +44,7 @@ class EqualizerActivity : SimpleActivity() {
|
|||
equalizer.enabled = true
|
||||
setupBands(equalizer)
|
||||
setupPresets(equalizer)
|
||||
updateTextColors(equalizer_holder)
|
||||
}
|
||||
|
||||
private fun setupBands(equalizer: Equalizer) {
|
||||
|
|
Loading…
Reference in a new issue