Write an app that is a flashlight as follows: the color can gofrom one color (color A) to another (color B) in continuous motion.If the screen is colored with color A, when the user swipes thescreen from left to right, the screen goes from color A to color Bin continuous motion. When the user swipes the screen from right toleft, the screen goes from color B to color A in continuous motion.ANDROID PROGRAMMING
Solution