"I'm opposed to that idea." "I'm against that idea." In both cases, the meaning is more or less the same, but we need "to" after "opposed". Also, "opposed to" has a formal register.
For physical positions, you can only use "against". "He was leaning against the wall" makes sense, but "he was leaning opposed to the wall" sounds silly.