I am trying to change text color of a TextView inside a listview item.

```
listView.setOnItemClickListener(new AdapterView.OnItemClickListener() {
            @Override
            public void onItemClick(AdapterView<?> parent, View view, int position, long id) {
                view.setSelected(true);

               ViewGroup selectedGroup = (ViewGroup)view;

                ((TextView)selectedGroup.getChildAt(4)).setTextColor(Color.parseColor("#336699"));
                String mID =String.valueOf(((TextView) selectedGroup.getChildAt(4)).getText());
            }
        });

```

But nothing happens, I can get text value of the textview, though. What might be wrong in this code?

This is, by the way, my listView layout.

```
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
    android:orientation="vertical" android:layout_width="fill_parent"
    android:layout_height="fill_parent"
    android:padding="4dp">
    <TextView
        android:layout_width="fill_parent"
        android:layout_height="fill_parent"
        android:textColor="#336699"
        android:id="@+id/questionTitle"
        android:textSize="18sp"/>
    <TextView
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        android:textColor="#444444"
        android:id="@+id/questionDate"
        android:textSize="12sp"/>
    <TextView android:layout_height="0dp" android:layout_width="0dp" android:visibility="invisible"
        android:id="@+id/questionContent" android:value=""/>
    <TextView android:layout_height="0dp" android:layout_width="0dp" android:visibility="invisible"
        android:id="@+id/questionSenderContact" android:value=""/>
    <TextView android:layout_height="0dp" android:layout_width="0dp" android:visibility="invisible"
              android:id="@+id/messageID" android:value=""/>

</LinearLayout>

```

**EDIT:** I was getting wrong textview. Index of it was not 4, but 0. Sorry for a question caused by lack of attention.