ติดต่อลงโฆษณา racingweb@gmail.com

ผู้เขียน หัวข้อ: Let's understand Android development with help of this simple project.  (อ่าน 1431 ครั้ง)

0 สมาชิก และ 1 บุคคลทั่วไป กำลังดูหัวข้อนี้

ออฟไลน์ lookme

  • New Member
  • *
  • กระทู้: 7
    • ดูรายละเอียด
Let's understand Android development with help of this simple project.

Step 1 :  Launch Android Studio and start a new project(File -> New -> New Project).



Step 2 : Write name of your new Project and then click finish.



Step 3 : After some processing, Android Studio opens the IDE.



Step 4 :  First be sure the Project window is open (select View > Tool Windows > Project) and the Android view is selected from the drop-down list at the top of that window.

Step 5: We will make a simple application in which " On clicking on a button, you will see your name with a star image "



Step 6 : Now change the following attributes in TextView and ImageView.

Step 7 : Moving ahead you have to do some coding in MainActivity.java 👨‍💻 Define and initialize the button, TextView and ImageView.



Step 8 :  Write this piece of code inside OnCreate Method

read more : slotxo