0

The SlidingTabStrip ANIMATION_DURATION is set to 300 in TabLayout.java. Is there a way/method used to customise the animation duration either in xml or programatically in java?

k4s
  • 149
  • 1
  • 14

1 Answers1

1

It's a static final field, so it cannot be changed from neither xml nor Java.

The only way you may succeed it is using reflection.

Community
  • 1
  • 1
azizbekian
  • 60,783
  • 13
  • 169
  • 249