最新回答 / Kevin輕舞飛揚
這塊<android.support.v7.widget.Toolbar? ? ? ?????</android.support.v7.widget.Toolbar>你是不是引用錯了呀?應該引用的是你自定義的<com.example.mytopbar.Topbar??</com.example.mytopbar.Topbar>而不是系統自帶的。
2016-09-24
最新回答 / Kevin輕舞飛揚
leftBackground和rightBackground是drawable類型,你這塊直接給了int類型。你可以在drawable文件夾中放置圖片或者定義drawable資源文件來實現
2016-08-29