In Android development, some models may experience a flash screen problem when using alpha animation with a transparent background. This problem should only be added in the current Activity configuration
android:hardwareAccelerated="true"
This will solve it. Why is that?
In my opinion, the reasons may be as follows:
In general, the frame rate of the GPU should be higher than the refresh rate so that it does not stall or drop frames. If the screen refresh rate is faster than the frame rate, the screen will show the same picture in two frames. When this intermittent situation continues, the user will obviously feel the animation lag or frame drop, and then return to normal, which is often referred to as flash screen, frame skip, lag.
Of course, if you put this code in the application, it will report an error on some Samsung phones
Read More:
- emulator: ERROR: x86 emulation currently requires hardware acceleration! Abnormal problem solved
- Solve the problem caused by: java.sql.SQLRecoverableException : IO error: connection reset related problems
- Solution of flash screen caused by OpenGL in MFC environment
- MFC flash screen solution
- Why does the result screen flash when visual studio runs the program?
- Eclipse package explorer related problems and Solutions
- Problems in the construction of CUDA environment (GPU parallel programming)
- Running Ubuntu 16.04 in VMware to solve the full screen problem
- Solve the problem of flash back in Visual Studio 2010
- Solve the problem of flash back in VS2010
- Python parallel processing makes full use of CPU to realize acceleration
- Solve the problem of Nacos double click flash back
- Centos7 quick installation of docker and configuration of image acceleration
- Solve the problem of vscode window console “flash”
- Solve the flash card problem of winfrom project form
- Screen Overlay Detected
- Linux7 hardware time occasionally encounter nonsense Powerpath startup error
- Solve the problem of “Visual Studio debugging flash back”
- How to solve the problem that the output results of C + + program written in VS2010 flash by
- Webpack encountered a variety of problems to solve