Focus your attention on the person talking. Look them in the eyes. That way, they know you are listening. If you're looking around, or staring at your phone while someone is talking to you, it looks like you don't care, and you're not paying them any attention.
Hope this helps!