簡體   English   中英

我想用我的按鈕使用Widget.Button.Transparent樣式

[英]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.

 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM