The invention discloses a vehicle-mounted information entertainment system theme switching method. A mapping relation between a display request and a resource file is created, and a system theme and an application theme are switched at the same time during theme switching, so that the problem that the system theme does not correspond to the application theme does not exist. Meanwhile, the resource file is replaced before the application main program is started, so that when the application program is started, the replaced resource file is directly loaded, and resources such as backgrounds, and colors and the like do not need to be searched and replaced one by one in a View traversing mode of an application layer like the prior art, therefore, the problem of different loading time caused by different sizes of the resource files is solved.
本发明公开了一种车载信息娱乐系统主题切换方法,通过创建显示请求与资源文件的映射关系,在主题切换时,同时对系统主题和应用主题进行切换,因此不会存在系统主题与应用主题不对应的问题。同时,应用主程序在启动前已经进行了资源文件的替换,因此应用程序启动时,直接加载替换后的资源文件即可,而不需要像现有技术一样通过应用层遍历View的方式逐个查找和替换背景、颜色等资源,从而解决因资源文件大小不同导致加载时间不同的问题。
Vehicle-mounted information entertainment system theme switching method and system, equipment and storage medium
2024-05-24
Patent
Elektronische Ressource
Chinesisch
Vehicle-mounted instrument theme switching method, device and equipment and storage medium
Europäisches Patentamt | 2023
|Vehicle-mounted entertainment information display method, device, equipment and medium
Europäisches Patentamt | 2022
|Europäisches Patentamt | 2024
|Europäisches Patentamt | 2021
|