如题,为什么在layout中的button不能响应了?
` ObjectAnimator animator=ObjectAnimator.ofFloat(hiddenLayout,"translationY",0);
animator.setDuration(100);
animator.start();`
Log输出属性动画执行前后layout的getY()未改变,这是为什么?
Copyright 2014-2025 https://www.php.cn/ All Rights Reserved | php.cn | 湘ICP备2023035733号
原来是处理Gesturedetecter的时候将事件拦截在acticity了。。。。