I have created a background drawable for my widget.
How can I specify the size of the background drawable so that it won't
stretch of my widget?

<?xml version="1.0" encoding="utf-8"?>
<layer-list xmlns:android="http://schemas.android.com/apk/res/android";>
    <item android:id="@+android:id/background"
android:drawable="@drawable/bkgd" />
</layer-list>

bkgd.png is a png file.

Thank you.

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to