How to make a button initialization is selected

Description

How to make a button initialization is selected (LV_STATE_FOCUSED)?

like this:

image

What MCU/Processor/Board and compiler are you using?

stm32, lvgl v7.0.2

Code to reproduce

lv_obj_set_state(btn1, LV_STATE_FOCUSED);

Screenshot and/or video

I started to set up a state, the other button is pressed, the state does not disappear found btn1;

image

It seems like a very simple question, but you have to post your reproduction code.

看起来是很简单的问题,但是你要贴出你的复现代码。。。