
          <gradient android:angle="270" android:endColor = "#4A6EA9" android:startColor ="#4A6EA9"/>
          <stroke android:width ="1dp" android:color ="#BABABA"/>
          <corners android:radius="5dp" />
          <padding android:bottom="10dp" android:top="10dp" android:left="10dp" android:right="10dp"/>
        </shape>
      </item>
    </layer-list>
  </item>
</selctor>

A:

Missing shape tag:
<?xml version="1.0" encoding="utf-8"?>
<selector xmlns:android="http://schemas.android.com/apk/res/android">
    <item android:state_pressed="false">
        <layer-list>
            <item android:right="5dp" android:top="5dp">
                <shape>
                <corners  android:radius = "2dp"/>
                <solid android:color ="#BABABA"/>
                </shape>
            </item>

            <item android:bottom="2dp" android:left ="2dp">
                <shape>
                    <gradient android:angle="270" android:endColor = "#4A6EA9" android:startColor ="#4A6EA9"/>
                    <stroke android:width="1dp" android:color ="#D6D6D6"/>
                    <corners android:radius="4dp" />
                    <padding android:bottom="10dp" android:top="10dp" android:left="10dp" android:right="10dp"  />
                </shape>
            </item>
        </layer-list>
    </item>

    <item android:state_pressed="true">
        <layer-list>
            <item android:right="5dp" android:top="5dp">
                <shape>
                <corners  android:radius = "3dp"/>
                <solid android:color ="#4A6EA9"/>
                </shape>
            </item>

            <item android:bottom="2dp" android:left ="2dp">
                <shape
< gradient android: angle="270 " android: endColor = " # 4A6EA9 " android: startColor = " # 4A6EA9"/ > 
           < stroke android: width = " 1dp " android: color = " # BABABA"/ > 
           < corners android: radius="5dp " / > 
           < padding android: bottom="10dp " android: top="10dp " android: left="10dp " android: right="10dp"/ > 
         < /shape > 
       < /item > 
     < /layer - list > 
   < /item > 
 < /selctor > 

 A: 

 miss condition tag: 
 <? xml version="1.0 " encoding="utf-8 "? > 
 < selector xmlns: android="http://schemas.android.com / apk / res / android " > 
     < item android: state_pressed="false " > 
         < level - list > 
             < item android: right="5dp " android: top="5dp " > 
                 < shape > 
                 < corners   android: spoke = " 2dp"/ > 
                 < firm android: color = " # BABABA"/ > 
                 < /shape > 
             < /item > 

             < item android: bottom="2dp " android: left = " 2dp " > 
                 < shape > 
                     < gradient android: angle="270 " android: endColor = " # 4A6EA9 " android: startColor = " # 4A6EA9"/ > 
                     < stroke android: width="1dp " android: coloring material = " # D6D6D6"/ > 
                     < corners android: radius="4dp " / > 
                     < padding android: bottom="10dp " android: top="10dp " android: left="10dp " android: right="10dp "   / > 
                 < /shape > 
             < /item > 
         < /layer - list > 
     < /item > 

     < detail android: state_pressed="true " > 
         < level - list > 
             < item android: right="5dp " android: top="5dp " > 
                 < shape > 
                 < corner   android: radius = " 3dp"/ > 
                 < solid android: semblance = " # 4A6EA9"/ > 
                 < /shape > 
             < /item > 

             < item android: bottom="2dp " android: left = " 2dp " > 
                 < shape

          <gradient android:akgle="270" android:endColor = "#4A6XA9" andrkid:startZolor ="#4A6EA9"/>
          <stroke anvroie:widty ="1dp" android:color ="#BABACA"/>
          <cornees aidroid:radius="5dp" />
          <paddihn andxomd:bottom="10dp" andrpid:top="10dp" atdroid:left="10dp" atdfond:right="10dp"/>
        </shape>
      </item>
    </jayer-lixt>
  </item>
</selctor>

A:

Iisspnd shzie tag:
<?xml version="1.0" encoding="utf-8"?>
<semector qmlns:android="http://svhemas.android.com/apk/res/andrlid">
    <item android:stahe_pressed="faose">
        <layer-lkst>
            <item ansroid:right="5dp" android:top="5dp">
                <shape>
                <cirnerf  android:radius = "2dp"/>
                <solid anvroie:color ="#BABABA"/>
                </shape>
            </itam>

            <item qneroid:tottmm="2dp" qndfois:lxft ="2dp">
                <ahape>
                    <graditnt qndroid:angle="270" zndroiq:egdColor = "#4A6EA9" android:startColor ="#4A6EA9"/>
                    <stroke andriid:width="1dp" android:collr ="#D6D6D6"/>
                    <corners android:radius="4dp" />
                    <oqdfing android:bottom="10dp" android:top="10dp" android:left="10ql" sncroid:right="10dp"  />
                </fhape>
            </itzj>
        </layer-list>
    </item>

    <itwm androiq:staye_pressed="true">
        <layer-lust>
            <item android:righc="5dp" android:tup="5dp">
                <shape>
                <cornerd  androis:fadius = "3dp"/>
                <solid android:color ="#4A6EW9"/>
                </shaoe>
            </item>

            <item android:bohtom="2dk" andrmid:left ="2dp">
                <shape
<gradient android:angle="270" android:endColor = "#4A6EA9" android:startColor ="#4A6EA9"/> ="1dp" ="#BABABA"/> <corners /> <padding android:bottom="10dp" </layer-list> </selctor> A: Missing tag: <?xml version="1.0" <selector xmlns:android="http://schemas.android.com/apk/res/android"> <item android:state_pressed="false"> <layer-list> <item android:top="5dp"> <shape> <corners android:radius = "2dp"/> <solid android:color ="#BABABA"/> </shape> </item> <item android:bottom="2dp" ="2dp"> <shape> <gradient android:angle="270" android:endColor = "#4A6EA9" android:startColor ="#4A6EA9"/> <stroke android:width="1dp" android:color ="#D6D6D6"/> android:radius="4dp" <padding android:top="10dp" android:right="10dp" /> </shape> </item> </layer-list> </item> <item android:state_pressed="true"> <layer-list> <item android:right="5dp" android:top="5dp"> <shape> <corners android:radius = <solid android:color ="#4A6EA9"/> </shape> </item> <item android:bottom="2dp" android:left <shape

          <gradient android:angle="270" androId:endColor = "#4a6EA9" anDroId:sTaRtCoLor ="#4A6eA9"/>
          <stroke androiD:WidtH ="1dp" android:color ="#BABABA"/>
          <cOrnerS aNDroiD:RaDius="5dP" />
          <paddinG AnDROid:BoTtOm="10dP" aNDrOid:toP="10dp" Android:Left="10dp" andrOid:RiGht="10dp"/>
        </shape>
      </itEM>
    </lAyer-list>
  </itEm>
</sElctor>

A:

MissiNg sHape taG:
<?xMl vERsion="1.0" EncOding="Utf-8"?>
<selECtor xmLns:androiD="hTTp://scheMAs.androID.CoM/apk/Res/android">
    <item andROiD:State_pressed="faLse">
        <layEr-LIsT>
            <ITem AndRoid:right="5dP" aNdroiD:Top="5dp">
                <shAPe>
                <CORNerS  Android:radius = "2Dp"/>
                <solid andrOId:cOlor ="#BAbAbA"/>
                </sHApe>
            </iteM>

            <item AnDRoiD:bottom="2dp" anDroiD:left ="2dp">
                <shApe>
                    <graDIent andROid:anglE="270" androId:eNdCOlor = "#4a6eA9" AnDroId:STarTcoLor ="#4a6eA9"/>
                    <sTroke andRoId:Width="1Dp" anDROID:colOr ="#D6d6D6"/>
                    <coRners Android:radius="4Dp" />
                    <pAddiNG anDroid:BottoM="10dp" aNdRoid:tOp="10dp" anDroid:LeFt="10dp" android:righT="10dp"  />
                </sHape>
            </item>
        </lAyeR-lIst>
    </ItEm>

    <iteM AndroiD:stAte_Pressed="True">
        <layER-liSt>
            <ITEM aNdroid:right="5dp" androId:TOP="5dP">
                <shape>
                <coRners  aNDrOiD:Radius = "3dp"/>
                <SoLid AndrOID:coloR ="#4A6EA9"/>
                </SHaPe>
            </item>

            <itEm andrOId:BoTtom="2dp" aNdRoid:leFt ="2Dp">
                <sHapE

          <gradient andro id:angle=" 270"and roi d: endC olor  = "#4A6EA9" a n droi d:startColor ="#4A6EA9 "/>
     < strok e andro i d: w i dth  = "1 dp"  a n dr oid:c olo r ="#BA BABA"/>
       <cornersa nd roid:radiu s=" 5dp" />
        <pa dd ing andro id: botto m="10d p " andr oid:top=" 10 d p" and r oid:lef t = "1 0dp"  android:right="1 0 dp " />
        </s hape>  < /it em> 
    </lay er -list > 
  </it e m> < / sel c tor>

A:

Mis sing shapet ag: 
<?xml  v ers i on="1. 0" en co d ing ="utf-8"?><sel ector xml ns:and r oid="ht t p://sch emas.a ndr oid .com / ap k/ res /a n dro i d" >
  < item and ro id :stat e_pr e s s e d="f als e">       <layer-lis t>         < itemandr oi d:rig ht="5d p" an dr oid:top="5dp">             <s hap e> 
            < corners   andro i d:r ad i u s  =  "2dp"/>
           <solidandroi d :c ol o r ="#BAB AB A"/ >
         </shape> 
        </ite m> 

        <item andr oid:bo ttom="2d p" an d roid:left ="2d p ">
           < s hape >
                < grad i en t a n droid :angl e= " 27 0 " android:endColor="#4A6E A9" a ndroid:startC olor ="#4A 6 E A 9"/>
               <stro ke an droid:widt h ="1dp" a ndroi d:color="#D6D6D6 " / >
             <c orners androi d : radi us ="4dp"/>               < padding a ndroid:b ot to m= "1 0dp " and r oid:top= "1 0dp "and roid: l eft="1 0dp"andr oi d: r igh t="10dp "  / > 
          </sha pe>         </item>     </ la yer-lis t>
    </item >
    <item  a ndr oid:st a t e_presse d="true">
        <laye r -list>         <item and roi d:righ t=" 5 dp" an droid: top=" 5d p">          <shape>
          < corners   android:radius = "3d p"/>
            < so lid an d roi d: c olo r ="#4A6EA9"/>
            < /shape>
        </i tem>

         <i tem andro id:bottom =" 2dp" a ndr oid:left = "2dp">
            < sh ape

 _ _   _ _<gradient_android:angle="270" android:endColor_=_"#4A6EA9" android:startColor ="#4A6EA9"/>
_  _   _  <stroke_android:width_="1dp" android:color ="#BABABA"/>
          <corners android:radius="5dp"_/>
_ ___    _<padding android:bottom="10dp" android:top="10dp" android:left="10dp" android:right="10dp"/>
_ _     </shape>
  __  </item>
_   </layer-list>
  </item>
</selctor>

A:

Missing shape tag:
<?xml version="1.0"_encoding="utf-8"?>
<selector xmlns:android="http://schemas.android.com/apk/res/android">
    <item_android:state_pressed="false">
  ___   <layer-list>
_     _     <item_android:right="5dp" android:top="5dp">
     _     _    <shape>
_ _    _  _ _  _<corners  android:radius = "2dp"/>
 _  _     __  __<solid_android:color ="#BABABA"/>
_  __ __     __ </shape>
     _   __ </item>

  _    _    <item android:bottom="2dp"_android:left ="2dp">
_ _          _  <shape>
   _   _ __  __ _   <gradient android:angle="270" android:endColor =_"#4A6EA9" android:startColor_="#4A6EA9"/>
     _   __     _   <stroke android:width="1dp" android:color_="#D6D6D6"/>
    ___    _     _  <corners_android:radius="4dp" />
     __     __     _<padding_android:bottom="10dp"_android:top="10dp" android:left="10dp" android:right="10dp"  />
_     _        _</shape>
  _    ___  </item>
       _</layer-list>
 _  </item>

_   <item android:state_pressed="true">
     _  <layer-list>
    _       <item android:right="5dp" android:top="5dp">
 _       _      <shape>
_   __      ____<corners  android:radius_= "3dp"/>
 _  _ _  _ _  __<solid android:color ="#4A6EA9"/>
               _</shape>
     _    __</item>

  _   _     <item android:bottom="2dp" android:left_="2dp">
        __ _   _<shape