|
@@ -2014,6 +2014,13 @@ class MainActivity : BaseActivity<MainViewModel, ActivityMainBinding>(), Downloa
|
2014
|
2014
|
}
|
2015
|
2015
|
|
2016
|
2016
|
override fun dispatchTouchEvent(ev: MotionEvent?): Boolean {
|
|
2017
|
+ val x = mBinding.netsetLlayout.x
|
|
2018
|
+ val y = mBinding.netsetLlayout.y
|
|
2019
|
+ if (ev!=null){
|
|
2020
|
+ if (ev.x>=x&&ev.y>=y){
|
|
2021
|
+ super.dispatchTouchEvent(ev)
|
|
2022
|
+ }
|
|
2023
|
+ }
|
2017
|
2024
|
return if (canClickFlag || !NetworkUtils.isAvailable(this)) {
|
2018
|
2025
|
super.dispatchTouchEvent(ev)
|
2019
|
2026
|
} else {
|