Please note that the contents of this offline web site may be out of date. To access the most recent documentation visit the online version .
Note that links that point to online resources are green in color and will open in a new window.
We would love it if you could give us feedback about this material by filling this form (You have to be online to fill it)
Android APIs
public static final class

R.id

extends Object
java.lang.Object
   ↳ android.R.id

Summary

Constants
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 message
int paste Context menu ID for the "Paste" menu item to copy the current contents of the clipboard into the text view.
int primary
int progress
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 startSelectingText Menu ID to perform a "start selecting text" operation.
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 widget_frame
Public Constructors
R.id ()
[Expand]
Inherited Methods
From class java.lang.Object

Constants

public static final int addToDictionary

Added in API level 3

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

Constant Value: 16908330 (0x0102002a)

public static final int background

Added in API level 1

Constant Value: 16908288 (0x01020000)

public static final int button1

Added in API level 1

Constant Value: 16908313 (0x01020019)

public static final int button2

Added in API level 1

Constant Value: 16908314 (0x0102001a)

public static final int button3

Added in API level 1

Constant Value: 16908315 (0x0102001b)

public static final int candidatesArea

Added in API level 3

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)

public static final int checkbox

Added in API level 1

Constant Value: 16908289 (0x01020001)

public static final int closeButton

Added in API level 3

View ID of a View to close a popup keyboard

Constant Value: 16908327 (0x01020027)

public static final int content

Added in API level 1

Constant Value: 16908290 (0x01020002)

public static final int copy

Added in API level 3

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)

public static final int copyUrl

Added in API level 3

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)

public static final int custom

Added in API level 8

Constant Value: 16908331 (0x0102002b)

public static final int cut

Added in API level 3

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)

public static final int edit

Added in API level 1

Constant Value: 16908291 (0x01020003)

public static final int empty

Added in API level 1

Constant Value: 16908292 (0x01020004)

public static final int extractArea

Added in API level 3

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)

public static final int hint

Added in API level 1

Constant Value: 16908293 (0x01020005)

public static final int home

Constant Value: 16908332 (0x0102002c)

public static final int icon

Added in API level 1

Constant Value: 16908294 (0x01020006)

public static final int icon1

Added in API level 1

Constant Value: 16908295 (0x01020007)

public static final int icon2

Added in API level 1

Constant Value: 16908296 (0x01020008)

public static final int input

Added in API level 1

Constant Value: 16908297 (0x01020009)

public static final int inputArea

Added in API level 3

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

Constant Value: 16908318 (0x0102001e)

public static final int inputExtractEditText

Added in API level 3

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

Constant Value: 16908325 (0x01020025)

public static final int keyboardView

Added in API level 3

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

Constant Value: 16908326 (0x01020026)

public static final int list

Added in API level 1

Constant Value: 16908298 (0x0102000a)

public static final int message

Added in API level 1

Constant Value: 16908299 (0x0102000b)

public static final int paste

Added in API level 3

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

Constant Value: 16908322 (0x01020022)

public static final int primary

Added in API level 1

Constant Value: 16908300 (0x0102000c)

public static final int progress

Added in API level 1

Constant Value: 16908301 (0x0102000d)

public static final int secondaryProgress

Added in API level 1

Constant Value: 16908303 (0x0102000f)

public static final int selectAll

Added in API level 3

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

Constant Value: 16908319 (0x0102001f)

public static final 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)

public static final int selectedIcon

Added in API level 1

Constant Value: 16908302 (0x0102000e)

public static final int startSelectingText

Added in API level 3

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

Constant Value: 16908328 (0x01020028)

public static final int stopSelectingText

Added in API level 3

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

Constant Value: 16908329 (0x01020029)

public static final int summary

Added in API level 1

Constant Value: 16908304 (0x01020010)

public static final int switchInputMethod

Added in API level 3

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)

public static final int tabcontent

Added in API level 1

Constant Value: 16908305 (0x01020011)

public static final int tabhost

Added in API level 1

Constant Value: 16908306 (0x01020012)

public static final int tabs

Added in API level 1

Constant Value: 16908307 (0x01020013)

public static final int text1

Added in API level 1

Constant Value: 16908308 (0x01020014)

public static final int text2

Added in API level 1

Constant Value: 16908309 (0x01020015)

public static final int title

Added in API level 1

Constant Value: 16908310 (0x01020016)

public static final int toggle

Added in API level 1

Constant Value: 16908311 (0x01020017)

public static final int widget_frame

Added in API level 1

Constant Value: 16908312 (0x01020018)

Public Constructors

public R.id ()

Added in API level 1