mirror of
https://github.com/FossifyOrg/Gallery.git
synced 2024-11-22 04:28:00 +01:00
Expand playback speed bottom sheet by default
This commit is contained in:
parent
2caa178417
commit
6e98294147
1 changed files with 3 additions and 0 deletions
|
@ -6,6 +6,8 @@ import android.view.LayoutInflater
|
||||||
import android.view.View
|
import android.view.View
|
||||||
import android.view.ViewGroup
|
import android.view.ViewGroup
|
||||||
import androidx.core.content.res.ResourcesCompat
|
import androidx.core.content.res.ResourcesCompat
|
||||||
|
import com.google.android.material.bottomsheet.BottomSheetBehavior
|
||||||
|
import com.google.android.material.bottomsheet.BottomSheetDialog
|
||||||
import com.google.android.material.bottomsheet.BottomSheetDialogFragment
|
import com.google.android.material.bottomsheet.BottomSheetDialogFragment
|
||||||
import org.fossify.commons.extensions.*
|
import org.fossify.commons.extensions.*
|
||||||
import org.fossify.commons.views.MySeekBar
|
import org.fossify.commons.views.MySeekBar
|
||||||
|
@ -49,6 +51,7 @@ class PlaybackSpeedFragment : BottomSheetDialogFragment() {
|
||||||
initSeekbar(playbackSpeedSeekbar, playbackSpeedLabel, config)
|
initSeekbar(playbackSpeedSeekbar, playbackSpeedLabel, config)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
(dialog as? BottomSheetDialog)?.behavior?.state = BottomSheetBehavior.STATE_EXPANDED
|
||||||
return binding.root
|
return binding.root
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue