How to add and change gradient to a layer?

How to add and change gradient to a layer?
0.0 0

#1

Is it possible to add and change the gradient to a layer?
If so how? Please tell me.

Thanks