Skip to content

Most visited

Recently visited

navigation
Added in API level 1

R.id

public static final class R.id
extends Object

java.lang.Object
   ↳ android.R.id


Summary

Constants

int accessibilityActionContextClick

Accessibility action identifier for ACTION_CONTEXT_CLICK.

int accessibilityActionScrollDown

Accessibility action identifier for ACTION_SCROLL_DOWN.

int accessibilityActionScrollLeft

Accessibility action identifier for ACTION_SCROLL_LEFT.

int accessibilityActionScrollRight

Accessibility action identifier for ACTION_SCROLL_RIGHT.

int accessibilityActionScrollToPosition

Accessibility action identifier for ACTION_SCROLL_TO_POSITION.

int accessibilityActionScrollUp

Accessibility action identifier for ACTION_SCROLL_UP.

int accessibilityActionShowOnScreen

Accessibility action identifier for ACTION_SHOW_ON_SCREEN.

int addToDictionary

Menu ID to perform a "add to dictionary" operation.

int background

int button1

int button2

int button3

int candidatesArea

The part of the UI shown by an InputMethodService that contains the views for displaying candidates for what the user has entered.

int checkbox

int closeButton

View ID of a View to close a popup keyboard

int content

int copy

Context menu ID for the "Copy" menu item to copy the currently selected (or all) text in a text view to the clipboard.

int copyUrl

Context menu ID for the "Copy URL" menu item to copy the currently selected URL from the text view to the clipboard.

int custom

int cut

Context menu ID for the "Cut" menu item to copy and delete the currently selected (or all) text in a text view to the clipboard.

int edit

int empty

int extractArea

The part of the UI shown by an InputMethodService that contains the views for interacting with the user in extraction mode.

int hint

int home

int icon

int icon1

int icon2

int input

int inputArea

The part of the UI shown by an InputMethodService that contains the views for entering text using the screen.

int inputExtractEditText

View ID of the text editor inside of an extracted text layout.

int keyboardView

View ID of the KeyboardView within an input method's input area.

int list

int mask

int message

int navigationBarBackground

int paste

Context menu ID for the "Paste" menu item to copy the current contents of the clipboard into the text view.

int pasteAsPlainText

int primary

int progress

int redo

int replaceText

int secondaryProgress

int selectAll

Context menu ID for the "Select All" menu item to select all text in a text view.

int selectTextMode

Context menu ID for the "Select text..." menu item to switch to text selection context mode in text views.

int selectedIcon

int shareText

int startSelectingText

Menu ID to perform a "start selecting text" operation.

int statusBarBackground

int stopSelectingText

Menu ID to perform a "stop selecting text" operation.

int summary

int switchInputMethod

Context menu ID for the "Input Method" menu item to being up the input method picker dialog, allowing the user to switch to another input method.

int tabcontent

int tabhost

int tabs

int text1

int text2

int title

int toggle

int undo

int widget_frame

Public constructors

R.id()

Inherited methods

From class java.lang.Object

Constants

accessibilityActionContextClick

Added in API level 23
int accessibilityActionContextClick

Accessibility action identifier for ACTION_CONTEXT_CLICK.

Constant Value: 16908348 (0x0102003c)

accessibilityActionScrollDown

Added in API level 23
int accessibilityActionScrollDown

Accessibility action identifier for ACTION_SCROLL_DOWN.

Constant Value: 16908346 (0x0102003a)

accessibilityActionScrollLeft

Added in API level 23
int accessibilityActionScrollLeft

Accessibility action identifier for ACTION_SCROLL_LEFT.

Constant Value: 16908345 (0x01020039)

accessibilityActionScrollRight

Added in API level 23
int accessibilityActionScrollRight

Accessibility action identifier for ACTION_SCROLL_RIGHT.

Constant Value: 16908347 (0x0102003b)

accessibilityActionScrollToPosition

Added in API level 23
int accessibilityActionScrollToPosition

Accessibility action identifier for ACTION_SCROLL_TO_POSITION.

Constant Value: 16908343 (0x01020037)

accessibilityActionScrollUp

Added in API level 23
int accessibilityActionScrollUp

Accessibility action identifier for ACTION_SCROLL_UP.

Constant Value: 16908344 (0x01020038)

accessibilityActionShowOnScreen

Added in API level 23
int accessibilityActionShowOnScreen

Accessibility action identifier for ACTION_SHOW_ON_SCREEN.

Constant Value: 16908342 (0x01020036)

addToDictionary

Added in API level 3
int addToDictionary

Menu ID to perform a "add to dictionary" operation.

Constant Value: 16908330 (0x0102002a)

background

Added in API level 1
int background

Constant Value: 16908288 (0x01020000)

button1

Added in API level 1
int button1

Constant Value: 16908313 (0x01020019)

button2

Added in API level 1
int button2

Constant Value: 16908314 (0x0102001a)

button3

Added in API level 1
int button3

Constant Value: 16908315 (0x0102001b)

candidatesArea

Added in API level 3
int candidatesArea

The part of the UI shown by an InputMethodService that contains the views for displaying candidates for what the user has entered.

Constant Value: 16908317 (0x0102001d)

checkbox

Added in API level 1
int checkbox

Constant Value: 16908289 (0x01020001)

closeButton

Added in API level 3
int closeButton

View ID of a View to close a popup keyboard

Constant Value: 16908327 (0x01020027)

content

Added in API level 1
int content

Constant Value: 16908290 (0x01020002)

copy

Added in API level 3
int copy

Context menu ID for the "Copy" menu item to copy the currently selected (or all) text in a text view to the clipboard.

Constant Value: 16908321 (0x01020021)

copyUrl

Added in API level 3
int copyUrl

Context menu ID for the "Copy URL" menu item to copy the currently selected URL from the text view to the clipboard.

Constant Value: 16908323 (0x01020023)

custom

Added in API level 8
int custom

Constant Value: 16908331 (0x0102002b)

cut

Added in API level 3
int cut

Context menu ID for the "Cut" menu item to copy and delete the currently selected (or all) text in a text view to the clipboard.

Constant Value: 16908320 (0x01020020)

edit

Added in API level 1
int edit

Constant Value: 16908291 (0x01020003)

empty

Added in API level 1
int empty

Constant Value: 16908292 (0x01020004)

extractArea

Added in API level 3
int extractArea

The part of the UI shown by an InputMethodService that contains the views for interacting with the user in extraction mode.

Constant Value: 16908316 (0x0102001c)

hint

Added in API level 1
int hint

Constant Value: 16908293 (0x01020005)

home

Added in API level 11
int home

Constant Value: 16908332 (0x0102002c)

icon

Added in API level 1
int icon

Constant Value: 16908294 (0x01020006)

icon1

Added in API level 1
int icon1

Constant Value: 16908295 (0x01020007)

icon2

Added in API level 1
int icon2

Constant Value: 16908296 (0x01020008)

input

Added in API level 1
int input

Constant Value: 16908297 (0x01020009)

inputArea

Added in API level 3
int inputArea

The part of the UI shown by an InputMethodService that contains the views for entering text using the screen.

Constant Value: 16908318 (0x0102001e)

inputExtractEditText

Added in API level 3
int inputExtractEditText

View ID of the text editor inside of an extracted text layout.

Constant Value: 16908325 (0x01020025)

keyboardView

Added in API level 3
int keyboardView

View ID of the KeyboardView within an input method's input area.

Constant Value: 16908326 (0x01020026)

list

Added in API level 1
int list

Constant Value: 16908298 (0x0102000a)

mask

Added in API level 21
int mask

Constant Value: 16908334 (0x0102002e)

message

Added in API level 1
int message

Constant Value: 16908299 (0x0102000b)

navigationBarBackground

Added in API level 21
int navigationBarBackground

Constant Value: 16908336 (0x01020030)

paste

Added in API level 3
int paste

Context menu ID for the "Paste" menu item to copy the current contents of the clipboard into the text view.

Constant Value: 16908322 (0x01020022)

pasteAsPlainText

Added in API level 23
int pasteAsPlainText

Constant Value: 16908337 (0x01020031)

primary

Added in API level 1
int primary

Constant Value: 16908300 (0x0102000c)

progress

Added in API level 1
int progress

Constant Value: 16908301 (0x0102000d)

redo

Added in API level 23
int redo

Constant Value: 16908339 (0x01020033)

replaceText

Added in API level 23
int replaceText

Constant Value: 16908340 (0x01020034)

secondaryProgress

Added in API level 1
int secondaryProgress

Constant Value: 16908303 (0x0102000f)

selectAll

Added in API level 3
int selectAll

Context menu ID for the "Select All" menu item to select all text in a text view.

Constant Value: 16908319 (0x0102001f)

selectTextMode

Added in API level 11
int selectTextMode

Context menu ID for the "Select text..." menu item to switch to text selection context mode in text views.

Constant Value: 16908333 (0x0102002d)

selectedIcon

Added in API level 1
int selectedIcon

Constant Value: 16908302 (0x0102000e)

shareText

Added in API level 23
int shareText

Constant Value: 16908341 (0x01020035)

startSelectingText

Added in API level 3
int startSelectingText

Menu ID to perform a "start selecting text" operation.

Constant Value: 16908328 (0x01020028)

statusBarBackground

Added in API level 21
int statusBarBackground

Constant Value: 16908335 (0x0102002f)

stopSelectingText

Added in API level 3
int stopSelectingText

Menu ID to perform a "stop selecting text" operation.

Constant Value: 16908329 (0x01020029)

summary

Added in API level 1
int summary

Constant Value: 16908304 (0x01020010)

switchInputMethod

Added in API level 3
int switchInputMethod

Context menu ID for the "Input Method" menu item to being up the input method picker dialog, allowing the user to switch to another input method.

Constant Value: 16908324 (0x01020024)

tabcontent

Added in API level 1
int tabcontent

Constant Value: 16908305 (0x01020011)

tabhost

Added in API level 1
int tabhost

Constant Value: 16908306 (0x01020012)

tabs

Added in API level 1
int tabs

Constant Value: 16908307 (0x01020013)

text1

Added in API level 1
int text1

Constant Value: 16908308 (0x01020014)

text2

Added in API level 1
int text2

Constant Value: 16908309 (0x01020015)

title

Added in API level 1
int title

Constant Value: 16908310 (0x01020016)

toggle

Added in API level 1
int toggle

Constant Value: 16908311 (0x01020017)

undo

Added in API level 23
int undo

Constant Value: 16908338 (0x01020032)

widget_frame

Added in API level 1
int widget_frame

Constant Value: 16908312 (0x01020018)

Public constructors

R.id

Added in API level 1
R.id ()

This site uses cookies to store your preferences for site-specific language and display options.

Hooray!

This class requires API level or higher

This doc is hidden because your selected API level for the documentation is . You can change the documentation API level with the selector above the left navigation.

For more information about specifying the API level your app requires, read Supporting Different Platform Versions.