ImageView that changes it's image color depending on the state (pressed, selected...)
<com.yuxingxin.library.TintStateImage
android:id="@+id/selected_state"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
app:colorStateList="@drawable/bg_radio_btn_style"
android:src="proxy.php?url=https%3A%2F%2Fgithub.com%2F%40mipmap%2Fic_home_black_24dp"
/>
Then
TintStateImage selectedImage = (TintStateImage)findViewById(R.id.selected_state);
selectedImage.setSelected(true);
