Make two separated views and use a FrameLayout to contain them. This way you will be able to apply the animation to the ring and not to the rest of the widgets EDIT: I guess you are placing the shape inside the ImageView with android:src and setting something else with android:background If that is the case, instead of using an ImageView you can try: FrameLayout.
Make two separated views and use a FrameLayout to contain them. This way you will be able to apply the animation to the ring and not to the rest of the widgets. EDIT: I guess you are placing the shape inside the ImageView with android:src and setting something else with android:background.
If that is the case, instead of using an ImageView you can try: or.
– grunk 16 hours ago @grunk: I just edited my answer. – Macarse 16 hours ago Ok thanks for the update. I was already using this "trick" , but I was hoping there is a more cleaner approach.
Upvote anyway and waiting a little before accepting ;) – grunk 15 hours ago.
Load the origial BitMap (500 x 500 px) Bitmap bitmapOrg = BitmapFactory. DecodeResource(getResources(), R.drawable. Android); int width = bitmapOrg.width(); int height = bitmapOrg.height(); // createa matrix for the manipulation Matrix matrix = new Matrix(); // rotate the Bitmap matrix.
PostRotate(45); // recreate the new Bitmap Bitmap resizedBitmap = Bitmap. CreateBitmap(bitmapOrg, 0, 0, width, height, matrix, true); // make a Drawable from Bitmap to allow to set the BitMap // to the ImageView, ImageButton or what ever BitmapDrawable bmd = new BitmapDrawable(resizedBitmap); // set the Drawable on the ImageView imageView. SetImageDrawable(bmd); For details check this out.
http://www.anddev.org/resize_and_rotate_image_-_example-t621.html.
This solution is good to a one time rotation thing. I'm not sure it gonna be usefull for an unlimited (in time) rotation. – grunk 16 hours ago.
I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.