I believe that walking with your dog is team work. That you are on the walk together for exercise and stimulation. We check out the cars going by, look at peoples yards, what people have done to the houses etc. Dogs are checking out what dogs live in the neighborhood by smelling their scent, what wildlife was here last night, listen to the dogs barking in the area, what the barking means etc.
So first, not being on the phone when walking with your dog. Enjoy the experiences together. Be a team.