|
|
@ -852,8 +852,12 @@ abstract class ActivityBase extends AppCompatActivity implements SharedPreferenc
|
|
|
|
abAnimator.addUpdateListener(new ValueAnimator.AnimatorUpdateListener() {
|
|
|
|
abAnimator.addUpdateListener(new ValueAnimator.AnimatorUpdateListener() {
|
|
|
|
@Override
|
|
|
|
@Override
|
|
|
|
public void onAnimationUpdate(ValueAnimator anim) {
|
|
|
|
public void onAnimationUpdate(ValueAnimator anim) {
|
|
|
|
abv.getLayoutParams().height = (Integer) anim.getAnimatedValue();
|
|
|
|
try {
|
|
|
|
abv.requestLayout();
|
|
|
|
abv.getLayoutParams().height = (Integer) anim.getAnimatedValue();
|
|
|
|
|
|
|
|
abv.requestLayout();
|
|
|
|
|
|
|
|
} catch (Throwable ex) {
|
|
|
|
|
|
|
|
Log.e(ex);
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
});
|
|
|
|
});
|
|
|
|
abAnimator.setDuration(250L);
|
|
|
|
abAnimator.setDuration(250L);
|
|
|
|