//실행아이콘변경
manifest-AndroidManifest.xml
android:icon="@mipmap/ic_launcher"
->android:icon="@drawable/james"
// activity_main.xml 전체 코드
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_widht="match_parent"
android:layout_height="match_parent"
android:background="@drawable/maxim"
android:orientation="vertical">
<TextView
android:layout_widht="wrap_content"
android:layout_height="wrap_content"
android:textSize="30dp"
android:text="Hello World"
/>
<Botton
android:layout_widht="wrap_content"
android:layout_height="wrap_content"
android:text="Hello World"
/>
<ImageView
android:layout_widht="wrap_content"
android:layout_height="wrap_content"
android:src="@drawable/james"
/>
</LinearLayout>
//화면 가로로 설정
// 뷰들을 수직으로 배치
android:orientation="vertical"
//이미지뷰 속성 src
andoroid:src="@drawable/maxim"
-> @이미지가 있는 주소 의미
<androidx.constraintlayout.widget.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="match_parent"
tools:context=".MainActivity">
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="Hello World!"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintLeft_toLeftOf="parent"
app:layout_constraintRight_toRightOf="parent"
app:layout_constraintTop_toTopOf="parent" />
</androidx.constraintlayout.widget.ConstraintLayout>