First Android Application
Create a new Android project :
Let’s switch on the “graphocal layout ” view of our project
And insert a button by clikking it on the left side of the “Graphical layout”,
now if you switch to main.xml file you can see that we have two elements “TextView” and “button” that is contained inside “LinearLayout”.
now we add some attributes to this elements, on “TextView” adds an element “android:id=”@+id/output””, and on “button”, change the “android:text=”myButton”” and the “android:id=”@+id/pressButton”.