Android -- 自定義標題欄,背景顏色填充滿

設置標題欄背景 1> 準備背景圖片: background_pix.png 注:用背景圖片比用顏色好處,可以讓背景看起來有凹凸感. 2> drawable文件夾下放xml文件 bitmap_repeat.xml <?xml version="1.0" encoding="utf-8"?> <bitmap xmlns:android="http://schemas.android.com/apk/r
相關文章
相關標籤/搜索