parent
ca17290ec2
commit
e59fc41b8e
|
@ -66,6 +66,10 @@ public class MainActivity extends ActionBarActivity {
|
|||
arguments.putSerializable(PanoramioShowerFragment.PANORAMIO_PHOTO_ARG_KEY, photoInfo);
|
||||
panoramioShower.setArguments(arguments);
|
||||
|
||||
ctx.setCustomAnimations(R.anim.slide_in_down,
|
||||
R.anim.slide_out_down,
|
||||
R.anim.slide_in_up,
|
||||
R.anim.slide_out_up);
|
||||
ctx.replace(R.id.fragments, panoramioShower);
|
||||
ctx.addToBackStack(PHOTO_BACKSTACK);
|
||||
|
||||
|
|
|
@ -0,0 +1,8 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<set xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<translate
|
||||
android:fromYDelta="-100%"
|
||||
android:toYDelta="0%"
|
||||
android:interpolator="@android:anim/decelerate_interpolator"
|
||||
android:duration="1000" />
|
||||
</set>
|
|
@ -0,0 +1,8 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<set xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<translate
|
||||
android:fromYDelta="100%"
|
||||
android:toYDelta="0%"
|
||||
android:interpolator="@android:anim/decelerate_interpolator"
|
||||
android:duration="1000" />
|
||||
</set>
|
|
@ -0,0 +1,8 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<set xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<translate
|
||||
android:fromYDelta="0%"
|
||||
android:toYDelta="100%"
|
||||
android:interpolator="@android:anim/decelerate_interpolator"
|
||||
android:duration="1000" />
|
||||
</set>
|
|
@ -0,0 +1,8 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<set xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<translate
|
||||
android:fromYDelta="0%"
|
||||
android:toYDelta="-100%"
|
||||
android:interpolator="@android:anim/decelerate_interpolator"
|
||||
android:duration="1000" />
|
||||
</set>
|
Loading…
Reference in New Issue