I am customizing buttons in the application and some doubts have arisen regarding some attributes.
I'd like to have access to the Android default file and make changes to a copy of it, it would make that much easier.
Where do I see this?
<selector xmlns:android="http://schemas.android.com/apk/res/android">
<item android:state_pressed="true">
<shape
android:shape="rectangle">
<corners
android:bottomLeftRadius="20dp"
android:bottomRightRadius="20dp"
android:topLeftRadius="20dp"
android:topRightRadius="20dp" />
<stroke android:width="1dip"
android:color="#598e96" />
<gradient android:angle="-90"
android:endColor="#7fbac6"
android:startColor="#27646c" />
</shape>
</item>
<item android:state_checked="false">
<shape android:shape="rectangle">
<corners
android:bottomLeftRadius="20dp"
android:bottomRightRadius="20dp"
android:topLeftRadius="20dp"
android:topRightRadius="20dp" />
<stroke android:width="5dip"
/>
<gradient
android:angle="-45"
android:endColor="#707070"
android:startColor="#303030" />
</shape>
</item>
<item android:state_checked="true">
<shape android:shape="rectangle">
<corners
android:bottomLeftRadius="20dp"
android:bottomRightRadius="20dp"
android:topLeftRadius="20dp"
android:topRightRadius="20dp" />
<stroke android:width="5dip"
/>
<gradient
android:angle="-45"
android:endColor="#2020ff"
android:startColor="#000030" />
</shape>
</item>
Today I did this in the hand, but if I wanted to use a file of this to leave the default just like with a change only, I wanted the default. wanted one that would be the default option.