public static abstract @interface ButtonConstants.ButtonTheme implements Annotation
ButtonConstants.ButtonTheme
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-10-31 UTC.
[null,null,["Last updated 2024-10-31 UTC."],[[["\u003cp\u003e\u003ccode\u003eButtonConstants.ButtonTheme\u003c/code\u003e is an annotation that defines button themes.\u003c/p\u003e\n"],["\u003cp\u003eTwo button themes are available: \u003ccode\u003eDARK\u003c/code\u003e and \u003ccode\u003eLIGHT\u003c/code\u003e, represented by the integer values 1 and 2 respectively.\u003c/p\u003e\n"],["\u003cp\u003eIt inherits methods from the \u003ccode\u003ejava.lang.annotation.Annotation\u003c/code\u003e interface, including \u003ccode\u003eannotationType()\u003c/code\u003e, \u003ccode\u003eequals()\u003c/code\u003e, \u003ccode\u003ehashCode()\u003c/code\u003e, and \u003ccode\u003etoString()\u003c/code\u003e.\u003c/p\u003e\n"]]],[],null,["# ButtonConstants.ButtonTheme\n\npublic static abstract @interface **ButtonConstants.ButtonTheme** implements [Annotation](//developer.android.com/reference/java/lang/annotation/Annotation.html) \nAn enumeration of button themes. \n\n### Constant Summary\n\n|-----|----------------------------------------------------------------------------------------------------|---|\n| int | [DARK](/android/reference/com/google/android/gms/wallet/button/ButtonConstants.ButtonTheme#DARK) | |\n| int | [LIGHT](/android/reference/com/google/android/gms/wallet/button/ButtonConstants.ButtonTheme#LIGHT) | |\n\n### Inherited Method Summary\n\nFrom interface java.lang.annotation.Annotation \n\n|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------|--------------------------------------------------------------------------------|\n| abstract [Class](//developer.android.com/reference/java/lang/Class.html)\\\u003c? extends [Annotation](//developer.android.com/reference/java/lang/annotation/Annotation.html)\\\u003e | annotationType() |\n| abstract boolean | equals([Object](//developer.android.com/reference/java/lang/Object.html) arg0) |\n| abstract int | hashCode() |\n| abstract [String](//developer.android.com/reference/java/lang/String.html) | toString() |\n\nConstants\n---------\n\n#### public static final int\n**DARK**\n\nConstant Value: 1 \n\n#### public static final int\n**LIGHT**\n\nConstant Value: 2"]]