[英]How to add background in the 2-pane preference screen?
in my app, i made a 2 pane preference screen following the API Demos examples. 在我的应用程序中,我按照API演示示例创建了一个2窗格的首选项屏幕。 but i am not getting any background for the header pane.
但是我没有任何标题窗格的背景。 it is totally transparent.
它是完全透明的。 do i need to add
imagebuttons
for the headers? 我是否需要为标题添加
imagebuttons
?
I am not familiar with Honeycomb but I assume View subclasses will have the XML attribute background
, or setBackgroundResource(int)
. 我不熟悉Honeycomb,但我认为View子类将具有XML属性
background
或setBackgroundResource(int)
。 Check to see if you can get the view/layout of the header pane to add a background to it. 检查是否可以获取页眉窗格的视图/布局以为其添加背景。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.