일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |
- #1차원배열
- #android activity
- html code
- #binary
- html charset
- html object
- #다차원포인터
- 토큰경제
- html multimedia
- #CallByAddress
- #C++ has~a
- #bubbleSort
- hyperledger transaction
- #3차원배열
- #JAVASCRIPT
- mac terminal command
- html5 new tag
- #자바상속#자바이즈어#is~a
- html plug-in
- docker example
- relative path
- html youtube
- git flow
- border-box
- #C++ 연산자함수오버로딩
- #성적관리프로그램
- html video
- 하이퍼레저패브릭
- html id
- #2차원배열
- Today
- Total
목록Android Studio (21)
A sentimental robot
public class MainActivity extends AppCompatActivity { @Override protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.activity_main); Spinner spinner=(Spinner)findViewById(R.id.spinner); //스피너에 들어갈 데이터(item) 만들기 String []str=new String[]{"ti1","ti2","ti3","ti4"}; //adapter 생성 ArrayAdapteraa=new ArrayAdapter(this, android.R.layout.simple_..
xml version="1.0" encoding="utf-8"?>LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:tools="http://schemas.android.com/tools" xmlns:app="http://schemas.android.com/apk/res-auto" android:layout_width="match_parent" android:layout_height="match_parent" android:orientation="vertical" android:weightSum="1" android:background="#aaaaaa" tools:con..
public void f1(View view) { switch (view.getId()) { case R.id.button01: Log.v("eun", "BUTTON1"); break; case R.id.button02: Log.v("eun", "BUTTON2"); break; case R.id.button03: Log.v("eun", "BUTTON3"); break; default: break; } }
View.OnClickListener on=new View.OnClickListener() { @Override public void onClick(View v) { Toast.makeText(MainActivity.this, "hihi", Toast.LENGTH_SHORT).show(); } }; Button button01=findViewById(R.id.button01); button01.setOnClickListener(on); Button button01=findViewById(R.id.button01); button01.setOnClickListener(new View.OnClickListener() { @Override public void onClick(View v) { Toast.make..
SDK Software Development Kit : class(tool) 제공 JDK Java Development Kit Configure Activity Android consists of ..... Coding (Programming) 소스파일 이름 MainActivity( .java ) 확장자 생략 Design 1) Text -> activity_main( _xml ) 2) Design ( palette에서 드래그 ) The path that Android projects stored 내 컴퓨터 > C드라이브 > 사용자 > AndroidStudioProjects > MyApplication Font size File > settings > wheel 검색 > Change font size ( ..