cancel
Showing results for 
Search instead for 
Did you mean: 

Reduce RAM for UI

NHo.1
Associate III

Hi ST,

How to reduce RAM for Screen.

Ex: I defines 3 buttons into custom container and add this custom container into screens. I just want to show 1 button in once screen. How to reduce RAM for 2 buttons not use of custom container?

Please help, thanks!

1 REPLY 1
Alexandre RENOUX
Principal

Hello,

If you don't want to show 3 buttons on each screen, do not add 3 buttons to a custom container that you will add to each screen. Why do you want to use a Custom Container ? If you want to show one button in one screen, then add only one button to this screen. Please provide more information.

To reduce RAM you can lower the color depth. For example going to RGB888 to RGB565 or even to L8 if you only use a few sets of color for your assets (https://support.touchgfx.com/docs/development/ui-development/scenarios/using-the-l8-image-format-to-reduce-memory-consumption)

Some info regarding color formats : https://support.touchgfx.com/docs/basic-concepts/color-formats

/Alexandre