[Lyrics] Fixed search icon not visible in LyricsFragment

This commit is contained in:
Prathamesh More 2021-12-02 14:27:13 +05:30
parent 1f84026682
commit a6319167c9
2 changed files with 2 additions and 1 deletions

View file

@ -97,6 +97,7 @@ class LyricsFragment : AbsMusicServiceFragment(R.layout.fragment_lyrics) {
override fun onViewCreated(view: View, savedInstanceState: Bundle?) {
super.onViewCreated(view, savedInstanceState)
setHasOptionsMenu(true)
enterTransition = Fade()
exitTransition = Fade()
lyricsSectionsAdapter = LyricsSectionsAdapter(requireActivity())

View file

@ -5,5 +5,5 @@
android:id="@+id/action_search"
android:icon="@drawable/ic_search"
android:title="@string/action_search"
app:showAsAction="ifRoom" />
app:showAsAction="always" />
</menu>