First of all, I would like to apologise if my question is very basic - I don't know which keywords are useful to find the answer.
I know how to programme two "types" of application - ones which are run by .xml files (for instance, a converter from Celsius to Fahrenheit, some options menu and so on), and ones which are run with a class which extends View (for applications with graphical components). My question is, how to combine them? More precisely, how to add a View component into an XML file? Practical example: drawing a circle in an options menu, which moves once touched.
Thank you in advance.