How to add a 9patch image to a xml drawable
Posted
by michael
on Stack Overflow
See other posts from Stack Overflow
or by michael
Published on 2010-05-01T22:50:49Z
Indexed on
2010/05/01
22:57 UTC
Read the original article
Hit count: 138
android
Hi,
I have the following drawable which draw a rectangle. Can you please tell me how can I add a 9patch image as the background of this drawable?
<?xml version="1.0" encoding="utf-8"?>
<shape xmlns:android="http://schemas.android.com/apk/res/android"
>
<stroke android:width="1dp" android:color="#FFFFFFFF" />
<solid android:color="@android:color/transparent"/>
</shape>
Thank you.
© Stack Overflow or respective owner