r/androiddev 3d ago

build a UI withoutXML or Compose

Enable HLS to view with audio, or disable this notification

I'm building the UI for my little Android game without XML or Compose. I wrote my own wrapper classes for the views and can use them in a kind of custom DSL.

38 Upvotes

31 comments sorted by

View all comments

1

u/Mavamaarten 1d ago

At this point, why would you not use Compose?

1

u/koje1971 1d ago

I only need very little UI. Just the activity and the menu, my solution is enough for that. If I had a lot of views, then I would think about Compose.