Android Animation Translation -


my android translation translate left hand side of screen though have specified y transition only.

here code :

<?xml version="1.0" encoding="utf-8"?> <set     xmlns:android="http://schemas.android.com/apk/res/android"     android:interpolator="@android:anim/accelerate_decelerate_interpolator"     android:fillafter="true">      <scale android:fromxscale="1.0" android:fromyscale="1.0"         android:toxscale="0.6" android:toyscale="0.6"         android:duration="1000" />     <translate         android:fromydelta="0%p"         android:toydelta="-15%p"         android:duration="1000" /> </set> 

before image: before image:

after image: after image


Comments

Popular posts from this blog

How has firefox/gecko HTML+CSS rendering changed in version 38? -

android - CollapsingToolbarLayout: position the ExpandedText programmatically -

Listeners to visualise results of load test in JMeter -