[android-developers] Create effect of solid blue "curtain" being slowly pulled across a white screen

2016-01-08 Thread Chris Wilson
I am a longtime java developer but I have little experiences creating graphics or animations and I don't know where to start here. This is the issue: I have an image with a transparent hole in the middle. The starting background color of this image is white. But I need to create an effect

Re: [android-developers] Create effect of solid blue "curtain" being slowly pulled across a white screen

2016-01-08 Thread Gustavo Oliveira
Take a look at Animation http://developer.android.com/reference/android/view/animation/Animation.html I would suggest you rework your layout, putting your background image as a separate element and making it slide using a TranslateAnimation (or stretch with ScaleAnimation). On Fri, Jan 8, 2016

Re: [android-developers] Create effect of solid blue "curtain" being slowly pulled across a white screen

2016-01-08 Thread Chris Wilson
I have actually. I have an animation working using ValueAnimator, but it fades the color from white to blue. I need this curtain effect, and I am not understanding from the documentation how to make that happen. Here is the code which is successfully animating the color fade, but how do I