안드로이드 개발 질문/답변
(글 수 45,052)
requestWindowFeature(Window.FEATURE_CUSTOM_TITLE);
setContentView(R.layout.tabmenu);
is_tab1=true;
getWindow().setFeatureInt(Window.FEATURE_CUSTOM_TITLE, R.layout.custom_title);
ViewGroup v = (ViewGroup) findViewById(R.id.custom_layout).getParent().getParent();
v = (ViewGroup)v.getChildAt(0);
v.setPadding(0, 0, 0, 0);
setContentView(R.layout.tabmenu);
is_tab1=true;
getWindow().setFeatureInt(Window.FEATURE_CUSTOM_TITLE, R.layout.custom_title);
ViewGroup v = (ViewGroup) findViewById(R.id.custom_layout).getParent().getParent();
v = (ViewGroup)v.getChildAt(0);
v.setPadding(0, 0, 0, 0);
custom_title.xml 에는 이미지가 잇는데
위 소스를 기존버전에선 제목표시줄 전체에 custom_title.xml이 공백없이 다 차지 햇엇는데
근데 아이스크림 버전에서는 왼쪽,오른쪽에 공백이 남는데 뭔가 잘못되엇나요?
xml도 마진 부분을 0으로 모두 줫는데도 안되네요 ㅜ




혹시 해결 되시면 저도 알려주세요...^^;;;
저는 layout 전체가 짤리네요...ㅠㅠ