android - selector with 9 patch -


i'm try create selector checkbox , replace android:button selector. in selector had 2 9patch image , reason not work good. 9patch images ok. selector code:

<selector android:constantsize="false"   xmlns:android="http://schemas.android.com/apk/res/android">     <item android:state_checked="false"        android:drawable="@drawable/bopen" />      <item android:state_checked="true"       android:drawable="@drawable/bclose" />      <item android:drawable="@drawable/bclose" /> </selector> 

what can ?

second line missing selector state hence might see problem selector, right?


Comments

Popular posts from this blog

android - Spacing between the stars of a rating bar? -

aspxgridview - Devexpress grid - header filter does not work if column is initially hidden -

c# - How to execute a particular part of code asynchronously in a class -