You can use a RotateAnimation and assign it to your parent view.
However, to get a swing effect (like a pendulum) you need to provide proper values for pivot and degrees.
In your case you need a layer-list drawable to combine an image with a text. See this.
http://developer.android.com/guide/topics/resources/drawable-resource.html#LayerList
However, you can use a Drawable and not a View in LayerList. So the thing is you cannot use a View but will have to create a custom Drawable.