If you want just to include the Toolbar without any scrolling effects you can use Toolbar. But if you want to make some scrolling effects like on the images you need to use AppBarLayout.
More here and here.
Flisks is a developer, digital marketing, SEO, and blogging enthusiast. Apart from copywriting, he loves travel, music, and adventures. He is a passionate learner and a dreamer.