1

I am getting an error on this page meanwhile running the code, please help me if any error is seen here..

    <?xml version="1.0" encoding="utf-8"?>
<set>

    <rotate
        android:duration="2000"
        android:fromDegrees="0"
        android:pivotX="50%"
        android:pivotY="50%"
        android:toDegrees="360" />

    <translate
        android:fromXDelta="10"
        android:toXDelta="" />

    <scale android:fromXScale="" />

    <alpha
        android:duration="2000"
        android:fromAlpha="1.0"
        android:toAlpha="0.5" />

</set>
4

1 に答える 1

2

Try:

<?xml version="1.0" encoding="utf-8"?>

<set xmlns:android="http://schemas.android.com/apk/res/android"> <!-- XMLNS IMPORTANT-->

    <rotate
        android:duration="2000"
        android:fromDegrees="0"
        android:pivotX="50%"
        android:pivotY="50%"
        android:toDegrees="360" />

    <translate
        android:fromXDelta="10"
        android:toXDelta="" />

    <scale android:fromXScale="" />

    <alpha
        android:duration="2000"
        android:fromAlpha="1.0"
        android:toAlpha="0.5" />

于 2012-08-14T10:45:19.710 に答える