How to add XML drawable in Eclipse

后端 未结 8 674
青春惊慌失措
青春惊慌失措 2021-01-02 22:21

Ok guys I\'m little stacked here. According to official documentation Google says that \"Once you\'ve defined your Drawable in XML, save the file in the res/drawable/ direct

8条回答
  •  盖世英雄少女心
    2021-01-02 23:12

    As of today, there is no "direct" support to drawable resources in Eclipse ADT.

    So, from Eclipse Package Explorer, you should "manually" add a new folder named 'drawable' into your project 'res' folder.

    Then, still from Package Explorer, you should manually add a new XML file within the newly created folder (right click\ new\ other\ XML\ XML File).

提交回复
热议问题