Indeed a resistive sensor connected just to an analog input and ground will just pull it to ground and you'll read 0.