코리아 IT아카데미/android21 8일차 | 디자인패턴, 프래그먼트 만들어 보기 https://developer.android.com/guide/components/fragments?hl=ko 프래그먼트 | Android 개발자 | Android Developers A Fragment represents a behavior or a portion of user interface in an Activity. You can combine multiple fragments in a single activity to build a multi-pane UI and reuse a fragment in multiple activities. You can think of a fragment as a modular section developer.android.com - xml 에서 생성하는 방법 .. 2022. 2. 28. 7일차 | 시크릿 다이어리, 만든 앱 폰으로 보기 activity_main2.xml Main_Activity2.java package com.example.mysecretdiaryapp; import androidx.appcompat.app.AlertDialog; import androidx.appcompat.app.AppCompatActivity; import android.content.Intent; import android.graphics.Color; import android.os.Bundle; import android.util.Log; import android.widget.Button; import android.widget.NumberPicker; import android.widget.Toast; public class MainActi.. 2022. 2. 22. 6_1일차 | 로또 번호 생성기 activity_lotto.xml round_background1.xml MainActivity.java package com.example.myapp6_1; import android.graphics.drawable.Drawable; import android.os.Bundle; import android.util.Log; import android.view.View; import android.widget.Button; import android.widget.NumberPicker; import android.widget.TextView; import android.widget.Toast; import androidx.appcompat.app.AppCompatActivity; import androi.. 2022. 2. 22. 6일차 | BMI 계산기 완성, 아이콘 생성, values폴더 변경 app:startIconDrawable="@drawable/ic_baseline_favorite_24" activity_main.xml activity_result.xml tool_bar.xml MainActivity.java package com.example.myapp6; import androidx.appcompat.app.AppCompatActivity; import android.content.Intent; import android.os.Bundle; import android.util.Log; import android.widget.Button; import android.widget.EditText; import android.widget.Toast; public class MainActi.. 2022. 2. 22. 이전 1 2 3 4 5 6 다음