Android 更改所选listview项目的颜色

Android 更改所选listview项目的颜色,android,android-listview,Android,Android Listview,我正在我的项目中使用Android的开源软件。问题是,在FileExplorer列表中选择的项目文件显示为高度不可读的灰色。我想定制这个,但看不到任何指定颜色的地方 活动源代码不包含任何颜色管理 下面是列表项的布局: <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" android:layout_width="fill_parent" android:layout_height="fill_

我正在我的项目中使用Android的开源软件。问题是,在FileExplorer列表中选择的项目文件显示为高度不可读的灰色。我想定制这个,但看不到任何指定颜色的地方

活动源代码不包含任何颜色管理

下面是列表项的布局:

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

<ImageView android:layout_alignParentLeft="true" android:id="@+id/fdrowimage"
    android:layout_height="35dp" android:layout_width="wrap_content"
    android:paddingRight="5dp" android:paddingLeft="3dp"></ImageView>
<TextView android:text="@+id/fdrowtext" android:layout_width="wrap_content"
    android:id="@+id/fdrowtext" android:layout_toRightOf="@+id/fdrowimage"
    android:layout_alignTop="@+id/fdrowimage" android:layout_alignBottom="@+id/fdrowimage"
    android:gravity="center_vertical" android:layout_height="35dp"
    android:textSize="23dp"</TextView> 
如果我将android:textColorHighlight和自定义颜色添加到TextView,则不会产生任何效果。如果我添加android:textColor,它会工作,但会更改所有项目的文本颜色,这不是我需要的


另外,我在strings.xml中看到了一个奇怪的灰色,但更改此值也不会产生效果。

您可能想看看这里:@blacharnia:谢谢,我知道选择器。我想了解的是,在没有任何选择器的情况下,所选项目的颜色变化通常是如何在listview中工作的?这些颜色是从哪里来的?可以说,有没有办法“就地”改变它们?我更喜欢使用最有效的最小努力,在现有方法中没有变通方法。项目中没有选择器,在没有选择器的情况下,项目选择时的颜色更改已经可以工作了,并且我想要更改的只是所选颜色本身的值的情况下,它们可能看起来有点人造。