Skip to content

Commit eeeb2eb

Browse files
Adding layout resources
1 parent 6ff75d3 commit eeeb2eb

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

articles/active-directory/develop/tutorial-v2-android.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -800,7 +800,7 @@ Follow these steps to create a new project if you don't already have an Android
800800
801801
### Layout
802802

803-
The following xml samples are provided if you would like to model your UI off this tutorial:
803+
A layout is a file that defines the visual structure and appearance of a user interface, specifying the arrangement of UI components. It is usually written in XML. The following XML samples are provided if you would like to model your UI off this tutorial:
804804

805805
1. In **app** > **src** > **main**> **res** > **layout** > **activity_main.xml**. Replace the content of **activity_main.xml** with the following code snippet to display buttons and text boxes:
806806

@@ -1284,6 +1284,9 @@ The following xml samples are provided if you would like to model your UI off th
12841284
</resources>
12851285
```
12861286

1287+
1288+
Declaring your UI in XML allows you to separate the presentation of your app from the code that controls its behavior. To learn more about Android layout, see [Layouts](https://developer.android.com/develop/ui/views/layout/declaring-layout)
1289+
12871290
## Test your app
12881291

12891292
### Run locally

0 commit comments

Comments
 (0)