An application switching method, wherein the method is applied to an electronic device, and the method comprises: displaying, by the electronic device, a first interface, wherein the first interface comprises a first floating window and a second floating window, the first floating window corresponds to a first application, and the second floating window corresponds to a second application; detecting, by the electronic device, a first operation; displaying a second interface in response to the first operation, wherein the second interface comprises the second floating window, a third floating window, and a first floating ball, the third floating window corresponds to a third application, and the first floating ball corresponds to the first application; detecting, by the electronic device, a second operation performed on the first floating ball; displaying a third interface in response to the second operation, wherein the third interface comprises the first floating window, the third floating window, and a second floating ball, and the second floating ball corresponds to the second application; characterised by detecting, by the electronic device, a third operation used to display the first floating window in a minimized form; displaying, by the electronic device, a fourth interface in response to the third operation, wherein the fourth interface displays the third floating window, the second floating ball, and the first floating ball, and the first floating ball is displayed in a manner of being superimposed on the second floating ball; detecting (S 104), by the electronic device, a fourth operation of sliding rightward performed on the bottom of the third floating window; and displaying, by the electronic device, a fifth interface in response to the fourth operation, wherein the fifth interface displays the first floating window, the second floating ball, and a third floating ball, and the second floating ball is displayed in a manner of being superimposed on the third floating ball. displaying, by the electronic device, a first interface, wherein the first interface comprises a first floating window and a second floating window, the first floating window corresponds to a first application, and the second floating window corresponds to a second application; detecting, by the electronic device, a first operation; displaying a second interface in response to the first operation, wherein the second interface comprises the second floating window, a third floating window, and a first floating ball, the third floating window corresponds to a third application, and the first floating ball corresponds to the first application; detecting, by the electronic device, a second operation performed on the first floating ball; displaying a third interface in response to the second operation, wherein the third interface comprises the first floating window, the third floating window, and a second floating ball, and the second floating ball corresponds to the second application; characterised by detecting, by the electronic device, a third operation used to display the first floating window in a minimized form; displaying, by the electronic device, a fourth interface in response to the third operation, wherein the fourth interface displays the third floating window, the second floating ball, and the first floating ball, and the first floating ball is displayed in a manner of being superimposed on the second floating ball; detecting (S 104), by the electronic device, a fourth operation of sliding rightward performed on the bottom of the third floating window; and displaying, by the electronic device, a fifth interface in response to the fourth operation, wherein the fifth interface displays the first floating window, the second floating ball, and a third floating ball, and the second floating ball is displayed in a manner of being superimposed on the third floating ball.