mirror of
https://github.com/jfoucry/Pilldroid.git
synced 2024-11-22 04:29:22 +01:00
Add animation in tutorial
This commit is contained in:
parent
a70994eb99
commit
523011937e
1 changed files with 1 additions and 0 deletions
|
@ -94,6 +94,7 @@ public class WelcomeActivity extends AppCompatActivity {
|
||||||
if (current < layouts.length) {
|
if (current < layouts.length) {
|
||||||
// move to next screen
|
// move to next screen
|
||||||
viewPager.setCurrentItem(current);
|
viewPager.setCurrentItem(current);
|
||||||
|
overridePendingTransition(R.anim.slide_from_left, R.anim.slide_to_right);
|
||||||
} else {
|
} else {
|
||||||
launchHomeScreen();
|
launchHomeScreen();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue