First off, you're comparing an ionicionically bonded $\ce{HF}$ with a covalently bonded covalently bonded $\ce{CH4}$. HF is a stronger acid than $\ce{CH4}$ because its able to furnish out $\ce{H+}$ ions due to its ionic bonding.
So I think you'reyour question boils down to: Why is ionic bonding in $\ce{HX}$ (X=Halogen) stronger than a covalent bondbonding?
This is because in covalent bonding there is only a mutual agreement to share electrons whereas electrostatic attraction in ionic bonding.