How to add auto-scroll to a text area?

Hello,

I wonder how can I make a long text auto-scrollable like it's in some default apps (see the video below):

https://youtu.be/62E6Ajot3dc

Kind regards,

Valeriy