CN110377375A - App method for switching theme, device and computer readable storage medium - Google Patents

App method for switching theme, device and computer readable storage medium Download PDF

Info

Publication number
CN110377375A
CN110377375A CN201910474165.5A CN201910474165A CN110377375A CN 110377375 A CN110377375 A CN 110377375A CN 201910474165 A CN201910474165 A CN 201910474165A CN 110377375 A CN110377375 A CN 110377375A
Authority
CN
China
Prior art keywords
theme
skin
user
app
switching
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.)
Granted
Application number
CN201910474165.5A
Other languages
Chinese (zh)
Other versions
CN110377375B (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.)
Shenzhen Saiante Technology Service Co Ltd
Original Assignee
Ping An International Smart City 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 Ping An International Smart City Technology Co Ltd filed Critical Ping An International Smart City Technology Co Ltd
Priority to CN201910474165.5A priority Critical patent/CN110377375B/en
Publication of CN110377375A publication Critical patent/CN110377375A/en
Application granted granted Critical
Publication of CN110377375B publication Critical patent/CN110377375B/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

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The present invention relates to a kind of App method for switching theme, device and computer readable storage medium, wherein, App method for switching theme include: pre-establish one include at least one theme skin theme library, the setting for theme skin for receiving user's input is requested, the identification search theme style of theme skin to be shown is needed according to the user, receive the customized collocation request of user's input, wherein, the customized collocation request includes the collocation parameter between theme colors and the theme style, show that the user needs theme skin to be shown according to the customized collocation request.The present invention enables to user when using APP, exchanges the background oneself liked whenever and wherever possible by the theme library of APP according to various factors such as the mood of oneself, local environment background, scene of game, and then increase the user experience of APP.

Description

App method for switching theme, device and computer readable storage medium
Technical field
The present invention relates to field of computer technology, specifically, the present invention relates to a kind of App method for switching theme, device And computer readable storage medium.
Background technique
Requirement of the user to application personalized function at present is higher and higher, and theme and wallpaper are then using personalized one Important realization can get rid of the unalterable color of application interface by theme and wallpaper user.User can be autonomous selection The wallpaper and look & feel oneself liked switch the background skin of application.
The method of switching application background skin at present are as follows: user's selection target skin in theme or wallpaper shop, then It is applied in target application and is shown.It need to currently be shown from target application if user is dissatisfied to the background skin replaced Changing interface reselects purported skin into theme or wallpaper shop, then switches in target application and is shown again.It should Kind mode needs multiple changing interface user just alternatively to arrive satisfied background skin, cumbersome and inconvenient in user's operation.
Summary of the invention
The present invention is directed to the shortcomings that existing way, proposes App method for switching theme, device and computer-readable storage medium Matter.
In order to solve the above technical problems, first aspect present invention provides a kind of App method for switching theme, this method comprises:
The theme library including at least one theme skin is pre-established,
The setting for theme skin for receiving user's input is requested, wherein the setting request needs aobvious including user The mark of the theme skin shown;
The identification search theme colors of theme skin to be shown are needed according to the user;
The identification search theme style of theme skin to be shown is needed according to the user;
Receive the customized collocation request of user's input, wherein the customized collocation request includes theme colors Collocation parameter between the theme style;
Show that the user needs theme skin to be shown according to the customized collocation request.
As an alternative embodiment, the customized collocation request for receiving user's input, comprising:
Receive the voice messaging of user's input;
The voice messaging is identified according to preset recognition rule and obtains recognition result, and the recognition result includes theme Collocation parameter between color and the theme style.
As an alternative embodiment, showing that the user needs to show according to the customized collocation request described After the theme skin shown, the method also includes:
The collocation parameter is stored in preassigned file.
As an alternative embodiment, described show that the user needs to show according to the customized collocation request Theme skin, comprising:
Obtain the ID of the target widget of user's selection;
The layout attributes of the target widget are got by the ID of the target widget;
Skin attribute is obtained from the layout attributes of the target widget, wherein the skin attribute associated context picture Index value;
The reference path of the theme skin is obtained according to the mark of the theme skin;
The skin attribute associated context picture index value is changed to the reference path of the theme skin;
Trigger virtual machine starting and displaying target control.
As an alternative embodiment, the skin attribute also associated context picture pixels value, background picture it is aobvious Show mode value;
And after the mark according to the theme skin obtains the reference path of the theme skin, will be described Skin attribute associated context picture index value is changed to before the reference path of the theme skin, the method also includes:
Obtain the system type value of host;
According to the system type value of the host, background picture pixel value is modified;
According to the system type value of the host, the display mode value of background picture is modified.
As an alternative embodiment, the skin attribute associated context picture index value is changed to the master After the reference path for inscribing skin, before the starting of triggering virtual machine and displaying target control, the method also includes:
Judge whether the host is supported to show the target widget, if so, triggering virtual machine starts and shows mesh Mark control.
As an alternative embodiment, the skin attribute associated context picture index value is changed to it is described After the reference path of theme skin, before the starting of triggering virtual machine and displaying target control, the method also includes:
The example that whether there is the target widget in the storehouse of the host is judged, if so, deleting the target The example of control, and the example for re-creating a target widget.
Second aspect of the present invention also provides a kind of App theme switching device, and described device includes:
Creation module, for pre-establishing the theme library including at least one theme skin;
Receiving module, for connecing behind the theme library that the creation module establishes that includes at least one a theme skin The setting for theme skin for receiving user's input is requested, wherein the setting request includes that user needs theme skin to be shown The mark of skin;
Search module, for needing the identification search theme colors of theme skin to be shown according to the user;
Search module is also used to need the identification search theme style of theme skin to be shown according to the user;
Receiving module is also used to need the identification search master of theme skin to be shown according to the user in described search module After inscribing style, the customized collocation request of user's input is received, wherein the customized collocation request includes theme face Collocation parameter between color and the theme style;
Display module, after the customized collocation request that user's input is received for the receiving module, according to institute It states customized collocation request and shows that the user needs theme skin to be shown.
As an alternative embodiment, receiving module receives the setting request for theme skin of user's input Concrete mode includes;
Receive the voice messaging of user's input;
And described device further includes identification module, in which:
The identification module, for after the voice messaging that receiving module receives user input, according to preset Recognition rule identifies the voice messaging and obtains recognition result, and the recognition result includes theme colors and the theme style Between collocation parameter.
As an alternative embodiment, described device further includes preserving module, in which:
The preserving module, for showing that the user needs to show according to the customized collocation request in display module Theme skin after, the collocation parameter is stored in preassigned file.
As an alternative embodiment, the display module include the first acquisition submodule, the second acquisition submodule, Third acquisition submodule, the 4th acquisition submodule, replacement submodule, triggering submodule, in which:
First acquisition submodule, the ID of the target widget for obtaining user's selection;
Second acquisition submodule, for obtained in the first acquisition submodule user selection target widget ID it Afterwards, the layout attributes of the target widget are got by the ID of the target widget;
Third acquisition submodule, for getting the target by the ID of the target widget in the second acquisition submodule After the layout attributes of control, skin attribute is obtained from the layout attributes of the target widget, wherein the skin attribute closes Join background picture index value;
4th acquisition submodule, for obtaining skin from the layout attributes of the target widget in third acquisition submodule After attribute, the reference path of the theme skin is obtained according to the mark of the theme skin;
Submodule is replaced, for obtaining the theme skin according to the mark of the theme skin in the 4th acquisition submodule Reference path after, the skin attribute associated context picture index value is changed to the reference path of the theme skin;
Submodule is triggered, it is described for being changed to the skin attribute associated context picture index value in replacement submodule After the reference path of theme skin, the starting of triggering virtual machine and displaying target control.
As an alternative embodiment, the skin attribute also associated context picture pixels value, background picture it is aobvious Show mode value;
And the display module further includes the 5th acquisition submodule, the first modified module, the second modified module, in which:
5th acquisition submodule, for being changed to the skin attribute associated context picture index value in replacement submodule Before the reference path of the theme skin, the theme is obtained according to the mark of the theme skin in the 4th acquisition submodule After the reference path of skin, the system type value of host is obtained;
First modified module, for the 5th acquisition submodule obtain host system type value after, according to The system type value of the host modifies background picture pixel value;
Second modified module, for the 5th acquisition submodule obtain host system type value after, according to The system type value of the host modifies the display mode value of background picture.
As an alternative embodiment, display module further includes the first judging submodule, wherein
First judging submodule, for being changed to the skin attribute associated context picture index value in replacement submodule After the reference path of the theme skin, before the triggering virtual machine starting of triggering submodule and displaying target control, judgement Whether the host is supported to show the target widget, if so, triggering triggering submodule executes.
As an alternative embodiment, display module further includes the second judgment module, deletes submodule, creation submodule Block, in which:
Second judgment module, for the skin attribute associated context picture index value to be changed to institute in replacement submodule After the reference path for stating theme skin, before the triggering virtual machine starting of triggering submodule and displaying target control, institute is judged State the example that whether there is the target widget in the storehouse of host;
Submodule is deleted, for there are the realities of the target widget in the storehouse that the second judgment module breaks the host When example, the example of deleting the target widget;
Submodule is created, for re-creating described in one after deleting submodule and deleting the implementation of the target widget The example of target widget.
Third aspect present invention also provides another kind App theme switching device, which includes:
Processor;And
Memory is configured to storage machine readable instructions, and described instruction by the processor when being executed, so that described Processor executes App method for switching theme as described in the first aspect of the invention.
Fourth aspect present invention provides a kind of computer readable storage medium, and the computer-readable recording medium storage has Computer program, which is characterized in that the computer program program is executed by processor App as described in the first aspect of the invention Method for switching theme.
Compared with prior art, the invention has the following beneficial effects:
The present invention enables to user when using APP, according to the mood of oneself, local environment background, scene of game etc. Various factors exchanges the background oneself liked by the theme library of APP whenever and wherever possible, and then increases the user experience of APP.
Detailed description of the invention
Above-mentioned and/or additional aspect and advantage of the invention will become from the following description of the accompanying drawings of embodiments Obviously and it is readily appreciated that, in which:
Fig. 1 is a kind of flow diagram for App method for switching theme that the embodiment of the present invention one provides;
Fig. 2 is a kind of structural schematic diagram of App theme switching device provided by Embodiment 2 of the present invention;
Fig. 3 is a kind of structural schematic diagram for App theme switching device that the embodiment of the present invention three provides.
Specific embodiment
The present invention is described below in detail, the example of the embodiment of the present invention is shown in the accompanying drawings, wherein identical from beginning to end Or similar label indicates same or similar component or component with the same or similar functions.In addition, if known technology Detailed description for showing the invention is characterized in that unnecessary, then omit it.Below with reference to attached drawing description Embodiment is exemplary, and for explaining only the invention, and is not construed as limiting the claims.
Those skilled in the art of the present technique are appreciated that unless otherwise defined, all terms used herein (including technology art Language and scientific term), there is meaning identical with the general understanding of those of ordinary skill in fields of the present invention.Should also Understand, those terms such as defined in the general dictionary, it should be understood that have in the context of the prior art The consistent meaning of meaning, and unless idealization or meaning too formal otherwise will not be used by specific definitions as here To explain.
Those skilled in the art of the present technique are appreciated that unless expressly stated, singular " one " used herein, " one It is a ", " described " and "the" may also comprise plural form.It is to be further understood that being arranged used in specification of the invention Diction " comprising " refer to that there are the feature, integer, step, operation, element and/or component, but it is not excluded that in the presence of or addition Other one or more features, integer, step, operation, element, component and/or their group.Wording used herein " and/ Or " it include one or more associated wholes for listing item or any cell and all combinations.
How technical solution of the present invention and technical solution of the present invention are solved with specifically embodiment below above-mentioned Technical problem is described in detail.
Embodiment one
As shown in Figure 1, Fig. 1 is the flow diagram that the present invention implements a kind of App method for switching theme that one provides, In, the method comprising the steps of:
101, the theme library including at least one theme skin is pre-established;
102, the setting for theme skin for receiving user's input is requested, wherein the setting request includes that user needs The mark of theme skin to be shown;
103, the identification search theme colors of theme skin to be shown are needed according to the user;
104, the identification search theme style of theme skin to be shown is needed according to the user;
105, the customized collocation request of user's input is received, wherein the customized collocation request includes theme Collocation parameter between color and the theme style;
106, show that the user needs theme skin to be shown according to the customized collocation request.
As an alternative embodiment, the customized collocation request for receiving user's input, comprising:
Receive the voice messaging of user's input;
The voice messaging is identified according to preset recognition rule and obtains recognition result, and the recognition result includes theme Collocation parameter between color and the theme style.
As an alternative embodiment, showing that the user needs to show according to the customized collocation request described After the theme skin shown, the method also includes:
The collocation parameter is stored in preassigned file.
As an alternative embodiment, described show that the user needs to show according to the customized collocation request Theme skin, comprising:
Obtain the ID of the target widget of user's selection;
The layout attributes of the target widget are got by the ID of the target widget;
Skin attribute is obtained from the layout attributes of the target widget, wherein the skin attribute associated context picture Index value;
The reference path of the theme skin is obtained according to the mark of the theme skin;
The skin attribute associated context picture index value is changed to the reference path of the theme skin;
Trigger virtual machine starting and displaying target control.
As an alternative embodiment, the skin attribute also associated context picture pixels value, background picture it is aobvious Show mode value;
And after the mark according to the theme skin obtains the reference path of the theme skin, will be described Skin attribute associated context picture index value is changed to before the reference path of the theme skin, the method also includes:
Obtain the system type value of host;
According to the system type value of the host, background picture pixel value is modified;
According to the system type value of the host, the display mode value of background picture is modified.
As an alternative embodiment, the skin attribute associated context picture index value is changed to the master After the reference path for inscribing skin, before the starting of triggering virtual machine and displaying target control, the method also includes:
Judge whether the host is supported to show the target widget, if so, triggering virtual machine starts and shows mesh Mark control.
As an alternative embodiment, the skin attribute associated context picture index value is changed to it is described After the reference path of theme skin, before the starting of triggering virtual machine and displaying target control, the method also includes:
The example that whether there is the target widget in the storehouse of the host is judged, if so, deleting the target The example of control, and the example for re-creating a target widget.
The embodiment of the present invention enables to user when using APP, according to the mood of oneself, local environment background, game The various factors such as scene exchange the background oneself liked by the theme library of APP whenever and wherever possible, and then increase the user's body of APP It tests.
Embodiment two
As shown in Fig. 2, Fig. 2 is a kind of structural schematic diagram of App theme switching device provided by Embodiment 2 of the present invention, institute Stating device includes:
Creation module 201, for pre-establishing the theme library including at least one theme skin;
Receiving module 202, for establishing the theme library including at least one theme skin in the creation module 201 Afterwards, the setting for theme skin for receiving user's input is requested, wherein the setting request includes that user needs master to be shown Inscribe the mark of skin;
Search module 203, for needing the identification search theme colors of theme skin to be shown according to the user;
It should be noted that after receiving module 202 executes the setting request for theme skin for receiving user's input, The starting of search module 203 can be triggered.
Search module 203 is also used to need the identification search theme style of theme skin to be shown according to the user;
Receiving module 202 is also used to need the mark of theme skin to be shown according to the user in described search module 203 After search for style, receive the customized collocation request of user input, wherein the customized collocation request include Collocation parameter between theme colors and the theme style;
Display module 204, after the customized collocation request that user's input is received for the receiving module 202, Show that the user needs theme skin to be shown according to the customized collocation request.
As an alternative embodiment, receiving module receives the setting request for theme skin of user's input Concrete mode includes;
Receive the voice messaging of user's input;
And described device further includes identification module, in which:
The identification module, for after the voice messaging that receiving module receives user input, according to preset Recognition rule identifies the voice messaging and obtains recognition result, and the recognition result includes theme colors and the theme style Between collocation parameter.
As an alternative embodiment, described device further includes preserving module, in which:
The preserving module, for showing that the user needs to show according to the customized collocation request in display module Theme skin after, the collocation parameter is stored in preassigned file.
As an alternative embodiment, the display module include the first acquisition submodule, the second acquisition submodule, Third acquisition submodule, the 4th acquisition submodule, replacement submodule, triggering submodule, in which:
First acquisition submodule, the ID of the target widget for obtaining user's selection;
Second acquisition submodule, for obtained in the first acquisition submodule user selection target widget ID it Afterwards, the layout attributes of the target widget are got by the ID of the target widget;
Third acquisition submodule, for getting the target by the ID of the target widget in the second acquisition submodule After the layout attributes of control, skin attribute is obtained from the layout attributes of the target widget, wherein the skin attribute closes Join background picture index value;
4th acquisition submodule, for obtaining skin from the layout attributes of the target widget in third acquisition submodule After attribute, the reference path of the theme skin is obtained according to the mark of the theme skin;
Submodule is replaced, for obtaining the theme skin according to the mark of the theme skin in the 4th acquisition submodule Reference path after, the skin attribute associated context picture index value is changed to the reference path of the theme skin;
Submodule is triggered, it is described for being changed to the skin attribute associated context picture index value in replacement submodule After the reference path of theme skin, the starting of triggering virtual machine and displaying target control.
As an alternative embodiment, the skin attribute also associated context picture pixels value, background picture it is aobvious Show mode value;
And the display module further includes the 5th acquisition submodule, the first modified module, the second modified module, in which:
5th acquisition submodule, for being changed to the skin attribute associated context picture index value in replacement submodule Before the reference path of the theme skin, the theme is obtained according to the mark of the theme skin in the 4th acquisition submodule After the reference path of skin, the system type value of host is obtained;
First modified module, for the 5th acquisition submodule obtain host system type value after, according to The system type value of the host modifies background picture pixel value;
Second modified module, for the 5th acquisition submodule obtain host system type value after, according to The system type value of the host modifies the display mode value of background picture.
As an alternative embodiment, display module further includes the first judging submodule, wherein
First judging submodule, for being changed to the skin attribute associated context picture index value in replacement submodule After the reference path of the theme skin, before the triggering virtual machine starting of triggering submodule and displaying target control, judgement Whether the host is supported to show the target widget, if so, triggering triggering submodule executes.
As an alternative embodiment, display module further includes the second judgment module, deletes submodule, creation submodule Block, in which:
Second judgment module, for the skin attribute associated context picture index value to be changed to institute in replacement submodule After the reference path for stating theme skin, before the triggering virtual machine starting of triggering submodule and displaying target control, institute is judged State the example that whether there is the target widget in the storehouse of host;
Submodule is deleted, for there are the realities of the target widget in the storehouse that the second judgment module breaks the host When example, the example of deleting the target widget;
Submodule is created, for re-creating described in one after deleting submodule and deleting the implementation of the target widget The example of target widget.
The App theme switching device of the embodiment of the present invention enables to user to make by executing App method for switching theme When with APP, according to various factors such as the mood of oneself, local environment background, scene of game, by the theme library of APP, at any time with The background oneself liked is exchanged on ground, and then increases the user experience of APP.
Embodiment three
As shown in figure 3, Fig. 3 is a kind of structural schematic diagram for App theme switching device that the embodiment of the present invention three provides, institute Stating device includes:
Processor 302;And
Memory 301, is configured to storage machine readable instructions, and described instruction makes when being executed by the processor 302 Obtain App method for switching theme of the execution of processor 302 as described in the embodiment of the present invention one.
The App theme switching device of the embodiment of the present invention enables to user to make by executing App method for switching theme When with APP, according to various factors such as the mood of oneself, local environment background, scene of game, by the theme library of APP, at any time with The background oneself liked is exchanged on ground, and then increases the user experience of APP.
Example IV
The embodiment of the present invention four provides a kind of computer readable storage medium, and the computer-readable recording medium storage has Computer program, which is characterized in that the computer program program is executed by processor the App as described in the embodiment of the present invention one Method for switching theme.
The computer readable storage medium of the embodiment of the present invention enables to user by executing App method for switching theme When using APP, according to various factors such as the mood of oneself, local environment background, scene of game, by the theme library of APP, with When exchange the background oneself liked everywhere, and then increase the user experience of APP.
Those skilled in the art of the present technique have been appreciated that in the present invention the various operations crossed by discussion, method, in process Steps, measures, and schemes can be replaced, changed, combined or be deleted.Further, each with having been crossed by discussion in the present invention Kind of operation, method, other steps, measures, and schemes in process may also be alternated, changed, rearranged, decomposed, combined or deleted. Further, in the prior art to have and the step in various operations, method disclosed in the present invention, process, measure, scheme It may also be alternated, changed, rearranged, decomposed, combined or deleted.
In the description of the present invention, it is to be understood that, term " center ", "upper", "lower", "front", "rear", " left side ", The orientation or positional relationship of the instructions such as " right side ", "vertical", "horizontal", "top", "bottom", "inner", "outside" is based on the figure Orientation or positional relationship is merely for convenience of description of the present invention and simplification of the description, rather than the device of indication or suggestion meaning or Element must have a particular orientation, be constructed and operated in a specific orientation, therefore be not considered as limiting the invention.
Term " first ", " second " be used for descriptive purposes only and cannot be understood as indicating or suggesting relative importance or Implicitly indicate the quantity of indicated technical characteristic." first " is defined as a result, the feature of " second " can be expressed or imply Ground includes one or more of the features.In the description of the present invention, unless otherwise indicated, the meaning of " plurality " is two or Two or more.
In the description of the present invention, it should be noted that unless otherwise clearly defined and limited, term " installation ", " phase Even ", " connection " shall be understood in a broad sense, for example, it may be being fixedly connected, may be a detachable connection, or be integrally connected;It can To be to be connected directly, the connection inside two elements can also be can be indirectly connected through an intermediary.For this field For those of ordinary skill, the concrete meaning of above-mentioned term in the present invention can be understood with concrete condition.
In the description of this specification, particular features, structures, materials, or characteristics can be real in any one or more Applying can be combined in any suitable manner in example or example.
It should be understood that although each step in the flow chart of attached drawing is successively shown according to the instruction of arrow, These steps are not that the inevitable sequence according to arrow instruction successively executes.Unless expressly stating otherwise herein, these steps Execution there is no stringent sequences to limit, can execute in the other order.Moreover, at least one in the flow chart of attached drawing Part steps may include that perhaps these sub-steps of multiple stages or stage are not necessarily in synchronization to multiple sub-steps Completion is executed, but can be executed at different times, execution sequence, which is also not necessarily, successively to be carried out, but can be with other At least part of the sub-step or stage of step or other steps executes in turn or alternately.
The above is only some embodiments of the invention, it is noted that for the ordinary skill people of the art For member, various improvements and modifications may be made without departing from the principle of the present invention, these improvements and modifications are also answered It is considered as protection scope of the present invention.

Claims (10)

1. a kind of App method for switching theme, which is characterized in that the method, comprising:
The theme library including at least one theme skin is pre-established,
The setting for theme skin for receiving user's input is requested, wherein the setting request needs to be shown including user The mark of theme skin;
The identification search theme colors of theme skin to be shown are needed according to the user;
The identification search theme style of theme skin to be shown is needed according to the user;
Receive the customized collocation request of user's input, wherein the customized collocation request includes theme colors and institute State the collocation parameter between theme style;
Show that the user needs theme skin to be shown according to the customized collocation request.
2. App method for switching theme as described in claim 1, which is characterized in that customized the taking for receiving user's input With request, comprising:
Receive the voice messaging of user's input;
The voice messaging is identified according to preset recognition rule and obtains recognition result, and the recognition result includes theme colors Collocation parameter between the theme style.
3. App method for switching theme as described in claim 1, which is characterized in that asked described according to the customized collocation After asking the display user to need theme skin to be shown, the method also includes:
The collocation parameter is stored in preassigned file.
4. App method for switching theme as described in claim 1, which is characterized in that described to be requested according to the customized collocation Show that the user needs theme skin to be shown, comprising:
Obtain the ID of the target widget of user's selection;
The layout attributes of the target widget are got by the ID of the target widget;
Skin attribute is obtained from the layout attributes of the target widget, wherein the skin attribute associated context picture indices Value;
The reference path of the theme skin is obtained according to the mark of the theme skin;
The skin attribute associated context picture index value is changed to the reference path of the theme skin;
Trigger virtual machine starting and displaying target control.
5. App method for switching theme as claimed in claim 4, which is characterized in that the skin attribute also associated context picture The display mode value of pixel value, background picture;
And after the mark according to the theme skin obtains the reference path of the theme skin, by the skin Attribute Association background picture index value is changed to before the reference path of the theme skin, the method also includes:
Obtain the system type value of host;
According to the system type value of the host, background picture pixel value is modified;
According to the system type value of the host, the display mode value of background picture is modified.
6. App method for switching theme as claimed in claim 5, which is characterized in that by the skin attribute associated context figure Piece index value is changed to after the reference path of the theme skin, before the starting of triggering virtual machine and displaying target control, The method also includes:
Judge whether the host is supported to show the target widget, if so, the starting of triggering virtual machine and displaying target control Part.
7. App method for switching theme as claimed in claim 5, which is characterized in that by the skin attribute associated context Picture index value is changed to after the reference path of the theme skin, triggering virtual machine starting and displaying target control it Before, the method also includes:
The example that whether there is the target widget in the storehouse of the host is judged, if so, deleting the target widget Example, and the example for re-creating a target widget.
8. a kind of App theme switching device, which is characterized in that described device includes:
Creation module, for pre-establishing the theme library including at least one theme skin;
Receiving module, for receiving and using behind the theme library that the creation module establishes that includes at least one a theme skin The setting for theme skin of family input is requested, wherein the setting request includes that user needs theme skin to be shown Mark;
Search module, for needing the identification search theme colors of theme skin to be shown according to the user;
Search module is also used to need the identification search theme style of theme skin to be shown according to the user;
Receiving module is also used to need the identification search theme wind of theme skin to be shown according to the user in described search module After lattice, receive the customized collocation request of user input, wherein the customized collocation request include theme colors and Collocation parameter between the theme style;
Display module, after the customized collocation request that user input is received for the receiving module, according to it is described from Definition collocation request shows that the user needs theme skin to be shown.
9. a kind of App theme switching device, it is characterised in that: described device includes:
Processor;And
Memory is configured to storage machine readable instructions, and described instruction by the processor when being executed, so that the processing Device executes such as App method for switching theme of any of claims 1-7.
10. a kind of computer readable storage medium, the computer-readable recording medium storage has computer program, and feature exists In the computer program program is executed by processor such as App method for switching theme of any of claims 1-7.
CN201910474165.5A 2019-05-31 2019-05-31 App theme switching method and device and computer readable storage medium Active CN110377375B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910474165.5A CN110377375B (en) 2019-05-31 2019-05-31 App theme switching method and device and computer readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910474165.5A CN110377375B (en) 2019-05-31 2019-05-31 App theme switching method and device and computer readable storage medium

Publications (2)

Publication Number Publication Date
CN110377375A true CN110377375A (en) 2019-10-25
CN110377375B CN110377375B (en) 2023-10-27

Family

ID=68249631

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910474165.5A Active CN110377375B (en) 2019-05-31 2019-05-31 App theme switching method and device and computer readable storage medium

Country Status (1)

Country Link
CN (1) CN110377375B (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111158832A (en) * 2019-12-31 2020-05-15 中国银行股份有限公司 Theme skin changing method and device for mobile banking application
CN113157374A (en) * 2021-04-27 2021-07-23 北京有竹居网络技术有限公司 Page mode switching method, device, equipment and storage medium
CN115967762A (en) * 2021-10-12 2023-04-14 花瓣云科技有限公司 Display method, display resource management method, readable medium, and electronic device
CN116755589A (en) * 2023-08-22 2023-09-15 苔花科迈(西安)信息技术有限公司 Method, device, medium and equipment for changing color matching theme of visual large screen

Citations (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20040220943A1 (en) * 2003-04-30 2004-11-04 Motorola, Inc. Data structure and method facilitating a custom user interface
EP1637991A1 (en) * 2004-09-15 2006-03-22 Research In Motion Limited Palette-based color selection within a user interface theme
CN101719075A (en) * 2009-12-29 2010-06-02 中兴通讯股份有限公司 Method for switching theme of Java virtual machine and terminal device
CN103902160A (en) * 2014-03-28 2014-07-02 广州市久邦数码科技有限公司 Method for realizing desktop theme mixing and matching and desktop theme mixing and matching system
CN105117225A (en) * 2015-08-24 2015-12-02 江西好帮手电子科技有限公司 Android system based HMI interface customizing method and system
CN106802794A (en) * 2016-12-20 2017-06-06 智车优行科技(北京)有限公司 Method for switching theme, device, vehicle and system
CN106897075A (en) * 2017-03-14 2017-06-27 广东小天才科技有限公司 A kind of desktop vision-control method and device
CN108228677A (en) * 2016-12-22 2018-06-29 北京国双科技有限公司 Switch the method and apparatus of subject of Web site style
CN108228293A (en) * 2017-12-29 2018-06-29 北京金山安全软件有限公司 Interface skin switching method and device
CN108334385A (en) * 2017-01-18 2018-07-27 腾讯科技(深圳)有限公司 A kind of the user interface skins management method and device of application
CN108427586A (en) * 2017-08-04 2018-08-21 平安科技(深圳)有限公司 Using push terminal, method and the computer readable storage medium of theme
CN108628518A (en) * 2017-07-26 2018-10-09 北京视联动力国际信息技术有限公司 A kind of Application Program Interface replacing skins method and device
CN108897595A (en) * 2018-06-27 2018-11-27 珠海市君天电子科技有限公司 A kind of method, apparatus and terminal device of interface beautification
CN109814777A (en) * 2018-12-24 2019-05-28 维沃移动通信有限公司 The setting method to show topics and a kind of mobile terminal

Patent Citations (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20040220943A1 (en) * 2003-04-30 2004-11-04 Motorola, Inc. Data structure and method facilitating a custom user interface
EP1637991A1 (en) * 2004-09-15 2006-03-22 Research In Motion Limited Palette-based color selection within a user interface theme
CN101719075A (en) * 2009-12-29 2010-06-02 中兴通讯股份有限公司 Method for switching theme of Java virtual machine and terminal device
CN103902160A (en) * 2014-03-28 2014-07-02 广州市久邦数码科技有限公司 Method for realizing desktop theme mixing and matching and desktop theme mixing and matching system
CN105117225A (en) * 2015-08-24 2015-12-02 江西好帮手电子科技有限公司 Android system based HMI interface customizing method and system
CN106802794A (en) * 2016-12-20 2017-06-06 智车优行科技(北京)有限公司 Method for switching theme, device, vehicle and system
CN108228677A (en) * 2016-12-22 2018-06-29 北京国双科技有限公司 Switch the method and apparatus of subject of Web site style
CN108334385A (en) * 2017-01-18 2018-07-27 腾讯科技(深圳)有限公司 A kind of the user interface skins management method and device of application
CN106897075A (en) * 2017-03-14 2017-06-27 广东小天才科技有限公司 A kind of desktop vision-control method and device
CN108628518A (en) * 2017-07-26 2018-10-09 北京视联动力国际信息技术有限公司 A kind of Application Program Interface replacing skins method and device
CN108427586A (en) * 2017-08-04 2018-08-21 平安科技(深圳)有限公司 Using push terminal, method and the computer readable storage medium of theme
CN108228293A (en) * 2017-12-29 2018-06-29 北京金山安全软件有限公司 Interface skin switching method and device
CN108897595A (en) * 2018-06-27 2018-11-27 珠海市君天电子科技有限公司 A kind of method, apparatus and terminal device of interface beautification
CN109814777A (en) * 2018-12-24 2019-05-28 维沃移动通信有限公司 The setting method to show topics and a kind of mobile terminal

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111158832A (en) * 2019-12-31 2020-05-15 中国银行股份有限公司 Theme skin changing method and device for mobile banking application
CN111158832B (en) * 2019-12-31 2024-05-24 中国银行股份有限公司 Theme skin changing method and device for mobile phone banking application
CN113157374A (en) * 2021-04-27 2021-07-23 北京有竹居网络技术有限公司 Page mode switching method, device, equipment and storage medium
CN115967762A (en) * 2021-10-12 2023-04-14 花瓣云科技有限公司 Display method, display resource management method, readable medium, and electronic device
CN116755589A (en) * 2023-08-22 2023-09-15 苔花科迈(西安)信息技术有限公司 Method, device, medium and equipment for changing color matching theme of visual large screen
CN116755589B (en) * 2023-08-22 2023-11-28 苔花科迈(西安)信息技术有限公司 Method, device, medium and equipment for changing color matching theme of visual large screen

Also Published As

Publication number Publication date
CN110377375B (en) 2023-10-27

Similar Documents

Publication Publication Date Title
CN110377375A (en) App method for switching theme, device and computer readable storage medium
KR101864240B1 (en) Object retrieval method and apparatus
CN104781773B (en) User interface device
US20130346890A1 (en) Interface autonomous planning method and apparatus
CN104679427B (en) Terminal split-screen display method and system
WO2019184558A1 (en) Method for processing object, device, storage medium and electronic device
CN105975274B (en) Method and device for displaying window applied to Android platform
CN105278799A (en) Interface switching method and apparatus
US20070010325A1 (en) Video game control program and video game device
CN104156193B (en) Joined screen system and its fault-tolerance processing method
CN105955471A (en) Virtual reality interaction method and device
CN106201167A (en) The multi-screen display method of terminal screen, device and terminal
CN104239076A (en) Interface color adjusting method and device
CN108037956A (en) A kind of display interface display methods, display device and computer-readable recording medium
CN103034396A (en) Method and device for moving icon to Android system desktop
CN104461245A (en) Application icon management method
CN106055998A (en) Method and device for carrying out screen capturing at mobile terminal
CN111494935A (en) Method and device for controlling virtual object in game
US9177531B2 (en) Image processing device and non-transitory computer-readable storage medium storing image processing program
CN107832337B (en) Page returning method, device and equipment
CN112807679A (en) Method, device and equipment for using game props and storage medium
CN109636875B (en) Graph drawing method, device and storage medium
CN109117053B (en) Dynamic display method, device and equipment for interface content
CN106325681A (en) Method and device for switching menu items
CN103019509A (en) Terminal and main screen searching method

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: 20210128

Address after: 518000 Room 201, building A, No. 1, Qian Wan Road, Qianhai Shenzhen Hong Kong cooperation zone, Shenzhen, Guangdong (Shenzhen Qianhai business secretary Co., Ltd.)

Applicant after: Shenzhen saiante Technology Service Co.,Ltd.

Address before: 518033 1-34 / F, Qianhai free trade building, 3048 Xinghai Avenue, Mawan, Qianhai Shenzhen Hong Kong cooperation zone, Shenzhen City, Guangdong Province

Applicant before: Ping An International Smart City Technology Co.,Ltd.

GR01 Patent grant
GR01 Patent grant