Problem with merging meshes

Hi guys, i’m having a problem with applying a material to a “merged mesh”. What i mean is that when i apply a material to a mesh that was merged together, it only apply to single mesh not as a whole so how can i apply material to my mesh as a whole ? You can guys can see that in my picture down there.