CN113835803B - Application theme display method and device - Google Patents

Application theme display method and device Download PDF

Info

Publication number
CN113835803B
CN113835803B CN202111068052.9A CN202111068052A CN113835803B CN 113835803 B CN113835803 B CN 113835803B CN 202111068052 A CN202111068052 A CN 202111068052A CN 113835803 B CN113835803 B CN 113835803B
Authority
CN
China
Prior art keywords
theme
application
pack
displayed
attribute
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202111068052.9A
Other languages
Chinese (zh)
Other versions
CN113835803A (en
Inventor
桓乐乐
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing ByteDance Network Technology Co Ltd
Original Assignee
Beijing ByteDance Network Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing ByteDance Network Technology Co Ltd filed Critical Beijing ByteDance Network Technology Co Ltd
Priority to CN202111068052.9A priority Critical patent/CN113835803B/en
Publication of CN113835803A publication Critical patent/CN113835803A/en
Application granted granted Critical
Publication of CN113835803B publication Critical patent/CN113835803B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/451Execution arrangements for user interfaces
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/30Creation or generation of source code
    • G06F8/38Creation or generation of source code for implementing user interfaces

Abstract

The invention provides an application theme display method and device, comprising the following steps: creating a topic parsing plug-in; importing the topic analysis plug-in into an application; acquiring selection information of a theme pack to be displayed through a theme analysis plug-in, and acquiring the attribute of the theme pack to be displayed according to the selection information; and rendering the application interface according to the attribute of the theme pack to be displayed. Through the theme analysis plug-in, the self-made theme pack of the user can be selected, the attribute of the selected theme pack is analyzed through the theme analysis plug-in, the application interface is rendered and displayed according to the attribute, the application interface is rendered according to the style required by the user, and the display style of the application interface is enriched.

Description

Application theme display method and device
Technical Field
The invention relates to the technical field of application UI (user interface), in particular to an application theme display method and device.
Background
In the prior art, the theme displayed by the application interface in the system is generally set through the theme of the existing style in the system theme library, but the theme style in the theme library cannot be changed, and the type is less, so that the personalized setting of the user is not facilitated.
Disclosure of Invention
The invention provides an application theme display method and device, which are used for solving the defect that a system in the prior art has fewer theme styles capable of being supplied and used, and realizing that a user self-made style theme pack is selected to enrich application interface display styles.
The invention provides an application theme display method, which comprises the following steps:
creating a topic parsing plug-in;
importing the topic analysis plug-in into an application;
acquiring selection information of a theme pack to be displayed through a theme analysis plug-in, and acquiring the attribute of the theme pack to be displayed according to the selection information;
and rendering the application interface according to the attribute of the theme pack to be displayed.
According to the invention, the method for displaying the application theme comprises the following steps:
making a theme pack according to a set format;
and installing the theme pack at a preset position.
According to the invention, the method for displaying the application theme comprises the steps of obtaining the selection information of the theme pack to be displayed through a theme analysis plug-in, obtaining the attribute of the theme pack to be displayed according to the selection information, and further comprising the following steps:
traversing the preset position through the topic analysis plug-in to obtain available topic packages to form a topic package list;
and determining one of the theme packs as a default theme pack in the theme pack list.
The invention provides an application theme display method, which comprises the steps of obtaining selection information of a theme pack to be displayed through a theme analysis plug-in, and specifically comprises the following steps:
and acquiring the selection information of the theme pack to be displayed selected in the theme pack list through the theme analysis plug-in.
According to the application theme display method provided by the invention, the application comprises an interface description file, and the interface description file comprises a control; the rendering of the application interface according to the attribute of the theme pack to be displayed specifically comprises the following steps:
providing a calling interface of the theme attribute in the theme analysis plug-in corresponding to the interface description file, binding the calling interface with each control of the interface description file, acquiring attribute information of the theme pack analyzed by the theme analysis plug-in by the control according to the bound calling interface, and calling corresponding resources by each control according to the attribute information to render the application interface.
According to the method for displaying the application theme, when the application is started, the selection information of the theme pack to be displayed is obtained through the theme analysis plug-in, and the attribute of the theme pack to be displayed is obtained according to the selection information, and the method specifically comprises the following steps:
the theme pack selected from the theme pack list is used as a theme pack to be displayed when the application is started or the default theme pack is used as a theme pack to be displayed when the application is started;
and acquiring the attribute of the theme pack to be displayed at the time of starting according to the theme pack to be displayed at the time of starting the application.
According to the method for displaying the application theme, in the application operation, the selection information of the theme pack to be displayed is obtained through the theme analysis plug-in, and the attribute of the theme pack to be displayed is obtained according to the selection information, specifically comprising the following steps:
receiving change information of a theme pack to be changed selected from a theme pack list;
and acquiring the attribute of the theme pack to be changed according to the change information.
The invention also provides an application theme display apparatus, comprising:
the system comprises a theme analysis plug-in creation unit, a theme analysis plug-in creation unit and a theme analysis plug-in creation unit, wherein the theme analysis plug-in creation unit is used for creating a theme analysis plug-in;
the plug-in import unit is used for importing the theme analysis plug-in into an application;
the theme pack attribute acquisition unit is used for acquiring the selection information of the theme pack to be displayed through the theme analysis plug-in, and acquiring the attribute of the theme pack to be displayed according to the selection information;
and the application interface rendering unit is used for performing application interface rendering according to the attribute of the theme pack to be displayed.
The present invention also provides a computer program product comprising a computer program stored on a non-transitory computer readable storage medium, the computer program comprising program instructions which, when executed by a computer, are capable of performing the steps of the application theme display method as described in any one of the preceding claims.
The invention also provides an electronic device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, the processor implementing the steps of the application theme display method as described in any one of the preceding claims when the program is executed.
According to the application theme display method and device, the theme pack made by the user can be selected by creating the theme analysis plug-in, the attribute of the selected theme pack is analyzed by the theme analysis plug-in, the application interface is rendered and displayed according to the attribute, the application interface is rendered according to the user demand style, and the application interface display style is enriched.
Drawings
In order to more clearly illustrate the invention or the technical solutions of the prior art, the following description will briefly explain the drawings used in the embodiments or the description of the prior art, and it is obvious that the drawings in the following description are some embodiments of the invention, and other drawings can be obtained according to the drawings without inventive effort for a person skilled in the art.
FIG. 1 is a flow chart of an application theme display method provided by the invention;
FIG. 2 is a flow chart of a method of creating a theme pack, prior to step 110 in FIG. 1;
FIG. 3 is a flow chart of a method of generating a theme pack list prior to step 130 in FIG. 1;
FIG. 4 is a flowchart of a specific method of step 130 of FIG. 1 at the start of an application;
FIG. 5 is a flowchart of a specific method of step 130 of FIG. 1 when a theme pack is changed during application execution;
FIG. 6 is a schematic diagram of a software architecture of an application theme display system;
FIG. 7 is a schematic diagram of an application theme display apparatus according to the present invention;
fig. 8 is a schematic structural diagram of an electronic device provided by the present invention.
Detailed Description
For the purpose of making the objects, technical solutions and advantages of the present invention more apparent, the technical solutions of the present invention will be clearly and completely described below with reference to the accompanying drawings, and it is apparent that the described embodiments are some embodiments of the present invention, not all embodiments. All other embodiments, which can be made by those skilled in the art based on the embodiments of the invention without making any inventive effort, are intended to be within the scope of the invention.
Noun explanation and explanation of the technical scheme provided by the invention:
QtQuick: is a rapid interface development framework, develops an interface through qml (similar to html descriptive script language), and can interact with C++ in a certain mode so as to realize service logic control.
The existing application program sets the theme displayed on the application interface through the corresponding system translation function, the theme types are fewer, meanwhile, the selection can be carried out only when the application is started, and the dynamic switching in the application running process can not be realized.
For example, when an application is started in a Linux system, the application interface display theme is set through QQuicktyle:: setStyle ("XXX") in a QtQuick development environment.
In the following embodiments of the present invention, the application is not limited to the specific operating system platform, and may be Windows, linux, android, for example.
As shown in fig. 1, an embodiment of the present invention provides an application theme display method, including:
step 110: creating a topic parsing plug-in;
in the embodiment of the present invention, as shown in fig. 2, creating a theme resolution plug-in further includes:
step 210: making a theme pack according to a set format;
specifically, a theme pack file is manufactured according to a set format, and the manufactured theme pack file comprises: the system comprises a theme pack title and theme pack description files, wherein a plurality of theme pack description files are arranged, and each user theme description file is used for describing set attributes of the theme pack.
Specifically, a plurality of theme packs of different styles are set according to the needs of the user. The theme pack has a specified setting format, and the user theme description file is different according to the described attribute, for example, can be a color information file, and the theme pack includes various colors required by the control of the application page, such as: general background color, foreground color, button color, card color, mouse-down color, etc.
Step 220: and installing the theme pack at a preset position.
For example, different theme packs are loaded under a directory specified by the system or corresponding to the application.
For example, the system may default to specify that all applications obtain a theme pack from a certain file directory, or that an application place a theme pack in a certain preset file directory during installation.
Step 120: importing the topic analysis plug-in into an application;
specifically, in the development environment of the application, the created theme resolution plug-in is imported into the application, where the development environment may be a development environment for designing a user interface-centric application program using QML as a declaration language, including but not limited to a general-purpose development environment such as QtQuick, qt Widgets, QBS, and the like, and a development environment for a specific operating system, such as Sailfish Silica, blackBerry Cascades, and the like.
Step 130: acquiring selection information of a theme pack to be displayed through a theme analysis plug-in, and acquiring the attribute of the theme pack to be displayed according to the selection information;
specifically, before this step, as shown in fig. 3, the method further includes:
step 310: traversing the preset position through the topic analysis plug-in to obtain available topic packages to form a topic package list;
specifically, if the theme pack pre-selected by the user is already existing in the user theme selection list, the theme pack does not need to be made, and the corresponding theme pack is directly selected in the user theme selection list when the application is started or in the application running process.
Step 320: and determining one of the theme packs as a default theme pack in the theme pack list.
Specifically, in step 130, the obtaining, by the theme resolution plug-in, selection information of the theme pack to be displayed specifically includes: and acquiring the selection information of the theme pack to be displayed selected in the theme pack list through the theme analysis plug-in.
Specifically, when the application is started, step 130, as shown in fig. 4, specifically includes:
step 410: the theme pack selected by the user in the theme pack list is used as a theme pack to be displayed when the application is started or the default theme pack is used as a theme pack to be displayed when the application is started;
specifically, when an application is started, a default theme pack can be set as a theme pack to be displayed in the initial application interface according to preset settings; or the user can select one of the theme packs in the formed theme pack list as the theme pack to be displayed in the initial application interface.
Step 420: and acquiring the attribute of the theme pack to be displayed at the time of starting according to the theme pack to be displayed at the time of starting the application.
Specifically, when the application is running, step 130, as shown in fig. 5, specifically includes:
step 510: receiving change information of a theme pack to be changed selected by a user in a theme pack list;
specifically, in the application running process, the user can select to replace the theme displayed by the current application interface in the page of the theme pack list, and the theme analysis plug-in obtains the change information of the user.
Step 520: and acquiring the attribute of the theme pack to be changed according to the change information.
And the theme analysis plug-in performs attribute analysis on the change theme pack corresponding to the change information to obtain each attribute information of the changed theme pack.
Step 140: and rendering the application interface according to the attribute of the theme pack to be displayed.
In the embodiment of the invention, the interface description file of the application is an interface QML file of the corresponding function, wherein the interface description file comprises a plurality of controls, and specifically, the interface description file comprises a button control, an input box control and the like according to different control contents.
And providing calling interfaces of various attributes related to the theme for the interface description file in the theme analysis plug-in, binding the calling interfaces with each control of the interface description file, acquiring attribute information of the theme pack by the control according to the bound calling interfaces, and calling corresponding resources according to the attribute information to perform application interface rendering.
In the embodiment of the invention, the created analytic theme plug-in is a C++ type plug-in, and the C++ type plug-in is copied to the running path and imported to the interface description file. The type can load and analyze the theme pack, set the attribute information of the analyzed theme pack to the attribute field of the C++ object, and provide interfaces of various attributes related to the theme, such as a theme name interface and interfaces of various colors, for the interface description file, and when the attribute of the theme pack analyzed by the plug-in changes, an attribute change signal is triggered.
The method comprises the steps that each control in the interface description of an application program obtains attribute information of a theme pack or a default theme pack selected by a user through a calling interface of the theme pack attribute bound with a theme analysis plug-in, corresponding resources are called according to the attribute information, rendering is conducted on the application interface, particularly in the operation of the application program, a new theme pack is selected through dynamic change of the user, the theme analysis plug-in analyzes the attribute of the new theme pack selected through change, each control obtains the attribute of the new theme pack according to the attribute calling interface bound with the theme analysis plug-in, rendering of the application interface is conducted according to the corresponding attribute, dynamic switching of the theme of the application interface is achieved without restarting the application to conduct conversion, the switching process of the display theme of the application interface is facilitated, and the theme pack of a user self-made style increases the diversity of display styles of the application interface.
In the embodiment of the disclosure, a theme analysis plug-in loads a corresponding theme pack according to selection information of a user or a default theme pack of a system, performs attribute analysis to obtain information about each attribute of a theme, such as a theme title, a theme color, a theme font and the like, and packages calling interfaces respectively corresponding to each attribute of the theme pack. In the embodiment of the invention, after the theme pack attribute change is analyzed by the theme analysis plug-in, an attribute change signal is sent to the interface description file, and each control is triggered to revisit the bound attribute call interface so as to acquire a new theme pack attribute value.
In some embodiments, when the application is started, for example, the method that the user selects in the theme pack list is set to determine the theme pack to be displayed in the initial state of the application interface, and when the user does not make a selection within a preset duration range or selects the theme pack not existing in the theme pack list, the default theme pack is used as the theme pack to be displayed in the initial state of the application interface. In the prior art, when an application is started, a theme to be used is selected from an original theme library of the system, and corresponding files are loaded according to the selected theme names, so that dynamic switching in application operation cannot be realized. In the prior art, the number of original theme packs of the system is small, and the system cannot be expanded.
As shown in FIG. 6, after the application is started, all available theme packs installed under a specific directory are traversed to form a theme pack list. In the running process of the application, the user can look up the current theme pack list on the theme switching page of the application, and select one of the theme packs as the theme pack. And loading a corresponding theme pack according to the selected theme analysis plug-in of the user, analyzing the theme pack, and resetting corresponding theme attributes (such as attributes of button colors, text colors and the like). Because the corresponding theme attributes are bound in the application interface description file, when the theme attributes are changed, the control is triggered to reload the theme attributes, the re-rendering of the application interface is triggered, and the dynamic switching of the interface theme is realized.
The application theme display apparatus provided in the embodiment of the present invention is described below, and the application theme display apparatus described below and the application theme display method described above may be referred to correspondingly to each other, as shown in fig. 7, and the embodiment of the present invention provides an application theme display apparatus, including:
a topic parsing plug-in creation unit 710 for creating a topic parsing plug-in;
a plug-in importing unit 720, configured to import the topic parsing plug-in into an application;
specifically, the created topic parsing plug-in is imported into the application in the development environment of the application, which may be a development environment for designing a user interface-centric application using QML as a declaration language, including but not limited to, qtQuick, qt Widgets, QBS, etc. general-purpose development environments, and development environments for specific operating systems, such as Sailfish Silica, blackBerry Cascades, etc.
A theme pack attribute obtaining unit 730, configured to obtain selection information of a theme pack to be displayed through a theme parsing plug-in, and obtain an attribute of the theme pack to be displayed according to the selection information;
and an application interface rendering unit 740, configured to perform application interface rendering according to the attribute of the theme pack to be displayed.
In an embodiment of the present invention, the display device further includes: the theme pack manufacturing unit and the theme pack loading unit;
the theme pack manufacturing unit is used for manufacturing theme pack files according to the set format;
and the theme pack loading unit is used for installing the theme pack at a preset position.
In an embodiment of the present invention, the display device further includes: the theme pack list forming unit and the default theme pack determining unit;
the theme pack list forming unit is used for traversing the preset position of the system through the theme analysis plug-in to obtain available theme packs and form a theme pack list;
specifically, if the theme pack pre-selected by the user is already existing in the user theme selection list, the theme pack does not need to be made, and the corresponding theme pack is directly selected in the user theme selection list when the application is started or in the application running process.
And the default theme pack determining unit is used for determining one theme pack in the theme pack list as a default theme pack.
In the embodiment of the present invention, when an application is started, the theme pack attribute obtaining unit 730 uses a theme pack selected by a user in the theme pack list as a theme pack to be displayed when the application is started or uses the default theme pack as a theme pack to be displayed when the application is started; and acquiring the attribute of the theme pack to be displayed at the time of starting according to the theme pack to be displayed at the time of starting the application.
Specifically, when the application is running, the theme pack attribute obtaining unit 730 receives change information of the theme pack to be changed selected by the user in the theme pack list; and the theme analysis plug-in performs attribute analysis on the change theme pack corresponding to the change information to obtain each attribute information of the changed theme pack.
In the embodiment of the invention, the application interface rendering unit 740 provides a calling interface of the theme attribute in the theme analysis plug-in corresponding to the interface description file, binds the calling interface with each control of the interface description file, and the control obtains the attribute information of the theme pack analyzed by the theme analysis plug-in according to the bound calling interface, and calls corresponding resources according to the attribute information to perform application interface rendering.
An embodiment of the present invention provides an entity structure diagram of an electronic device, as shown in fig. 8, with reference to fig. 8, where the electronic device may include: processor 810, communication interface (Communications Interface) 820, memory 830, and communication bus 840, wherein processor 810, communication interface 820, and memory 830 communicate with each other via communication bus 840. The processor 810 may invoke logic instructions in the memory 830 to perform an application theme display method comprising: creating a topic parsing plug-in; importing the topic analysis plug-in into an application; acquiring selection information of a theme pack to be displayed through a theme analysis plug-in, and acquiring the attribute of the theme pack to be displayed according to the selection information; and rendering the application interface according to the attribute of the theme pack to be displayed.
Further, the logic instructions in the memory 830 described above may be implemented in the form of software functional units and may be stored in a computer-readable storage medium when sold or used as a stand-alone product. Based on such understanding, the technical solution of the embodiments of the present invention may be embodied in essence or a part contributing to the prior art or a part of the technical solution, in the form of a software product stored in a storage medium, including several instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the methods of the embodiments of the present invention. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read-Only Memory (ROM), a random access Memory (RAM, random Access Memory), a magnetic disk, or an optical disk, or other various media capable of storing program codes.
In the above terminal device embodiment, it should be understood that the processor 810 may be a central processing unit (english: central Processing Unit, abbreviated as CPU), or may be other general purpose processors, digital signal processors (english: digital Signal Processor, abbreviated as DSP), application specific integrated circuits (english: application Specific Integrated Circuit, abbreviated as ASIC), or the like. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like. The steps of a method disclosed in connection with the present invention may be embodied directly in a hardware processor for execution, or in a combination of hardware and software modules in a processor for execution.
In another aspect, an embodiment of the present invention further provides a computer program product, including a computer program stored on a non-transitory computer readable storage medium, the computer program including program instructions which, when executed by a computer, enable the computer to perform the application theme display method provided by the above methods, the method including: creating a topic parsing plug-in; importing the topic analysis plug-in into an application; acquiring selection information of a theme pack to be displayed through a theme analysis plug-in, and acquiring the attribute of the theme pack to be displayed according to the selection information; and rendering the application interface according to the attribute of the theme pack to be displayed.
In yet another aspect, embodiments of the present invention further provide a non-transitory computer readable storage medium having stored thereon a computer program which, when executed by a processor, is implemented to perform the above-provided application theme display method: creating a topic parsing plug-in; importing the topic analysis plug-in into an application; acquiring selection information of a theme pack to be displayed through a theme analysis plug-in, and acquiring the attribute of the theme pack to be displayed according to the selection information; and rendering the application interface according to the attribute of the theme pack to be displayed.
The apparatus embodiments described above are merely illustrative, wherein elements illustrated as separate elements may or may not be physically separate, and elements shown as elements may or may not be physical elements, may be located in one place, or may be distributed over a plurality of network elements. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of this embodiment. Those of ordinary skill in the art will understand and implement the present invention without undue burden.
From the above description of the embodiments, it will be apparent to those skilled in the art that the embodiments may be implemented by means of software plus necessary general hardware platforms, or of course may be implemented by means of hardware. Based on such understanding, the foregoing technical solutions may be embodied essentially or in part in the form of a software product, which may be stored in a computer-readable storage medium, such as a ROM/RAM, a magnetic disk, an optical disk, etc., including several instructions to cause a computer device (which may be a personal computer, a server, or a network device, etc.) to perform the various embodiments or methods of some parts of the embodiments.
Finally, it should be noted that: the above embodiments are only for illustrating the technical solution of the present invention, and are not limiting; although the invention has been described in detail with reference to the foregoing embodiments, it will be understood by those of ordinary skill in the art that: the technical scheme described in the foregoing embodiments can be modified or some technical features thereof can be replaced by equivalents; such modifications and substitutions do not depart from the spirit and scope of the technical solutions of the embodiments of the present invention.

Claims (10)

1. The application theme display method is characterized by comprising the following steps:
creating a topic parsing plug-in;
importing the topic parsing plug-in into an application, including: importing the theme resolution plug-in into an interface description file of the application; the theme analysis plug-in is used for providing a calling interface of the attribute related to the theme for the interface description file and binding the calling interface with a control of the interface description file;
acquiring selection information of a theme pack to be displayed through a theme analysis plug-in, and acquiring the attribute of the theme pack to be displayed according to the selection information;
and rendering the application interface according to the attribute of the theme pack to be displayed.
2. The application theme display method according to claim 1, wherein the creating a theme parsing plug-in further comprises:
making a theme pack according to a set format;
and installing the theme pack at a preset position.
3. The method for displaying an application theme according to claim 2, wherein the obtaining, by the theme parsing plug-in, selection information of a theme pack to be displayed, and obtaining an attribute of the theme pack to be displayed according to the selection information, further includes:
traversing the preset position through the topic analysis plug-in to obtain available topic packages to form a topic package list;
and determining one of the theme packs as a default theme pack in the theme pack list.
4. The method for displaying an application theme according to claim 3, wherein the obtaining, by the theme parsing plug-in, selection information of a theme pack to be displayed specifically includes:
and acquiring the selection information of the theme pack to be displayed selected in the theme pack list through the theme analysis plug-in.
5. The application theme display method of claim 1, wherein the application includes an interface description file including a control; the rendering of the application interface according to the attribute of the theme pack to be displayed specifically comprises the following steps:
providing a calling interface of the theme attribute in the theme analysis plug-in corresponding to the interface description file, binding the calling interface with each control of the interface description file, acquiring attribute information of the theme pack analyzed by the theme analysis plug-in by the control according to the bound calling interface, and calling corresponding resources by each control according to the attribute information to render the application interface.
6. The method for displaying an application theme according to claim 4, wherein when the application is started, the selecting information of the theme pack to be displayed is obtained through the theme parsing plug-in, and the attribute of the theme pack to be displayed is obtained according to the selecting information, specifically including:
the theme pack selected from the theme pack list is used as a theme pack to be displayed when the application is started or the default theme pack is used as a theme pack to be displayed when the application is started;
and acquiring the attribute of the theme pack to be displayed at the time of starting according to the theme pack to be displayed at the time of starting the application.
7. The application theme display method according to claim 4, wherein in application running, the obtaining, by the theme parsing plug-in, selection information of a theme pack to be displayed, and obtaining an attribute of the theme pack to be displayed according to the selection information specifically includes:
receiving change information of a theme pack to be changed selected from a theme pack list;
and acquiring the attribute of the theme pack to be changed according to the change information.
8. An application theme display apparatus, comprising:
the system comprises a theme analysis plug-in creation unit, a theme analysis plug-in creation unit and a theme analysis plug-in creation unit, wherein the theme analysis plug-in creation unit is used for creating a theme analysis plug-in;
the plug-in importing unit is used for importing the theme analysis plug-in into an application, and comprises the following steps: importing the theme resolution plug-in into an interface description file of the application; the theme analysis plug-in is used for providing a calling interface of the attribute related to the theme for the interface description file and binding the calling interface with a control of the interface description file;
the theme pack attribute acquisition unit is used for acquiring the selection information of the theme pack to be displayed through the theme analysis plug-in, and acquiring the attribute of the theme pack to be displayed according to the selection information;
and the application interface rendering unit is used for performing application interface rendering according to the attribute of the theme pack to be displayed.
9. A computer program product comprising a computer program stored on a non-transitory computer readable storage medium, the computer program comprising program instructions which, when executed by a computer, are capable of performing the steps of the application theme display method according to any one of claims 1 to 7.
10. An electronic device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, wherein the processor implements the steps of the application theme display method as claimed in any one of claims 1 to 7 when the program is executed by the processor.
CN202111068052.9A 2021-09-13 2021-09-13 Application theme display method and device Active CN113835803B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111068052.9A CN113835803B (en) 2021-09-13 2021-09-13 Application theme display method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111068052.9A CN113835803B (en) 2021-09-13 2021-09-13 Application theme display method and device

Publications (2)

Publication Number Publication Date
CN113835803A CN113835803A (en) 2021-12-24
CN113835803B true CN113835803B (en) 2024-04-02

Family

ID=78959158

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111068052.9A Active CN113835803B (en) 2021-09-13 2021-09-13 Application theme display method and device

Country Status (1)

Country Link
CN (1) CN113835803B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115437711A (en) * 2022-09-05 2022-12-06 天翼数字生活科技有限公司 Qml theme skin replacing method and device, electronic equipment and storage medium

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104915257A (en) * 2015-06-08 2015-09-16 青岛海信移动通信技术股份有限公司 Method and device for replacing theme based on Android system application
CN104915188A (en) * 2014-03-13 2015-09-16 北京壹人壹本信息科技有限公司 Method and system for theme change and mobile terminal
CN105022841A (en) * 2015-08-19 2015-11-04 上海斐讯数据通信技术有限公司 Adjusting system and method for interface subject
CN106648603A (en) * 2016-10-18 2017-05-10 乐视控股(北京)有限公司 Preparation method and device of theme
CN106657611A (en) * 2016-11-15 2017-05-10 努比亚技术有限公司 Device and method for changing application theme
CN109684020A (en) * 2018-12-27 2019-04-26 努比亚技术有限公司 A kind of method for switching theme, equipment and computer readable storage medium
CN110347454A (en) * 2018-04-08 2019-10-18 珠海市魅族科技有限公司 Application program theme setting method, terminal equipment control method and device, terminal device and computer readable storage medium
CN110457110A (en) * 2019-08-16 2019-11-15 西安闻泰电子科技有限公司 System theme management method, device, equipment and storage medium

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104915188A (en) * 2014-03-13 2015-09-16 北京壹人壹本信息科技有限公司 Method and system for theme change and mobile terminal
CN104915257A (en) * 2015-06-08 2015-09-16 青岛海信移动通信技术股份有限公司 Method and device for replacing theme based on Android system application
CN105022841A (en) * 2015-08-19 2015-11-04 上海斐讯数据通信技术有限公司 Adjusting system and method for interface subject
CN106648603A (en) * 2016-10-18 2017-05-10 乐视控股(北京)有限公司 Preparation method and device of theme
CN106657611A (en) * 2016-11-15 2017-05-10 努比亚技术有限公司 Device and method for changing application theme
CN110347454A (en) * 2018-04-08 2019-10-18 珠海市魅族科技有限公司 Application program theme setting method, terminal equipment control method and device, terminal device and computer readable storage medium
CN109684020A (en) * 2018-12-27 2019-04-26 努比亚技术有限公司 A kind of method for switching theme, equipment and computer readable storage medium
CN110457110A (en) * 2019-08-16 2019-11-15 西安闻泰电子科技有限公司 System theme management method, device, equipment and storage medium

Also Published As

Publication number Publication date
CN113835803A (en) 2021-12-24

Similar Documents

Publication Publication Date Title
CN111552473B (en) Application processing method, device and equipment
US9477497B2 (en) Methods for determining resource dependency and systems thereof
CN103914450A (en) Method and device for presenting web graphics in mobile terminal platform
CN110674619B (en) Online document editing method, device, equipment and computer storage medium
WO2014173141A1 (en) Method of switching desktop subjects of mobile terminal and its switching apparatus
CN111475161B (en) Method, device and equipment for accessing component
CN101957756A (en) System and method for rapidly generating intelligent mobile terminal program
CN108062336B (en) Media information processing method and device
CN113835803B (en) Application theme display method and device
CN110705243A (en) Web page table setting method, device, equipment and computer storage medium
CN114218890A (en) Page rendering method and device, electronic equipment and storage medium
CN112306486B (en) Interface generation method and device, server and storage medium
CN112799670B (en) Method and system for unified multi-terminal logic development
CN110377408A (en) A kind of starting method, apparatus, terminal and the medium of application program
CN111737614A (en) Page display method and device, electronic equipment and storage medium
CN111694733A (en) API (application programming interface) testing method and device for software development kit SDK (software development kit)
CN113094138A (en) Interface display method and device, electronic equipment and storage medium
CN108156534B (en) Method and device for generating demonstration application and computer readable storage medium
CN111984887A (en) Webpage component library loading method and device, storage medium and electronic equipment
CN108304169B (en) Implementation method, device and equipment for HTML5 application
CN115186207A (en) Method and device for loading page resources and electronic equipment
CN112905969A (en) Login method, device, electronic equipment and computer readable storage medium
CN113934412A (en) Program generation method, device, equipment and storage medium
CN112015507A (en) Application guide method and device
CN113377382A (en) Software installation package processing method and device, electronic equipment and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
TA01 Transfer of patent application right
TA01 Transfer of patent application right

Effective date of registration: 20220406

Address after: 100041 B-0035, 2 floor, 3 building, 30 Shixing street, Shijingshan District, Beijing.

Applicant after: BEIJING BYTEDANCE NETWORK TECHNOLOGY Co.,Ltd.

Address before: 2005, floor 2, No. 39, West Street, Haidian District, Beijing 100082

Applicant before: Beijing jingling Information System Technology Co.,Ltd.

GR01 Patent grant
GR01 Patent grant