2017-01-07 78 views
1

我沒有實際的代碼,因爲我還沒有開始處理它。我想要一個背景圖像始終出現在我的應用程序上,我想覆蓋它上面的一個webview(網頁視圖將沒有背景顏色,只有幾個按鈕說,例如登錄&註冊等)。我有什麼選擇完成這件事? 如果我含糊不清,請告訴我。將圖像覆蓋在圖像視圖上

+0

'webView.setBackgroundColor(Color.TRANSPARENT);'會幫助你 –

回答

2

設置你的形象作爲其研究背景

mWebview.setBackgroundResource(R.drawable.amanda); 
mWebview.setBackgroundColor(0x00000000); // change this as you need 

enter image description here enter image description here

+0

掃清事情。非常感謝 – TradeRaider

+0

@TradeRaider歡迎您 –