# R.attr

Summary:[Fields](https://developer.android.com/reference/android/support/v7/cardview/R.attr#lfields)\|[Ctors](https://developer.android.com/reference/android/support/v7/cardview/R.attr#pubctors)\|[Inherited Methods](https://developer.android.com/reference/android/support/v7/cardview/R.attr#inhmethods)\|[\[Expand All\]](https://developer.android.com/reference/android/support/v7/cardview/R.attr#)  

# R.attr

| This package is part of the Android[support library](https://developer.android.com/topic/libraries/support-library)which is no longer maintained. The support library has been superseded by[AndroidX](https://developer.android.com/jetpack/androidx)which is part of[Jetpack](https://developer.android.com/jetpack). We recommend using the AndroidX libraries in all new projects. You should also consider[migrating](https://developer.android.com/jetpack/androidx/migrate)existing projects to AndroidX. To find the AndroidX class that maps to this deprecated class, see the AndroidX support library[class mappings](https://developer.android.com/jetpack/androidx/migrate/class-mappings).

`
public
static
final

class
R.attr
`  
`

extends Object


``


`

|---|------------------------------------|
| java.lang.Object                      ||
| ↳ | android.support.v7.cardview.R.attr |

<br />

*** ** * ** ***

## Summary

|                                                                          ### Fields                                                                          ||
|----------------------|----------------------------------------------------------------------------------------------------------------------------------------|
| ` public static int` | [cardBackgroundColor](https://developer.android.com/reference/android/support/v7/cardview/R.attr#cardBackgroundColor) <br />           |
| ` public static int` | [cardCornerRadius](https://developer.android.com/reference/android/support/v7/cardview/R.attr#cardCornerRadius) <br />                 |
| ` public static int` | [cardElevation](https://developer.android.com/reference/android/support/v7/cardview/R.attr#cardElevation) <br />                       |
| ` public static int` | [cardMaxElevation](https://developer.android.com/reference/android/support/v7/cardview/R.attr#cardMaxElevation) <br />                 |
| ` public static int` | [cardPreventCornerOverlap](https://developer.android.com/reference/android/support/v7/cardview/R.attr#cardPreventCornerOverlap) <br /> |
| ` public static int` | [cardUseCompatPadding](https://developer.android.com/reference/android/support/v7/cardview/R.attr#cardUseCompatPadding) <br />         |
| ` public static int` | [cardViewStyle](https://developer.android.com/reference/android/support/v7/cardview/R.attr#cardViewStyle) <br />                       |
| ` public static int` | [contentPadding](https://developer.android.com/reference/android/support/v7/cardview/R.attr#contentPadding) <br />                     |
| ` public static int` | [contentPaddingBottom](https://developer.android.com/reference/android/support/v7/cardview/R.attr#contentPaddingBottom) <br />         |
| ` public static int` | [contentPaddingLeft](https://developer.android.com/reference/android/support/v7/cardview/R.attr#contentPaddingLeft) <br />             |
| ` public static int` | [contentPaddingRight](https://developer.android.com/reference/android/support/v7/cardview/R.attr#contentPaddingRight) <br />           |
| ` public static int` | [contentPaddingTop](https://developer.android.com/reference/android/support/v7/cardview/R.attr#contentPaddingTop) <br />               |

|                                         ### Public constructors                                          ||
|-------------------------------------------------------------------------------------------------------|---|
| ` `[R.attr](https://developer.android.com/reference/android/support/v7/cardview/R.attr#R.attr())`() ` |

| ### Inherited methods |
|-----------------------|---|
| [![](https://developer.android.com/static/assets/images/styles/disclosure_down.png)](https://developer.android.com/reference/android/support/v7/cardview/R.attr#)From class` java.lang.Object ` |-------------------|-------------------------------| | ` Object`         | ` clone() `                   | | ` boolean`        | ` equals(Object arg0) `       | | ` void`           | ` finalize() `                | | ` final Class<?>` | ` 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() `                    | ||

## Fields

### cardBackgroundColor

```
int cardBackgroundColor
```

<br />

<br />

### cardCornerRadius

```
int cardCornerRadius
```

<br />

<br />

### cardElevation

```
int cardElevation
```

<br />

<br />

### cardMaxElevation

```
int cardMaxElevation
```

<br />

<br />

### cardPreventCornerOverlap

```
int cardPreventCornerOverlap
```

<br />

<br />

### cardUseCompatPadding

```
int cardUseCompatPadding
```

<br />

<br />

### cardViewStyle

```
int cardViewStyle
```

<br />

<br />

### contentPadding

```
int contentPadding
```

<br />

<br />

### contentPaddingBottom

```
int contentPaddingBottom
```

<br />

<br />

### contentPaddingLeft

```
int contentPaddingLeft
```

<br />

<br />

### contentPaddingRight

```
int contentPaddingRight
```

<br />

<br />

### contentPaddingTop

```
int contentPaddingTop
```

<br />

<br />

## Public constructors

### R.attr

```
R.attr ()
```

<br />

<br />

-

  ## Classes

  - [R](https://developer.android.com/reference/android/support/v7/cardview/R)
  - [R.attr](https://developer.android.com/reference/android/support/v7/cardview/R.attr)
  - [R.color](https://developer.android.com/reference/android/support/v7/cardview/R.color)
  - [R.dimen](https://developer.android.com/reference/android/support/v7/cardview/R.dimen)
  - [R.style](https://developer.android.com/reference/android/support/v7/cardview/R.style)
  - [R.styleable](https://developer.android.com/reference/android/support/v7/cardview/R.styleable)