안드로이드/View2 [inflate] # inflate 사용.- 참고 : http://aroundck.tistory.com/39 > Inflate 사용 1 :LayoutInflater inflater = (LayoutInflater) getSystemService( Context.LAYOUT_INFLATER_SERVICE ); LinearLayout linearLayout = (LinearLayout) inflater.inflate( R.layout.inflate_example, null ); setContentView( linearLayout ); > Inflate 사용 2:LayoutInflater inflater = LayoutInflater.from( this ); LayoutInflater inflater = getLayoutInf.. 2013. 8. 21. [ListView] 중복 리스트뷰 # http://blog.daum.net/haha25/5387585 에서 퍼왔습니다. private Cursor mTbNoteCursor; private NoteCursorAdapter mAdapter; private ListView mListView; private boolean mReady; @Override public void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.main); mListView = getListView(); mListView.setTextFilterEnabled(true); mListView.setOnScrollListener(this); mIb.. 2013. 8. 21. 이전 1 다음 반응형