You can go to
realme UI 7.0: Settings > System & updates > input method > Keyboard location, select Raised keyboard and enable Show input methods button
realme UI 6.0: Settings > System & updates > Keyboard & input method > Keyboard location, select Raised keyboard and enable Show input methods button
realme UI 5.0 & 4.0 & 3.0: Settings > System/Additional settings > Keyboard & input method > Keyboard location, select Raised keyboard and enable Input method quick switch
realme UI 2.0: Settings > Additional settings > Keyboard & input method > Keyboard location , select Raised keyboard and enable Input method quick switch.
realme R & Go & S & T & U Edition: not support
When using an input method, click the keyboard icon in the lower right corner to switch to the current input method quickly.