Ok, I'm currently confused because of two different definitions for the Liouville measure associated to a smooth manifold $M$ of dimension $n$. These are:
a) The measure $\mu$ on the cotangent bundle $T^*M$ induced by the volume form $(d\alpha)^n$ where $\alpha$ is the canonical 1-form on $T^*M$ and $\omega:=d\alpha$ makes $T^*M$ a symplectic manifold.
This $\mu$ is invariant under any Hamiltonian flow (that is, any flow that integrates a vector field $X_H$ defined for some smooth $H:T^*M\to \mathbb{R}$ by $\theta(X_H)=\omega(\theta,dH)$ for all $\theta\in T^*(T^*M)$ ).
b) The measure $\nu$ that may be defined, once $M$ is endowed with a Riemannian metric $g$, on $SM$, the unit tangent bundle. This measure is given locally by the product of the Riemannian volume on $M$ (i.e. $\text{det}(g_{ij})dx_1\wedge\dots\wedge dx_n$) and the usual Lebesgue measure on the unit sphere.
This $\nu$ is invariant under the geodesic flow on $SM$.
Now, what is, if any, the relationship between these measures? I imagine that once $M$ is endowed with $g$ we can identify $T^*M$ with $TM$ ($q,p\to q,v$ iff $p(v')=g(v,v')$ for al $v'\in T_qM$). Will then the restriction of $\mu$ to the unit cotangent bundle (assuming this restriction to a submanifold of smaller dimension is well defined) correspond to $\nu$? It's the only reason I could imagine for giving the same name to two different measures defined on two different spaces ($T^*M$ and $SM$, respectively), but I could not find such a statement on any reference book.