apps-android-commons/app/src/main/res/drawable/button_background_selector.xml
Dmitry Brant 91f3f2e505 Fix possible crashes due to misplaced vector drawables. (#1894)
Vector drawables do *not* belong in dpi-specific subfolders. They should
always be placed in the general "res/drawable" folder. This can actually
cause crashes on certain devices.
2018-09-10 18:19:08 +10:00

11 lines
No EOL
398 B
XML

<?xml version="1.0" encoding="utf-8"?>
<selector xmlns:android="http://schemas.android.com/apk/res/android">
<item
android:state_pressed="true"
android:drawable="@color/pressed_button_light" />
<item
android:state_focused="true"
android:drawable="@color/focused_button_light"
/>
<item android:drawable="@android:color/transparent" />
</selector>