Police have been given more time to question a man arrested on suspicion of attempted murder.