2015-04-06 63 views
0

在資源選擇器上,我注意到有一些系統資源的不同圖標。
http://puu.sh/h3ySG/7d77efbcd1.png找不到與指定名稱匹配的資源

我想在我的項目中使用一些。我把一些圖標上的按鈕,它顯示出預期: enter image description here

但是,當我試圖運行的應用程序,它沒有讓因爲它雖然顯示正確的資源上的按鈕,在XML文件中它寫了

error: Error: No resource found that matches the given name (at 'drawableLeft' with value '@drawable/ abc_ic_menu_info_details').

那麼我可以或不可以使用這些資源嗎?

+0

嘗試@android:繪製/ abc_ic_menu_info_details – Prakhar 2015-04-06 14:13:16

+0

@Prakhar未能到Android轉換:可繪製/ abc_ic_menu_info_details成可繪製,它也不會顯示在按鈕上 – SpoocyCrep 2015-04-06 14:15:17

回答

0

使用@android:drawable/abc_ic_menu_info_details

,而不是@drawable/abc_ic_menu_info_details

要使用系統資源的需求開始@android:

+0

工作過,謝謝 – SpoocyCrep 2015-04-06 14:16:54

相關問題