Too Long; Didn't Read
Today we are going to learn how we can make an amazing custom toolbar with gradient effect and also apply the gradient to the status bar. To make gradient to status bar and toolbar we need to edit our styles.xml file to make it no action bar theme and apply full-screen so that we can add our custom status bar. The color of title in the toolbar is in black color which makes our toolbar look ugly. To make it look amazing we are adding white color to the toolbar title by calling method setTitleTextColor of toolbar widget.