问题
error: Error: Resource is not public. (at 'style' with value '@android:style/Widget.Button.Transparent').,style="@android:style/Widget.Button.Transparent"
回答1:
I have bad news. The Android API is white-listed. Only object that are listed in $ANDROID_SRC/frameworks/base/api/NN.txt are visible to client applications running on API level NN.
While the three other button styles found in styles.xml are all exposed, Widget_Button_Transparent is not. You can't use it.
来源:https://stackoverflow.com/questions/11358343/i-want-to-use-widget-button-transparent-style-with-my-button