ListAdaptaer package com.induk; import androidx.appcompat.app.AppCompatActivity; import android.app.ListActivity; import android.os.Bundle; import android.view.View; import android.widget.ArrayAdapter; import android.widget.ListView; public class MainActivity extends ListActivity { @Override protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); //setContentView..
Android Splash Screen 화면 구현 SplashActivy 만들기 import androidx.appcompat.app.AppCompatActivity; import android.content.Intent; import android.os.Bundle; import android.os.Handler; public class SplashActivity extends AppCompatActivity { @Override protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.activity_splash); Handler hd = new Handle..
onDraw onDraw package com.induk; import android.content.Context; import android.graphics.Canvas; import android.graphics.Color; import android.graphics.Paint; import android.view.View; public class MyView extends View { public MyView(Context context) { super(context); setBackgroundColor(Color.BLUE); } @Override protected void onDraw(Canvas canvas) { Paint paint = new Paint(); paint.setColor(Colo..
RxDialog xml main package com.induk; import androidx.appcompat.app.AppCompatActivity; import android.app.ProgressDialog; import android.os.Bundle; import android.util.Log; import android.view.View; import io.reactivex.rxjava3.android.schedulers.AndroidSchedulers; import io.reactivex.rxjava3.core.Observable; import io.reactivex.rxjava3.core.Scheduler; import io.reactivex.rxjava3.disposables.Dispo..
Android 버튼의 Event 처리 버튼 만들기 버튼을 하나 만들어줍니다. 이벤트 처리 코드 생성 안드로이드 스튜디오에서 간편하게 이벤트 처리 코드를 생성 시켜줌 Toast Toast를 이용한 간단한 메시지 출력 코드 package com.indul; import androidx.appcompat.app.AppCompatActivity; import android.os.Bundle; import android.view.View; import android.widget.Toast; public class MainActivity extends AppCompatActivity { @Override protected void onCreate(Bundle savedInstanceState) { super.on..
안드로이드 테이블 레이아웃/ 상대적 레이아웃 정리 테이블 레이아웃 예제 실행화면 상대적 레이아웃 속성 설명 layout_above 만약 true이면 현재 뷰의 하단을 기준 뷰의 위에 일치시킨다. layout_below 현재 뷰의 상다을 기준 뷰의 하단에 위치시킨다. layout_centerHorizontal 수평으로 현재 뷰의 중심을 부모와 일치시킨다. layout_centerInParent 부모의 중심점에 현재 뷰를 위치시킨다. layout_centerVertical 수직으로 현재 뷰의 중심을 부모와 일치시킨다. layout_toLeftOf 현재 뷰의 우측단을 기준 뷰의 좌측단에 위치시킨다. layout_toRightOf 현재 뷰의 좌측단을 기준 뷰의 우측단에 위치시킨다.
- Total
- Today
- Yesterday
- Swift
- SwiftUI
- Firebase
- UITabBarController
- remote config
- github
- 웹뷰
- gcd
- NavigationLink
- Alamofire
- Apple
- UIButton
- swipe
- LazyHStack
- 문자열
- WebView
- Observable
- Java
- autolayout
- ios
- UIScrollView
- dictionary
- 라이트모드
- subscript
- string
- 다크모드
- Android
- RxSwift
- Realtime Database
- SwiftLint
| 일 | 월 | 화 | 수 | 목 | 금 | 토 |
|---|---|---|---|---|---|---|
| 1 | 2 | 3 | 4 | 5 | 6 | |
| 7 | 8 | 9 | 10 | 11 | 12 | 13 |
| 14 | 15 | 16 | 17 | 18 | 19 | 20 |
| 21 | 22 | 23 | 24 | 25 | 26 | 27 |
| 28 | 29 | 30 | 31 |