V
V
Valera Kuznetsov2014-08-13 14:19:00
Android
Valera Kuznetsov, 2014-08-13 14:19:00

How to make an animation over the Viewpager element so that it moves outside its bounds (visually)?

Tried this kind of animation, but the fragment is hidden inside the viewpagera instead of going out of its bounds

<?xml version="1.0" encoding="utf-8"?>
<set
    xmlns:android="http://schemas.android.com/apk/res/android"
    android:interpolator="@android:anim/linear_interpolator"
    android:fillAfter="true">
 
   <translate        
        android:toYDelta="150"
        android:duration="500" />
</set>

Answer the question

In order to leave comments, you need to log in

1 answer(s)
V
Valera Kuznetsov, 2014-08-13
@Dwite

Solved by applying android:clipChildren="false" to all parents of the fragmenta viewpager

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question