Skip to content Skip to sidebar Skip to footer

Setting Drawable Defined In Xml As View's Background In Android

I'm trying to set a shape defined in XML as view's background. Here's it:

Solution 1:

maybe you can use <item> ,like this:

<item android:top="95dp" >
 <shape >
    ....
  </shape>
</item>

Post a Comment for "Setting Drawable Defined In Xml As View's Background In Android"