|
|
@ -11,7 +11,6 @@ import android.widget.FrameLayout |
|
|
|
import android.widget.SeekBar |
|
|
|
import android.widget.SeekBar |
|
|
|
import androidx.core.view.isGone |
|
|
|
import androidx.core.view.isGone |
|
|
|
import androidx.core.view.isVisible |
|
|
|
import androidx.core.view.isVisible |
|
|
|
import com.zackratos.ultimatebarx.ultimatebarx.navigationBarHeight |
|
|
|
|
|
|
|
import io.legado.app.R |
|
|
|
import io.legado.app.R |
|
|
|
import io.legado.app.constant.PreferKey |
|
|
|
import io.legado.app.constant.PreferKey |
|
|
|
import io.legado.app.databinding.ViewReadMenuBinding |
|
|
|
import io.legado.app.databinding.ViewReadMenuBinding |
|
|
@ -247,10 +246,8 @@ class ReadMenu @JvmOverloads constructor( |
|
|
|
|
|
|
|
|
|
|
|
override fun onAnimationEnd(animation: Animation) { |
|
|
|
override fun onAnimationEnd(animation: Animation) { |
|
|
|
binding.vwMenuBg.setOnClickListener { runMenuOut() } |
|
|
|
binding.vwMenuBg.setOnClickListener { runMenuOut() } |
|
|
|
binding.vwNavigationBar.run { |
|
|
|
binding.vwNavigationBar.layoutParams = binding.vwNavigationBar.layoutParams.apply { |
|
|
|
layoutParams = layoutParams.apply { |
|
|
|
height = activity!!.navigationBarHeight |
|
|
|
height = navigationBarHeight |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|
if (!LocalConfig.readMenuHelpVersionIsLast) { |
|
|
|
if (!LocalConfig.readMenuHelpVersionIsLast) { |
|
|
|
callBack.showReadMenuHelp() |
|
|
|
callBack.showReadMenuHelp() |
|
|
|