次のようなボタンがあります。
<Button
android:id="@+id/button"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:background="@android:color/transparent"
android:text="Button"
android:textColor="@color/my_gray" />
ボタンを押すと、テキストの色が濃い灰色 (「これは既に押されています」の色) に変わります。これを防ぐにはどうすればよいですか?ボタンを押すとbutton.setTextColor(R.color.my_gray);
色がリセットされますが、効果はありません。