How to highlight ImageView when focused or clicked?
You need to assign the src attribute of the ImageView a state list drawable. In other words, that state list would have a different image for selected, pressed, not selected, etc. – that’s how the Twitter App does it. So if you had an ImageView: <ImageView style=”@style/TitleBarLogo” android:contentDescription=”@string/description_logo” android:src=”https://stackoverflow.com/questions/4185930/@drawable/title_logo” /> The src drawable (title_logo.xml) would … Read more