• After 15+ years, we've made a big change: Android Forums is now Early Bird Club. Learn more here.

how to integrate xml file in menu??

Im a developing an app for a restaurant in Android Studio.
I want to add the restaurant's menu in the app.
For this I created a menu in the app.
When you click on the three dots, you can see the titles of the menu
for example: pizza, dessert, ...
I made for every title an xml file with all the items of the menu.
How can I make the app show me the xml file "dessert.xml" when i click
on the title "Dessert".
How do I integrate the xml files??
 

BEST TECH IN 2023

We've been tracking upcoming products and ranking the best tech since 2007. Thanks for trusting our opinion: we get rewarded through affiliate links that earn us a commission and we invite you to learn more about us.

Smartphones