You can design your UI with XML, but in the long run, you should get familiar with Jetpack Compose because is that really where the future of native Android development is in terms of UI design because all big frameworks use this approach.
Jetpack Compose advantages:
1-Jetpack Compose is a complete redesign of the Android user interface.
2-Jetpack Compose is completely compatible with XML and vice versa.
3-Less code is required.
4-It fixes a bunch of UI issues.
5-The Jetpack Compose performance is great. It employs Smart recompositions, enforces a single layout pass, and eliminates XML issues such as View inflation.
6-It is appropriate for Unidirectional Data Flow because Composables accept state and emit events.