# R.layout

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

# layout

*** ** * ** ***

Kotlin\|[Java](https://developer.android.com/reference/android/R.layout "View this page in Java")  

```
class layout
```

|---|--------------------------------------------------------------------------------------|
| [kotlin.Any](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html)       ||
| ↳ | [android.R.layout](https://developer.android.com/reference/kotlin/android/R.layout#) |

## Summary

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

|                                       Public constructors                                        ||
|-----------------------------------------------------------------------------------------------|---|
| [layout](https://developer.android.com/reference/kotlin/android/R.layout#layout())`()` <br /> |

## Constants

### activity_list_item

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

```
static val activity_list_item: Int
```  

    Value: 17367040

### browser_link_context_header

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

```
static val browser_link_context_header: Int
```  

    Value: 17367054

### expandable_list_content

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

```
static val expandable_list_content: Int
```  

    Value: 17367041

### list_content

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

```
static val list_content: Int
```

Standard content view for a[android.app.ListFragment](https://developer.android.com/reference/kotlin/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.  

    Value: 17367060

### preference_category

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

```
static val preference_category: Int
```  

    Value: 17367042

### select_dialog_item

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

```
static val select_dialog_item: Int
```  

    Value: 17367057

### select_dialog_multichoice

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

```
static val select_dialog_multichoice: Int
```  

    Value: 17367059

### select_dialog_singlechoice

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

```
static val select_dialog_singlechoice: Int
```  

    Value: 17367058

### simple_dropdown_item_1line

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

```
static val simple_dropdown_item_1line: Int
```  

    Value: 17367050

### simple_expandable_list_item_1

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

```
static val simple_expandable_list_item_1: Int
```  

    Value: 17367046

### simple_expandable_list_item_2

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

```
static val simple_expandable_list_item_2: Int
```  

    Value: 17367047

### simple_gallery_item

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

```
static val simple_gallery_item: Int
```  

    Value: 17367051

### simple_list_item_1

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

```
static val simple_list_item_1: Int
```  

    Value: 17367043

### simple_list_item_2

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

```
static val simple_list_item_2: Int
```  

    Value: 17367044

### simple_list_item_activated_1

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

```
static val simple_list_item_activated_1: Int
```

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

    Value: 17367062

### simple_list_item_activated_2

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

```
static val simple_list_item_activated_2: Int
```

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

    Value: 17367063

### simple_list_item_checked

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

```
static val simple_list_item_checked: Int
```  

    Value: 17367045

### simple_list_item_multiple_choice

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

```
static val simple_list_item_multiple_choice: Int
```  

    Value: 17367056

### simple_list_item_single_choice

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

```
static val simple_list_item_single_choice: Int
```  

    Value: 17367055

### simple_selectable_list_item

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

```
static val simple_selectable_list_item: Int
```

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

    Value: 17367061

### simple_spinner_dropdown_item

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

```
static val simple_spinner_dropdown_item: Int
```  

    Value: 17367049

### simple_spinner_item

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

```
static val simple_spinner_item: Int
```  

    Value: 17367048

### test_list_item

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

```
static val test_list_item: Int
```  

    Value: 17367052

### two_line_list_item

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

```
static val two_line_list_item: Int
```  

    Value: 17367053

## Public constructors

### layout

```
layout()
```