본문 바로가기

나 어제 배웠다/Android

(22)
Android Activity Life Cycle ▣ Android Activity Life Cycle(상태 : 메소드) 종류 : ..let, Thread 구체적인 환경 소스의 간결함이 목적 C-S-R-P-S-D 1. 프로젝트 생성 2. main.xml 버튼 추가 <?xml version="1.0" encoding="utf-8"?> <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" android:orientation="vertical" android:layout_width="fill_parent" android:layout_height="f..
Android MessageView-Alert ▣ Android MessageView-Alert 1. main.xml 버튼 추가 <?xml version="1.0" encoding="utf-8"?> <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" android:orientation="vertical" android:layout_width="fill_parent" android:layout_height="fill_parent" > <Button android:id="@+id/b01" android:layout_width="fill_parent" android:layout_height="wrap_content" android:..
Android MessageView-Notification ▣ Android MessageView-Notification 1. 프로젝트 생성 2. main.xml 버튼 추가 <?xml version="1.0" encoding="utf-8"?> <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" android:orientation="vertical" android:layout_width="fill_parent" android:layout_height="fill_parent" > <Button android:id="@+id/b01" android:layout_width="fill_parent" android:layout_..
Android Resources[values]정의 및 사용 방법 ▒ HelloAndroid 프로젝트 생성 후 테스트 ▣ Styles 1. xml 정의 추가 <?xml version="1.0" encoding="UTF-8"?> <resources> <style name="test"> <item name="android:textSize">30sp</item> <item name="android:textColor">#FF0037</item> </style> </resources> 2. main.xml에서 사용 방법 <?xml version="1.0" encoding="utf-8"?> &l..
Android Widget[Component]-AutoCompleteTextView ▣ Android Widget[Component]-AutoCompleteTextView 1. ArrayTest Project 생성 2. main.xml spinner widget 추가 <?xml version="1.0" encoding="utf-8"?> <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" android:orientation="vertical" android:layout_width="fill_parent" android:layout_height="fill_parent" > <Spinner android:id="@+id/s01" android:layout_width="..
Android Widget[Component]-Spinner ▣ Android Widget[Component]-Spinner 1. ArrayTest Project 생성 2. main.xml spinner widget 추가 <?xml version="1.0" encoding="utf-8"?> <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" android:orientation="vertical" android:layout_width="fill_parent" android:layout_height="fill_parent" > <Spinner android:id="@+id/s01" android:layout_width="fill_parent" ..
개발관련 참고 사이트 1. Layout 구성 도구 http://www.droiddraw.org 2. Color 추출 http://www.colorpicker.com/
Android Widget[Component]-ImageView ▣ Android Widget[Component] - ImageView 1. Project 생성 2. main.xml widget 추가 <?xml version="1.0" encoding="utf-8"?> <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" android:orientation="vertical" android:layout_width="fill_parent" android:layout_height="fill_parent"> <ImageView android:id="@+id/iv01" android:layout_width="fill_parent" android:layo..