title: shaking / wobble view animation in android
body: <p>I created an anim.xml file such as below to shake imageview like IOS icon shaking in android.
  However it does not provide me same result.
  Is there any better idea?</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="utf-8"?&gt;
  &lt;rotate xmlns:android="http://schemas.android.com/apk/res/android"
      android:duration="300"
  
      android:fromDegrees="-2"
      android:pivotX="50%"
      android:pivotY="50%"
      android:repeatCount="infinite"
      android:toDegrees="2" /&gt;
  </code></pre>