ux: disable page transition animation

This commit is contained in:
TCFDONMEZ
2026-09-30 10:36:09 +03:00
parent bad747a230
commit cca911c4e4
4 changed files with 10 additions and 3 deletions
@@ -155,7 +155,7 @@ public class MainActivity extends AppCompatActivity {
final int index = i;
// Animated, so the button does the same thing the swipe does: the direction of
// travel is what tells the driver where they are in the row.
findViewById(TAB_IDS[i]).setOnClickListener(v -> pager.setCurrentItem(index, true));
findViewById(TAB_IDS[i]).setOnClickListener(v -> pager.setCurrentItem(index, false));
}
markCurrentPage(pager.getCurrentItem());
}