Now Lets Start with the Basic of First Android Program Hello World! in Android Studio.
Setp-1
Open Android Studio
Step -2
New > New Project > Empty Activity
Step 3 -
Change Project Name to Anything Suitable for you then click on Finish.
Wait for Gradle Build & Gradle Configuration. Then Open activity_main.xml then
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="Hello World!"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toTopOf="parent" />
Change
androi:text="Hellow World!" to any thing this is our first Program in Android Studio.
.
.
.
In next Blog I tell you about how this XML code works.
Comments
Post a Comment
if you have any doubts, feel free to comment