[英]I want to use Widget.Button.Transparent style with my button
錯誤:錯誤:資源不公開。 ('style'的值為'@ android:style / Widget.Button.Transparent')。,style =“@ android:style / Widget.Button.Transparent”
我有壞消息。 Android API已列入白名單。 只有在$ ANDROID_SRC / frameworks / base / api / NN.txt中列出的對象對在API級別NN上運行的客戶端應用程序可見。
雖然styles.xml中的其他三個按鈕樣式都已公開,但Widget_Button_Transparent不是。 你不能使用它。
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.