关于draw9patch图片命名的问题,请大家指教哈。

xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:paddingBottom="@dimen/activity_vertical_margin"
android:paddingLeft="@dimen/activity_horizontal_margin"
android:paddingRight="@dimen/activity_horizontal_margin"
android:paddingTop="@dimen/activity_vertical_margin"
tools:context="com.IWIN.uisizetest.MainActivity" >

<LinearLayout
    android:layout_width="match_parent"
    android:layout_height="wrap_content"
****    android:background="@drawable/Newsheshou.9.png">****
    </LinearLayout>

console

[2015-09-11 17:13:02 - UIBestPractise] res\drawable-hdpi-v4\Newsheshou.9.png: Invalid file name: must contain only [a-z0-9_.]
[2015-09-11 17:13:02 - UIBestPractise] F:\Workspace\UIBestPractise\res\layout\activity_main.xml:11: error: Error: No resource found that matches the given name (at 'background' with value '@drawable/Newsheshou.9.png').
[2015-09-11 17:13:02 - UIBestPractise] 图片说明

查看全部
out_going
out_going
2015/09/11 09:35
  • 图片
  • 布局
  • 点赞
  • 收藏
  • 回答
    私信

1个回复