Is jetpack-compose UI essential for frontend in Android? or we can use XML?

Hello there, I just want to ask as I am building Android app using kotlin in backend and XML for UI. is it okay If I use XML for UI. or I have to use jetpack-compose UI? or something else??

Please answer this question as it is very essential for me!
Thanks