Subject addition method
A theme and identification code technology, applied in the field of UI drawing, can solve the problem of increasing the workload of the theme, and achieve the effect of reducing the amount of software code
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment Construction
[0017] The preferred embodiments of the present invention are given below in conjunction with the accompanying drawings to describe the technical solution of the present invention in detail.
[0018] Take the case of two built-in UI themes as an example.
[0019] First, create two arrays. Array 1 stores the picture ID of theme 1, and array 2 stores the picture ID of theme 2. The picture IDs in the same position in the mobile phone under the two sets of themes must correspond to each other in the two arrays.
[0020] When the system draws a picture, it will inevitably pass in a picture ID. This picture ID is the picture ID under the default theme, that is, the picture ID under theme 1. At this time, record the ID.
[0021] Such as figure 1 As shown, after obtaining the picture ID, determine whether the current system is using theme 1. If it is theme 1, directly use the picture ID to get the picture data, and then complete picture drawing according to the picture data.
[002...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 