プロジェクトでAndroid用のFileExplorerライブラリ(オープンソース)を使用しています。問題は、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>
TextViewにカスタムカラーで追加android:textColorHighlight
しても効果がありません。を追加するandroid:textColor
と機能しますが、すべてのアイテムのテキストの色が変わります。これは必要なものではありません。
また、strings.xmlに灰色の奇妙な言及がありますが、この値を変更しても効果はありません。