Content and code samples on this page are subject to the licenses described in the Content License. Java and OpenJDK are trademarks or registered trademarks of Oracle and/or its affiliates.
Last updated 2025-02-10 UTC.
[null,null,["Last updated 2025-02-10 UTC."],[],[],null,["# R.styleable\n\nSummary: [Fields](#lfields) \\| [Ctors](#pubctors) \\| [Inherited Methods](#inhmethods) \\| [\\[Expand All\\]](#) \n\nR.styleable\n===========\n\n| This package is part of the Android [support library](/topic/libraries/support-library) which is no longer maintained. The support library has been superseded by [AndroidX](/jetpack/androidx) which is part of [Jetpack](/jetpack). We recommend using the AndroidX libraries in all new projects. You should also consider [migrating](/jetpack/androidx/migrate) existing projects to AndroidX. To find the AndroidX class that maps to this deprecated class, see the AndroidX support library [class\n| mappings](/jetpack/androidx/migrate/class-mappings).\n\n\n`\npublic\nstatic\nfinal\n\nclass\nR.styleable\n`\n\n\n`\n\nextends Object\n\n\n`\n\n`\n\n\n`\n\n|---|-----------------------------------------|\n| java.lang.Object ||\n| ↳ | android.support.v7.cardview.R.styleable |\n\n\u003cbr /\u003e\n\n*** ** * ** ***\n\nSummary\n-------\n\n| ### Fields ||\n|------------------------|---------------------------------------------------------------------------------------------------------------------------|\n| ` public static int[]` | [CardView](/reference/android/support/v7/cardview/R.styleable#CardView) |\n| ` public static int` | [CardView_android_minHeight](/reference/android/support/v7/cardview/R.styleable#CardView_android_minHeight) |\n| ` public static int` | [CardView_android_minWidth](/reference/android/support/v7/cardview/R.styleable#CardView_android_minWidth) |\n| ` public static int` | [CardView_cardBackgroundColor](/reference/android/support/v7/cardview/R.styleable#CardView_cardBackgroundColor) |\n| ` public static int` | [CardView_cardCornerRadius](/reference/android/support/v7/cardview/R.styleable#CardView_cardCornerRadius) |\n| ` public static int` | [CardView_cardElevation](/reference/android/support/v7/cardview/R.styleable#CardView_cardElevation) |\n| ` public static int` | [CardView_cardMaxElevation](/reference/android/support/v7/cardview/R.styleable#CardView_cardMaxElevation) |\n| ` public static int` | [CardView_cardPreventCornerOverlap](/reference/android/support/v7/cardview/R.styleable#CardView_cardPreventCornerOverlap) |\n| ` public static int` | [CardView_cardUseCompatPadding](/reference/android/support/v7/cardview/R.styleable#CardView_cardUseCompatPadding) |\n| ` public static int` | [CardView_contentPadding](/reference/android/support/v7/cardview/R.styleable#CardView_contentPadding) |\n| ` public static int` | [CardView_contentPaddingBottom](/reference/android/support/v7/cardview/R.styleable#CardView_contentPaddingBottom) |\n| ` public static int` | [CardView_contentPaddingLeft](/reference/android/support/v7/cardview/R.styleable#CardView_contentPaddingLeft) |\n| ` public static int` | [CardView_contentPaddingRight](/reference/android/support/v7/cardview/R.styleable#CardView_contentPaddingRight) |\n| ` public static int` | [CardView_contentPaddingTop](/reference/android/support/v7/cardview/R.styleable#CardView_contentPaddingTop) |\n\n| ### Public constructors ||\n|-----------------------------------------------------------------------------------------|---|\n| ` `[R.styleable](/reference/android/support/v7/cardview/R.styleable#R.styleable())`() ` |\n\n| ### Inherited methods |\n|-----------------------|---|\n| From class ` java.lang.Object ` |-------------------|-------------------------------| | ` Object` | ` clone() ` | | ` boolean` | ` equals(Object arg0) ` | | ` void` | ` finalize() ` | | ` final Class\u003c?\u003e` | ` getClass() ` | | ` int` | ` hashCode() ` | | ` final void` | ` notify() ` | | ` final void` | ` notifyAll() ` | | ` String` | ` toString() ` | | ` final void` | ` wait(long arg0, int arg1) ` | | ` final void` | ` wait(long arg0) ` | | ` final void` | ` wait() ` | ||\n\nFields\n------\n\n### CardView\n\n```\nint[] CardView\n```\n\n\u003cbr /\u003e\n\n\u003cbr /\u003e\n\n### CardView_android_minHeight\n\n```\nint CardView_android_minHeight\n```\n\n\u003cbr /\u003e\n\n\u003cbr /\u003e\n\n### CardView_android_minWidth\n\n```\nint CardView_android_minWidth\n```\n\n\u003cbr /\u003e\n\n\u003cbr /\u003e\n\n### CardView_cardBackgroundColor\n\n```\nint CardView_cardBackgroundColor\n```\n\n\u003cbr /\u003e\n\n\u003cbr /\u003e\n\n### CardView_cardCornerRadius\n\n```\nint CardView_cardCornerRadius\n```\n\n\u003cbr /\u003e\n\n\u003cbr /\u003e\n\n### CardView_cardElevation\n\n```\nint CardView_cardElevation\n```\n\n\u003cbr /\u003e\n\n\u003cbr /\u003e\n\n### CardView_cardMaxElevation\n\n```\nint CardView_cardMaxElevation\n```\n\n\u003cbr /\u003e\n\n\u003cbr /\u003e\n\n### CardView_cardPreventCornerOverlap\n\n```\nint CardView_cardPreventCornerOverlap\n```\n\n\u003cbr /\u003e\n\n\u003cbr /\u003e\n\n### CardView_cardUseCompatPadding\n\n```\nint CardView_cardUseCompatPadding\n```\n\n\u003cbr /\u003e\n\n\u003cbr /\u003e\n\n### CardView_contentPadding\n\n```\nint CardView_contentPadding\n```\n\n\u003cbr /\u003e\n\n\u003cbr /\u003e\n\n### CardView_contentPaddingBottom\n\n```\nint CardView_contentPaddingBottom\n```\n\n\u003cbr /\u003e\n\n\u003cbr /\u003e\n\n### CardView_contentPaddingLeft\n\n```\nint CardView_contentPaddingLeft\n```\n\n\u003cbr /\u003e\n\n\u003cbr /\u003e\n\n### CardView_contentPaddingRight\n\n```\nint CardView_contentPaddingRight\n```\n\n\u003cbr /\u003e\n\n\u003cbr /\u003e\n\n### CardView_contentPaddingTop\n\n```\nint CardView_contentPaddingTop\n```\n\n\u003cbr /\u003e\n\n\u003cbr /\u003e\n\nPublic constructors\n-------------------\n\n### R.styleable\n\n```\nR.styleable ()\n```\n\n\u003cbr /\u003e\n\n\u003cbr /\u003e\n\n-\n\n Classes\n -------\n\n - [R](/reference/android/support/v7/cardview/R)\n - [R.attr](/reference/android/support/v7/cardview/R.attr)\n - [R.color](/reference/android/support/v7/cardview/R.color)\n - [R.dimen](/reference/android/support/v7/cardview/R.dimen)\n - [R.style](/reference/android/support/v7/cardview/R.style)\n - [R.styleable](/reference/android/support/v7/cardview/R.styleable)"]]