Abstract:
A method and an apparatus for creating a desktop widget. The method includes acquiring a desktop widget framework of a desktop widget. The desktop widget framework is used to hold at least two desktop widget units, and the desktop widget framework includes at least two desktop widget configuration areas. The method further includes controlling, according to a first movement operation performed on a first desktop widget unit, the first desktop widget unit to move along a movement track of the first movement operation. The first movement operation is used to move the first desktop widget unit. The method further includes positioning the first desktop widget unit in a first specified desktop widget configuration area when the first movement operation ends.
Abstract:
A dynamic interface layout method includes that a width of a screen of an electronic device is divided into a plurality of columns. The electronic device displays a first interface on the screen. After detecting an interface refresh signal, the electronic device obtains a first column quantity corresponding to a width of a second interface to be displayed after refreshing. The first column quantity is a quantity of columns included in the width of the second interface. The electronic device determines a second column quantity according to a layout rule corresponding to a first element on the second interface. The second column quantity is a quantity of columns included in a width of the first element. The electronic device displays the second interface on the screen.
Abstract:
A dynamic interface layout method includes that a width of a screen of an electronic device is divided into a plurality of columns. The electronic device displays a first interface on the screen. After detecting an interface refresh signal, the electronic device obtains a first column quantity corresponding to a width of a second interface to be displayed after refreshing. The first column quantity is a quantity of columns included in the width of the second interface. The electronic device determines a second column quantity according to a layout rule corresponding to a first element on the second interface. The second column quantity is a quantity of columns included in a width of the first element. The electronic device displays the second interface on the screen.
Abstract:
A dynamic interface layout method includes that a width of a screen of an electronic device is divided into a plurality of columns. The electronic device displays a first interface on the screen. After detecting an interface refresh signal, the electronic device obtains a first column quantity corresponding to a width of a second interface to be displayed after refreshing. The first column quantity is a quantity of columns included in the width of the second interface. The electronic device determines a second column quantity according to a layout rule corresponding to a first element on the second interface. The second column quantity is a quantity of columns included in a width of the first element. The electronic device displays the second interface on the screen.
Abstract:
A dynamic interface layout method includes that a width of a screen of an electronic device is divided into a plurality of columns. The electronic device displays a first interface on the screen. After detecting an interface refresh signal, the electronic device obtains a first column quantity corresponding to a width of a second interface to be displayed after refreshing. The first column quantity is a quantity of columns included in the width of the second interface. The electronic device determines a second column quantity according to a layout rule corresponding to a first element on the second interface. The second column quantity is a quantity of columns included in a width of the first element. The electronic device displays the second interface on the screen.
Abstract:
A method and an apparatus for creating a desktop widget. The method includes acquiring a desktop widget framework of a desktop widget. The desktop widget framework is used to hold at least two desktop widget units, and the desktop widget framework includes at least two desktop widget configuration areas. The method further includes controlling, according to a first movement operation performed on a first desktop widget unit, the first desktop widget unit to move along a movement track of the first movement operation. The first movement operation is used to move the first desktop widget unit. The method further includes positioning the first desktop widget unit in a first specified desktop widget configuration area when the first movement operation ends.
Abstract:
A method and an apparatus for creating a desktop widget are provided that pertain to the terminal device field. The method includes acquiring a desktop widget framework of a desktop widget, where the desktop widget framework is used to hold at least two desktop widget units, and the desktop widget framework includes at least two desktop widget configuration areas; controlling, according to a first movement operation performed on a first desktop widget unit, the first desktop widget unit to move along a movement track of the first movement operation, where the first movement operation is used to move the first desktop widget unit; and positioning the first desktop widget unit in a first specified desktop widget configuration area when the first movement operation ends. The present invention achieves a purpose of implementing multiple Widgets in one desktop widget framework, which improves personalization of terminal device configuration.