HINT:
$$\cos^22x=1-\sin^22x$$
Set $\sin2x=y$
Otherwise,
$$\dfrac{\sin^4x}{\sin^4x+\cos^4x}=\dfrac1{1+\cot^4x}$$
Let $\cot^2x=u\implies dx=-\dfrac{du}{1+u^2}$
Method$\#1:\dfrac2{(1+u^4)(1+u^2)}=\dfrac{1+u^4+1-u^4}{(1+u^4)(1+u^2)}=?$
Method$\#2:$ Writing $u^2=y$
$$\dfrac1{(1+y^2)(1+y)}=\dfrac{Ay+B}{1+y^2}+\dfrac C{1+y}$$
$$\iff1=(Ay+B)(1+y)+C(1+y^2)=y^2(C+A)+y(B+A)+B+C$$
$C+A=0\iff C=-A, B+A=0\iff B=-A$ and $1=B+C=-2A$
$$\implies\dfrac1{(1+y^2)(1+y)}=\dfrac{-y+1}{2(1+y^2)}+\dfrac1{2(1+y)}$$
In either case, finally $\dfrac{1-u^2}{1+u^4}=\dfrac{\dfrac1{u^2}-1}{\dfrac1{u^2}+u^2}$
and $\displaystyle\int\left(\dfrac1{u^2}-1\right)=?$ and $\dfrac1{u^2}+u^2=\left(u+\dfrac1u\right)^2-2$