# 1.4 Views

Wait a second, it seems like XML files give us everything we need to display an application on a screen! Did we really need that code to change the `TextView` text to "Hello Friend"? Well, declaring the attributes inside the XML for a static `TextView` seems fine, but when we start to look at more complex View elements, we’ll need corresponding logic to control how these components work.

![Main Activity in Eatery](https://195521982-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LvOeSx5ZqjJA8sxykMu%2F-LvZH3TGSzyS8bKiA1lT%2F-LvZTn5RLz_enwZdIZHv%2FScreen%20Shot%202019-12-08%20at%202.47.59%20AM.png?alt=media\&token=bdfb2385-fed4-4f0f-8282-d7bd6cd43d7b)

Important views, such as the ones seen above, that you’ll see used often include:

* (1) `EditText` for inputting and editing text
* (2) `Button` and other clickable elements for supporting interactive behavior
* (3) `TextView` for displaying text
* (4) `ImageView` for displaying images

In sections 2.4 and 2.5, we will go in depth into two particular views that handle user interactions: input controls and buttons.&#x20;
