My app is showing the 9patch black marks. Why could it be?
That's my picture:
You can see the small black dots. The file name is "filename.9.png". I am using the 9patch program that comes with android sdk. That's my code:
<ScrollView
android:id="@+id/left_scroll"
android:layout_width="match_parent"
android:layout_height="match_parent" >
<RelativeLayout
android:layout_width="match_parent"
android:layout_height="wrap_content" >
<Button
android:id="@+id/pic_coupon_calender"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_alignParentLeft="true"
android:layout_alignParentRight="true"
android:layout_alignParentTop="true"
android:background="@drawable/pic_coupon_news" />
</RelativeLayout>
</ScrollView>
The background is "pic_coupons_news.9.png". What could be the reasons for such a thing?
Thanks!
It happened with me once too.
Just clean your project and rebuild. This should resolve the defect.