aboutsummaryrefslogtreecommitdiffstats
path: root/samples/drawable/button_bg.xml
blob: dd54065ffa8e63a8dba1aee791876e06a497dfcf (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
<?xml version="1.0" encoding="utf-8"?>
<selector xmlns:android="http://schemas.android.com/apk/res/android">
    <item android:state_pressed="true">
    	<shape android:shape="rectangle">
    		<gradient
    			android:startColor="#111"
    			android:endColor="#000"
    		/>
		</shape>
	</item>
    <item>
   		<shape android:shape="rectangle">
  			<gradient
  				android:startColor="#111"
    			android:endColor="#222"
    		/>
		</shape>
	</item>
</selector>