View objects are used specifically for drawing content onto the screen of an Android device . While you can instantiate a View in your Java code, the easiest way to use them is through an XML layout file. An example of this can be seen when you create an simple “Hello World” application in Android Studio.