├── README ├── .gitignore └── CustomActivityTransition ├── res ├── drawable-hdpi │ └── ic_launcher.png ├── drawable-ldpi │ └── ic_launcher.png ├── drawable-mdpi │ └── ic_launcher.png ├── values │ └── strings.xml ├── anim │ ├── slide_in_bottom.xml │ ├── slide_in_top.xml │ ├── slide_out_top.xml │ ├── slide_out_bottom.xml │ ├── slide_in_left.xml │ ├── slide_in_right.xml │ ├── slide_out_left.xml │ └── slide_out_right.xml └── layout │ ├── third.xml │ ├── second.xml │ └── main.xml ├── README ├── .classpath ├── project.properties ├── src └── com │ └── habibm │ └── customactivitytransition │ ├── ThirdActivity.java │ ├── SecondActivity.java │ └── CustomActivityTransitionActivity.java ├── .project ├── AndroidManifest.xml └── proguard.cfg /README: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | */bin 2 | */gen 3 | *local.properties 4 | 5 | -------------------------------------------------------------------------------- /CustomActivityTransition/res/drawable-hdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/habibm/Android-Custom-Activity-Transition/HEAD/CustomActivityTransition/res/drawable-hdpi/ic_launcher.png -------------------------------------------------------------------------------- /CustomActivityTransition/res/drawable-ldpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/habibm/Android-Custom-Activity-Transition/HEAD/CustomActivityTransition/res/drawable-ldpi/ic_launcher.png -------------------------------------------------------------------------------- /CustomActivityTransition/res/drawable-mdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/habibm/Android-Custom-Activity-Transition/HEAD/CustomActivityTransition/res/drawable-mdpi/ic_launcher.png -------------------------------------------------------------------------------- /CustomActivityTransition/README: -------------------------------------------------------------------------------- 1 | A sample application that shows how to implement custom transition between activities. 2 | Following transition are added: 3 | - Slide in-out left-right 4 | - Slide in-out top-bottom -------------------------------------------------------------------------------- /CustomActivityTransition/res/values/strings.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | Hello World, CustomActivityTransitionActivity! 5 | CustomActivityTransition 6 | 7 | -------------------------------------------------------------------------------- /CustomActivityTransition/res/anim/slide_in_bottom.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 8 | 9 | -------------------------------------------------------------------------------- /CustomActivityTransition/res/anim/slide_in_top.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 8 | 9 | -------------------------------------------------------------------------------- /CustomActivityTransition/res/anim/slide_out_top.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 8 | 9 | -------------------------------------------------------------------------------- /CustomActivityTransition/res/anim/slide_out_bottom.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 8 | 9 | 10 | -------------------------------------------------------------------------------- /CustomActivityTransition/res/layout/third.xml: -------------------------------------------------------------------------------- 1 | 2 | 7 | 8 | 9 | 10 | -------------------------------------------------------------------------------- /CustomActivityTransition/res/anim/slide_in_left.xml: -------------------------------------------------------------------------------- 1 | 3 | 4 | 10 | 11 | -------------------------------------------------------------------------------- /CustomActivityTransition/res/anim/slide_in_right.xml: -------------------------------------------------------------------------------- 1 | 3 | 4 | 10 | 11 | -------------------------------------------------------------------------------- /CustomActivityTransition/res/anim/slide_out_left.xml: -------------------------------------------------------------------------------- 1 | 3 | 4 | 10 | 11 | -------------------------------------------------------------------------------- /CustomActivityTransition/res/anim/slide_out_right.xml: -------------------------------------------------------------------------------- 1 | 3 | 4 | 10 | 11 | -------------------------------------------------------------------------------- /CustomActivityTransition/.classpath: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /CustomActivityTransition/project.properties: -------------------------------------------------------------------------------- 1 | # This file is automatically generated by Android Tools. 2 | # Do not modify this file -- YOUR CHANGES WILL BE ERASED! 3 | # 4 | # This file must be checked in Version Control Systems. 5 | # 6 | # To customize properties used by the Ant build system use, 7 | # "ant.properties", and override values to adapt the script to your 8 | # project structure. 9 | 10 | # Project target. 11 | target=android-7 12 | -------------------------------------------------------------------------------- /CustomActivityTransition/src/com/habibm/customactivitytransition/ThirdActivity.java: -------------------------------------------------------------------------------- 1 | package com.habibm.customactivitytransition; 2 | 3 | import android.app.Activity; 4 | import android.os.Bundle; 5 | 6 | public class ThirdActivity extends Activity{ 7 | 8 | @Override 9 | public void onCreate(Bundle savedInstanceState) { 10 | super.onCreate(savedInstanceState); 11 | setContentView(R.layout.third); 12 | } 13 | } 14 | -------------------------------------------------------------------------------- /CustomActivityTransition/res/layout/second.xml: -------------------------------------------------------------------------------- 1 | 2 | 7 | 8 |