Added in [API level 1](https://developer.android.com/guide/topics/manifest/uses-sdk-element#ApiLevels) Summary: [Constants](https://developer.android.com/reference/android/R.layout#constants) \| [Ctors](https://developer.android.com/reference/android/R.layout#pubctors) \| [Inherited Methods](https://developer.android.com/reference/android/R.layout#inhmethods)

# R.layout

*** ** * ** ***

` public static final class R.layout `   
` extends https://developer.android.com/reference/java/lang/Object ` ` `

|---|---|
| [java.lang.Object](https://developer.android.com/reference/java/lang/Object) ||
| ↳ | android.R.layout |

<br />

*** ** * ** ***

## Summary

| ### Constants ||
|---|---|
| `int` | `https://developer.android.com/reference/android/R.layout#activity_list_item` <br /> |
| `int` | `https://developer.android.com/reference/android/R.layout#browser_link_context_header` <br /> |
| `int` | `https://developer.android.com/reference/android/R.layout#expandable_list_content` <br /> |
| `int` | `https://developer.android.com/reference/android/R.layout#list_content` Standard content view for a `https://developer.android.com/reference/android/app/ListFragment`. |
| `int` | `https://developer.android.com/reference/android/R.layout#preference_category` <br /> |
| `int` | `https://developer.android.com/reference/android/R.layout#select_dialog_item` <br /> |
| `int` | `https://developer.android.com/reference/android/R.layout#select_dialog_multichoice` <br /> |
| `int` | `https://developer.android.com/reference/android/R.layout#select_dialog_singlechoice` <br /> |
| `int` | `https://developer.android.com/reference/android/R.layout#simple_dropdown_item_1line` <br /> |
| `int` | `https://developer.android.com/reference/android/R.layout#simple_expandable_list_item_1` <br /> |
| `int` | `https://developer.android.com/reference/android/R.layout#simple_expandable_list_item_2` <br /> |
| `int` | `https://developer.android.com/reference/android/R.layout#simple_gallery_item` <br /> |
| `int` | `https://developer.android.com/reference/android/R.layout#simple_list_item_1` <br /> |
| `int` | `https://developer.android.com/reference/android/R.layout#simple_list_item_2` <br /> |
| `int` | `https://developer.android.com/reference/android/R.layout#simple_list_item_activated_1` A version of `https://developer.android.com/reference/android/R.layout#simple_list_item_1` that is able to change its background state to indicate when it is activated (that is checked by a ListView). |
| `int` | `https://developer.android.com/reference/android/R.layout#simple_list_item_activated_2` A version of `https://developer.android.com/reference/android/R.layout#simple_list_item_2` that is able to change its background state to indicate when it is activated (that is checked by a ListView). |
| `int` | `https://developer.android.com/reference/android/R.layout#simple_list_item_checked` <br /> |
| `int` | `https://developer.android.com/reference/android/R.layout#simple_list_item_multiple_choice` <br /> |
| `int` | `https://developer.android.com/reference/android/R.layout#simple_list_item_single_choice` <br /> |
| `int` | `https://developer.android.com/reference/android/R.layout#simple_selectable_list_item` A simple ListView item layout which can contain text and support (single or multiple) item selection. |
| `int` | `https://developer.android.com/reference/android/R.layout#simple_spinner_dropdown_item` <br /> |
| `int` | `https://developer.android.com/reference/android/R.layout#simple_spinner_item` <br /> |
| `int` | `https://developer.android.com/reference/android/R.layout#test_list_item` <br /> |
| `int` | `https://developer.android.com/reference/android/R.layout#two_line_list_item` <br /> |

| ### Public constructors ||
|---|---|
| ` https://developer.android.com/reference/android/R.layout#layout()() ` |

### Inherited methods

From class ` https://developer.android.com/reference/java/lang/Object ` ` https://developer.android.com/reference/java/lang/Object` ` https://developer.android.com/reference/java/lang/Object#clone()() `

Creates and returns a copy of this object.
` boolean` ` https://developer.android.com/reference/java/lang/Object#equals(java.lang.Object)(https://developer.android.com/reference/java/lang/Object obj) `

Indicates whether some other object is "equal to" this one.
` void` ` https://developer.android.com/reference/java/lang/Object#finalize()() `

Called by the garbage collector on an object when garbage collection determines that there are no more references to the object.
` final https://developer.android.com/reference/java/lang/Class<?>` ` https://developer.android.com/reference/java/lang/Object#getClass()() `

Returns the runtime class of this `Object`.
` int` ` https://developer.android.com/reference/java/lang/Object#hashCode()() `

Returns a hash code value for the object.
` final void` ` https://developer.android.com/reference/java/lang/Object#notify()() `

Wakes up a single thread that is waiting on this object's monitor.
` final void` ` https://developer.android.com/reference/java/lang/Object#notifyAll()() `

Wakes up all threads that are waiting on this object's monitor.
` https://developer.android.com/reference/java/lang/String` ` https://developer.android.com/reference/java/lang/Object#toString()() `

Returns a string representation of the object.
` final void` ` https://developer.android.com/reference/java/lang/Object#wait(long,%20int)(long timeoutMillis, int nanos) `

Causes the current thread to wait until it is awakened, typically by being *notified* or *interrupted*, or until a certain amount of real time has elapsed.
` final void` ` https://developer.android.com/reference/java/lang/Object#wait(long)(long timeoutMillis) `

Causes the current thread to wait until it is awakened, typically by being *notified* or *interrupted*, or until a certain amount of real time has elapsed.
` final void` ` https://developer.android.com/reference/java/lang/Object#wait()() `

Causes the current thread to wait until it is awakened, typically by being *notified* or *interrupted*.

## Constants

### activity_list_item

Added in [API level 1](https://developer.android.com/guide/topics/manifest/uses-sdk-element#ApiLevels)

```
public static final int activity_list_item
```

<br />

<br />

Constant Value: 17367040 (0x01090000)

### browser_link_context_header

Added in [API level 1](https://developer.android.com/guide/topics/manifest/uses-sdk-element#ApiLevels)

```
public static final int browser_link_context_header
```

<br />

<br />

Constant Value: 17367054 (0x0109000e)

### expandable_list_content

Added in [API level 1](https://developer.android.com/guide/topics/manifest/uses-sdk-element#ApiLevels)

```
public static final int expandable_list_content
```

<br />

<br />

Constant Value: 17367041 (0x01090001)

### list_content

Added in [API level 11](https://developer.android.com/guide/topics/manifest/uses-sdk-element#ApiLevels)

```
public static final int list_content
```

Standard content view for a `https://developer.android.com/reference/android/app/ListFragment`. If you are implementing a subclass of ListFragment with your own customized content, you can include this layout in that content to still retain all of the standard functionality of the base class.

<br />

Constant Value: 17367060 (0x01090014)

### preference_category

Added in [API level 1](https://developer.android.com/guide/topics/manifest/uses-sdk-element#ApiLevels)

```
public static final int preference_category
```

<br />

<br />

Constant Value: 17367042 (0x01090002)

### select_dialog_item

Added in [API level 1](https://developer.android.com/guide/topics/manifest/uses-sdk-element#ApiLevels)

```
public static final int select_dialog_item
```

<br />

<br />

Constant Value: 17367057 (0x01090011)

### select_dialog_multichoice

Added in [API level 1](https://developer.android.com/guide/topics/manifest/uses-sdk-element#ApiLevels)

```
public static final int select_dialog_multichoice
```

<br />

<br />

Constant Value: 17367059 (0x01090013)

### select_dialog_singlechoice

Added in [API level 1](https://developer.android.com/guide/topics/manifest/uses-sdk-element#ApiLevels)

```
public static final int select_dialog_singlechoice
```

<br />

<br />

Constant Value: 17367058 (0x01090012)

### simple_dropdown_item_1line

Added in [API level 1](https://developer.android.com/guide/topics/manifest/uses-sdk-element#ApiLevels)

```
public static final int simple_dropdown_item_1line
```

<br />

<br />

Constant Value: 17367050 (0x0109000a)

### simple_expandable_list_item_1

Added in [API level 1](https://developer.android.com/guide/topics/manifest/uses-sdk-element#ApiLevels)

```
public static final int simple_expandable_list_item_1
```

<br />

<br />

Constant Value: 17367046 (0x01090006)

### simple_expandable_list_item_2

Added in [API level 1](https://developer.android.com/guide/topics/manifest/uses-sdk-element#ApiLevels)

```
public static final int simple_expandable_list_item_2
```

<br />

<br />

Constant Value: 17367047 (0x01090007)

### simple_gallery_item

Added in [API level 1](https://developer.android.com/guide/topics/manifest/uses-sdk-element#ApiLevels)

```
public static final int simple_gallery_item
```

<br />

<br />

Constant Value: 17367051 (0x0109000b)

### simple_list_item_1

Added in [API level 1](https://developer.android.com/guide/topics/manifest/uses-sdk-element#ApiLevels)

```
public static final int simple_list_item_1
```

<br />

<br />

Constant Value: 17367043 (0x01090003)

### simple_list_item_2

Added in [API level 1](https://developer.android.com/guide/topics/manifest/uses-sdk-element#ApiLevels)

```
public static final int simple_list_item_2
```

<br />

<br />

Constant Value: 17367044 (0x01090004)

### simple_list_item_activated_1

Added in [API level 11](https://developer.android.com/guide/topics/manifest/uses-sdk-element#ApiLevels)

```
public static final int simple_list_item_activated_1
```

A version of `https://developer.android.com/reference/android/R.layout#simple_list_item_1` that is able to change its background state to indicate when it is activated (that is checked by a ListView).

<br />

Constant Value: 17367062 (0x01090016)

### simple_list_item_activated_2

Added in [API level 11](https://developer.android.com/guide/topics/manifest/uses-sdk-element#ApiLevels)

```
public static final int simple_list_item_activated_2
```

A version of `https://developer.android.com/reference/android/R.layout#simple_list_item_2` that is able to change its background state to indicate when it is activated (that is checked by a ListView).

<br />

Constant Value: 17367063 (0x01090017)

### simple_list_item_checked

Added in [API level 1](https://developer.android.com/guide/topics/manifest/uses-sdk-element#ApiLevels)

```
public static final int simple_list_item_checked
```

<br />

<br />

Constant Value: 17367045 (0x01090005)

### simple_list_item_multiple_choice

Added in [API level 1](https://developer.android.com/guide/topics/manifest/uses-sdk-element#ApiLevels)

```
public static final int simple_list_item_multiple_choice
```

<br />

<br />

Constant Value: 17367056 (0x01090010)

### simple_list_item_single_choice

Added in [API level 1](https://developer.android.com/guide/topics/manifest/uses-sdk-element#ApiLevels)

```
public static final int simple_list_item_single_choice
```

<br />

<br />

Constant Value: 17367055 (0x0109000f)

### simple_selectable_list_item

Added in [API level 11](https://developer.android.com/guide/topics/manifest/uses-sdk-element#ApiLevels)

```
public static final int simple_selectable_list_item
```

A simple ListView item layout which can contain text and support (single or multiple) item selection.

<br />

Constant Value: 17367061 (0x01090015)

### simple_spinner_dropdown_item

Added in [API level 1](https://developer.android.com/guide/topics/manifest/uses-sdk-element#ApiLevels)

```
public static final int simple_spinner_dropdown_item
```

<br />

<br />

Constant Value: 17367049 (0x01090009)

### simple_spinner_item

Added in [API level 1](https://developer.android.com/guide/topics/manifest/uses-sdk-element#ApiLevels)

```
public static final int simple_spinner_item
```

<br />

<br />

Constant Value: 17367048 (0x01090008)

### test_list_item

Added in [API level 1](https://developer.android.com/guide/topics/manifest/uses-sdk-element#ApiLevels)

```
public static final int test_list_item
```

<br />

<br />

Constant Value: 17367052 (0x0109000c)

### two_line_list_item

Added in [API level 1](https://developer.android.com/guide/topics/manifest/uses-sdk-element#ApiLevels)

```
public static final int two_line_list_item
```

<br />

<br />

Constant Value: 17367053 (0x0109000d)

## Public constructors

### layout

```
public layout ()
```

<br />

<br />