2013-01-21 21 views
0

我有一个活动与ListView.I想设置为一个简单的白色图片在右下角有一个标志的背景。我的问题是,当我设置为背景图片它有点'坐在'我的listView.Making的TextViews似乎褪色。如何有效地添加背景没有这些副作用?感谢您的时间。在活动中添加背景使我的视图看起来褪色

编辑:

<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" 
android:layout_width="fill_parent" 
android:layout_height="fill_parent" 
android:background="@drawable/bg"> 


<dragNDropAdapter.DragNDropListView 
    android:id="@+id/android:list" 
    android:layout_width="fill_parent" 
    android:layout_height="wrap_content"> 

</dragNDropAdapter.DragNDropListView> 

</RelativeLayout> 
+0

你在ListView上设置背景吗?如果是这样,如果你将它设置为ListView父级的背景,那该怎么办? (如果您从布局文件中提供屏幕截图或代码片段,通常可以更容易地解决这些问题。) – Karakuri

+0

不,我将它设置为布局的背景,也就是listView的父项。我将在一分钟后发布xml: ) – Libathos

回答

0

看跌的ImageView &列表视图中相对布局。 为要放置图像的位置和列表设置属性。