0
正在檢查此link,link。但它確實解決了我想用Title Tabs替換默認標題和圖標的問題。使用標題標題替換標題欄垂直視圖上的默認設置
// Set up the action bar.
final ActionBar actionBar = getActionBar();
// Specify that the Home/Up button should not be enabled, since there is no hierarchical
// parent.
actionBar.setHomeButtonEnabled(false);
// Specify that we will be displaying tabs in the action bar.
actionBar.setNavigationMode(ActionBar.NAVIGATION_MODE_TABS);
我一直在嘗試一些代碼從上面的鏈接,但我沒有得到我想要的東西。 水平視圖相當好,但對於垂直視圖,它看起來像標籤正在創建另一個標題欄圖層。這與橫向視圖不一樣。在此指導我。謝謝。