1
를 중앙에 있지, 활동은 플래그 안드로이드가 : 액션 바의 항목이 화면 항목의 맨 아래에있는 XML 파일에 설명되어 있습니다, 그래서 uiOptions = "splitActionBarWhenNarrow을"ActionBarSherlock의 좁은 항목 내가 ActionBarSherlock의 라이브러리를 사용하고
후<menu xmlns:android="http://schemas.android.com/apk/res/android">
<item android:id="@+id/menu_0"
android:title="@string/action_0"
android:showAsAction="always"/>
<item android:id="@+id/menu_1"
android:title="@string/action_1"
android:showAsAction="always"/>
<item android:id="@+id/menu_2"
android:title="@string/action_2"
android:showAsAction="always"/>
</menu>
내가 안드로이드 2.3 장치에서 메뉴를
public boolean onCreateOptionsMenu(Menu menu) {
menu.clear();
MenuInflater supportMenuInflater = getSupportMenuInflater();
supportMenuInflater.inflate(R.menu.inbox_conversation, menu);
return super.onCreateOptionsMenu(menu);
}
팽창하고있어, 메뉴 항목은 처음 두 옵션은 작업 표시 줄,763의 약 80 %의 백분율을 같은 무게를 가지고 있지 않습니다최신 버전은 20 % 만 사용하므로 제대로 정렬되지 않았습니다. &은 동일한 공간을 사용하지 않습니다. 할 일을 모릅니다. 어떤 제안? 많은 감사!