mobile106 Android - Listview choiceMode # Android - Listview choiceMode : android, Listview, choiceMode ```java package exam.Widget; import android.app.*; import android.graphics.drawable.*; import android.os.*; import android.widget.*; import exam.AndroidExam.*; public class ListAttr extends Activity { public void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.widget_listtest); Array.. 2019. 10. 4. Android - ListView from Array # Android - ListView from Array : android, ListView, Array ```java package exam.Widget; import android.app.*; import android.os.*; import android.widget.*; import exam.AndroidExam.*; public class ListFromArray extends Activity { public void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.widget_listtest); ArrayAdapter Adapter; Adapter = ArrayAdap.. 2019. 10. 3. Android - ListView # Android - ListView : android, ListView ```java package exam.Widget; import java.util.*; import android.app.*; import android.os.*; import android.widget.*; import exam.AndroidExam.*; public class ListTest extends Activity { public void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.widget_listtest); //* 데이터 원본 준비 ArrayList arGeneral = new Arra.. 2019. 10. 2. Android - ImageButton # Android - ImageButton : android, ImageButton ```java package exam.Widget; import android.app.*; import android.os.*; import android.view.*; import android.widget.*; import exam.AndroidExam.*; public class ImageButtonTest extends Activity { public void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.widget_imagebuttontest); ImageButton imgbtn = .. 2019. 10. 1. Android - RadioButton # Android - RadioButton : android, RadioButton ```java package exam.Widget; import android.app.*; import android.graphics.*; import android.os.*; import android.widget.*; import exam.AndroidExam.*; public class RadioTest extends Activity implements RadioGroup.OnCheckedChangeListener, CompoundButton.OnCheckedChangeListener { private ToggleButton mTogBtn; public void onCreate(Bundle savedInstanceS.. 2019. 9. 30. Android - show hide keyboard # Android - show hide keyboard : android, show hide keyboard ```java package exam.Widget; import android.app.*; import android.os.*; import android.view.*; import android.view.inputmethod.*; import android.widget.*; import exam.AndroidExam.*; public class ShowHideKey extends Activity { InputMethodManager mImm; EditText mEdit; public void onCreate(Bundle savedInstanceState) { super.onCreate(saved.. 2019. 9. 29. 이전 1 ··· 4 5 6 7 8 9 10 ··· 18 다음