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? -

c++ - How to modify context menu of internet explorer using IDocHostUIHandler::ShowContextMenu? -

c# - Asterisk click to call -