# Android page transition

**URL:** <https://forum.ionicframework.com/t/android-page-transition/31639>\
**Category:** ionic-v1\
**Created:** [September 2, 2015, 11:09pm UTC](https://forum.ionicframework.com/t/android-page-transition/31639 "2015-09-02T23:09:23Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![onigetoc](https://sea1.discourse-cdn.com/ionicframework/user_avatar/forum.ionicframework.com/onigetoc/32/90683_2.png) [@onigetoc](https://forum.ionicframework.com/u/onigetoc)\
**Post date:** [September 2, 2015, 11:09pm UTC](https://forum.ionicframework.com/t/android-page-transition/31639/1 "2015-09-02T23:09:24Z")

</div>

It would be great to have the Android page transition like app.js from the Kik guys.  
[http://youtube.kik.com/](http://youtube.kik.com/) (View this page on Android or Chrome inspector with Android emulator)  
i think they use scale transform for Android.

---

<div class="post-metadata">

**Author:** ![bengtler](https://sea1.discourse-cdn.com/ionicframework/user_avatar/forum.ionicframework.com/bengtler/32/98565_2.png) [@bengtler](https://forum.ionicframework.com/u/bengtler)\
**Post date:** [September 3, 2015, 5:39am UTC](https://forum.ionicframework.com/t/android-page-transition/31639/2 "2015-09-03T05:39:05Z")

</div>

implement it 😉 and share it with us 🙂

---

<div class="post-metadata">

**Author:** ![Gajotres](https://sea1.discourse-cdn.com/ionicframework/user_avatar/forum.ionicframework.com/gajotres/32/98564_2.png) [@Gajotres](https://forum.ionicframework.com/u/Gajotres)\
**Post date:** [September 3, 2015, 8:20am UTC](https://forum.ionicframework.com/t/android-page-transition/31639/3 "2015-09-03T08:20:44Z")

</div>

> [@onigetoc](#):
>
> It would be great to have the Android page transition like app.js from the Kik guys.[http://youtube.kik.com/](http://youtube.kik.com/) (View this page on Android or Chrome inspector with Android emulator)i think they use scale transform for Android.

You can have them right now:

> [@Native View Transition Animations](http://forum.ionicframework.com/t/native-view-transition-animations/31422):
>
> If anyone’s interested, I found a way to use native view transitions with Ionic Framework. This solution will only work on smartphones, so desktop browsers and Ionic View are out of the question. ##Requirements To make this work we need Telerik Native Page Transitions plugin. It’s made for KendoUI but at the same time it’s platform agnostic making it usable with Ionic. Plugin can be found here: [http://plugins.telerik.com/cordova/plugin/native-page-transitions#VersionHistory](http://plugins.telerik.com/cordova/plugin/native-page-transitions#VersionHistory) Install it li…

If I’m looking at a right example you want a fade transition effect.

---

<div class="post-metadata">

**Author:** ![onigetoc](https://sea1.discourse-cdn.com/ionicframework/user_avatar/forum.ionicframework.com/onigetoc/32/90683_2.png) [@onigetoc](https://forum.ionicframework.com/u/onigetoc)\
**Post date:** [September 8, 2015, 12:32am UTC](https://forum.ionicframework.com/t/android-page-transition/31639/4 "2015-09-08T00:32:55Z")

</div>

But we can do it with css3 only, i checked the js and the css of IONIC and it’s not easy to implement it.  
here the css3 i used to make it look like android transition in a app i did previously with bootstrap caroussel.

```
@-webkit-keyframes scaleDown {
	to { opacity: 0; -webkit-transform: scale(.8); }
}
@-moz-keyframes scaleDown {
	to { opacity: 0; -moz-transform: scale(.8); }
}
@keyframes scaleDown {
	to { opacity: 0; transform: scale(.8); }
}

@-webkit-keyframes scaleUp {
	from { opacity: 0; -webkit-transform: scale(.8); }
}
@-moz-keyframes scaleUp {
	from { opacity: 0; -moz-transform: scale(.8); }
}
@keyframes scaleUp {
	from { opacity: 0; transform: scale(.8); }
}

.carousel-pop .active.right {
	left: 0;
	z-index: 2;
	-webkit-animation: scaleDown .2s ease both;
	-moz-animation: scaleDown .2s ease both;
	animation: scaleDown .2s ease both;
	/*-webkit-transform: translate3d(0,0,0); */
}

.carousel-pop .next {
	left: 0;
	z-index: 1;
}

.carousel-pop .prev {
	left: 0;
	z-index: 1;
}

.carousel-pop .carousel-inner > .next {
  	-webkit-animation: scaleUp .2s ease both;
	-moz-animation: scaleUp .2s ease both;
	animation: scaleUp .2s ease both; 
	/*-webkit-transform: translate3d(0,0,0); */
}
```

---

<div class="post-metadata">

**Author:** ![onigetoc](https://sea1.discourse-cdn.com/ionicframework/user_avatar/forum.ionicframework.com/onigetoc/32/90683_2.png) [@onigetoc](https://forum.ionicframework.com/u/onigetoc)\
**Post date:** [February 10, 2016, 2:02pm UTC](https://forum.ionicframework.com/t/android-page-transition/31639/5 "2016-02-10T14:02:26Z")

</div>

I just try to make the Android Scale Up and Scale Down transition.

I did it work with pure css animation and it’s looking great, But for testing it, i sould set the config this way.  
`$ionicConfigProvider.views.transition('none');`

My Scale Up work perfectlty. but logically, the Scale Down can not work since i put the ionicConfigProvider.views.transition to none and the old page is removed with no timeout.

If you want to help, fork what i did put on Github. there’s more explanation and you can view the complete CSS code.  
[https://github.com/onigetoc/Ionic-Android-Transition-scale](https://github.com/onigetoc/Ionic-Android-Transition-scale)

Demo, do note work for tab, it for navigation transition.  
[Demo Codepen](http://codepen.io/onigetoc/pen/KVGOqb)

By the way, i did my [Readme.md](http://Readme.md) file on Github with my own project HTML to MARKDOWN.  
[http://editconvert.com/](http://editconvert.com/)
