0

My listview is transparent. I changed it. But still it has a slight transparency. How to disable it as the text aren't viisble.

<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
    android:layout_width="match_parent"
    android:layout_height="match_parent"
    android:background="@drawable/sportsbg">

<ListView
    android:id="@+id/list"
    android:layout_width="fill_parent"
    android:layout_height="310dp"
    android:layout_alignParentBottom="true"
    android:background="#FFffffff"
    android:divider="@color/lists_divider"
    android:dividerHeight="1dp"
    android:paddingLeft="10dp"
    android:paddingRight="10dp"
    android:paddingTop="0dp" />



</RelativeLayout>
Ruch1234
  • 111
  • 1
  • 11

1 Answers1

2

You can set the background of your listview to

android:background="#FFFFFF"

where as

android:background="#FFffffff"

specifies a alpha.

RyPope
  • 2,645
  • 27
  • 51