0
슬라이딩 메뉴의 제목 표시 줄을 변경하는 방법을 알지 못합니다. 아이콘, 배경색 또는 이미지와 같은 방법으로 내 레이아웃 파일을 사용할 수 있습니까?SlidingMenu의 제목 표시 줄을 변경하는 방법
LayoutInflater inflator = (LayoutInflater)this.getSystemService(Context.LAYOUT_INFLATER_SERVICE);
View v1 = inflator.inflate(R.layout.titleview, null);((TextView)v1.findViewById(R.id.title)).setText("hello title");
this.getSupportActionBar().setCustomView(v1);
그러나 나는 활동의 onCreate
방법에
setTitle 메서드는 텍스트 용이지만 제목 표시 줄의 아이콘과 배경 무늬 이미지를 변경하려고합니다. – qinyifeng
slidingMenu와 ActionBarSherlock을 결합하여이 페이지를 봅니다. http://actionbarsherlock.com/theming.html – Lin