android fragment 관리 @ activity getFragmentManager(), fragment.getFragmentManager()로 프래그먼트 메니저를 받아올 수 있다.@ 편집하고자 하는 프래그먼트는 findFragmentById, findFragmentByTag로 찾을 수 있다. @ 편집 동작은 어디까지나 제거 후 추가이므로, 용량이 클 경우 잠시 사라졌다가 나타날 수 있다. 이를 위해 편집을 하나의 트랜잭션으로 묶어서 제공한다. -FragmentTranscaction beginTransaction()으로 트랜잭션을 얻어온다. 더보기 android google map api http://blog.naver.com/PostView.nhn?blogId=whahyun2&logNo=192793796 더보기 android 메뉴 탭 * In xml, * id ; tabhost, tabs, tabcontent는 건들면 안됨.* framelayout에 구현할메뉴 작성. ---------------------- * in code, 1. TabHost 가져오기 2. tabhost.setup() 3. TabSpec 가져오기. 4. TabSpec = tab 1개. 5. tabspect.setindicator("tab 이름"); 6. tabsetcontent("tab을 채울 content의 id"); 7. tabhost.addtab(tabspect); 더보기 이전 1 ··· 26 27 28 29 30 31 32 ··· 44 다음