Revision control
Copy as Markdown
<?xml version="1.0" encoding="utf-8"?>
<item android:state_focused="true">
<layer-list>
<item android:width="120dp">
<shape>
<gradient
android:startColor="#00000000"
android:endColor="@color/void_color" />
<corners android:topRightRadius="20dp" android:bottomRightRadius="20dp"/>
</shape>
</item>
</layer-list>
</item>
<item android:state_focused="false">
<layer-list>
<item android:width="120dp">
<shape>
<gradient
android:startColor="@android:color/transparent"
android:endColor="@color/asphalt" />
<corners android:topRightRadius="20dp" android:bottomRightRadius="20dp"/>
</shape>
</item>
</layer-list>
</item>
<item>
<shape>
<gradient
android:type="linear"
android:angle="0"
android:startColor="#00000000"
android:endColor="@color/asphalt" />
</shape>
</item>
</selector>