mirror of
https://github.com/szkolny-eu/szkolny-android.git
synced 2025-03-25 18:30:00 +01:00
10 lines
662 B
XML
10 lines
662 B
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<!-- This will be the drawable used on API < 21 -->
|
|
<!-- Obviously you can specify here whatever you want -->
|
|
<!-- like activated states, animated states, shapes, pngs, whatever like any other drawable-->
|
|
<!-- I've just put 2 states (pressed,focused) using the same color than the v21 ripple -->
|
|
<selector xmlns:android="http://schemas.android.com/apk/res/android">
|
|
<item android:drawable="@drawable/bs_item_background_base" android:state_focused="true"/>
|
|
<item android:drawable="@drawable/bs_item_background_base" android:state_pressed="true"/>
|
|
<item android:drawable="@android:color/transparent"/>
|
|
</selector> |