Resource.Id Class

Definition

Provides identifiers for platform ID resources.

[Android.Runtime.Register("android/R$id", DoNotGenerateAcw=true)]
public sealed class Resource.Id : Java.Lang.Object
[<Android.Runtime.Register("android/R$id", DoNotGenerateAcw=true)>]
type Resource.Id = class
    inherit Object
Inheritance
Resource.Id
Attributes

Remarks

Android platform documentation

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Constructors

Name Description
Resource.Id()

Fields

Name Description
AccessibilityActionContextClick

Identifies the platform id resource named accessibilityActionContextClick.

AccessibilityActionDragCancel

Identifies the platform id resource named accessibilityActionDragCancel.

AccessibilityActionDragDrop

Identifies the platform id resource named accessibilityActionDragDrop.

AccessibilityActionDragStart

Identifies the platform id resource named accessibilityActionDragStart.

AccessibilityActionHideTooltip

Identifies the platform id resource named accessibilityActionHideTooltip.

AccessibilityActionImeEnter

Identifies the platform id resource named accessibilityActionImeEnter.

AccessibilityActionMoveWindow

Identifies the platform id resource named accessibilityActionMoveWindow.

AccessibilityActionPageDown

Identifies the platform id resource named accessibilityActionPageDown.

AccessibilityActionPageLeft

Identifies the platform id resource named accessibilityActionPageLeft.

AccessibilityActionPageRight

Identifies the platform id resource named accessibilityActionPageRight.

AccessibilityActionPageUp

Identifies the platform id resource named accessibilityActionPageUp.

AccessibilityActionPressAndHold

Identifies the platform id resource named accessibilityActionPressAndHold.

AccessibilityActionScrollDown

Identifies the platform id resource named accessibilityActionScrollDown.

AccessibilityActionScrollInDirection

Identifies the platform id resource named accessibilityActionScrollInDirection.

AccessibilityActionScrollLeft

Identifies the platform id resource named accessibilityActionScrollLeft.

AccessibilityActionScrollRight

Identifies the platform id resource named accessibilityActionScrollRight.

AccessibilityActionScrollToPosition

Identifies the platform id resource named accessibilityActionScrollToPosition.

AccessibilityActionScrollUp

Identifies the platform id resource named accessibilityActionScrollUp.

AccessibilityActionSetExtendedSelection
AccessibilityActionSetProgress

Identifies the platform id resource named accessibilityActionSetProgress.

AccessibilityActionShowOnScreen

Identifies the platform id resource named accessibilityActionShowOnScreen.

AccessibilityActionShowTextSuggestions

Identifies the platform id resource named accessibilityActionShowTextSuggestions.

AccessibilityActionShowTooltip

Identifies the platform id resource named accessibilityActionShowTooltip.

AccessibilitySystemActionBack

Identifies the platform id resource named accessibilitySystemActionBack.

AccessibilitySystemActionHome

Identifies the platform id resource named accessibilitySystemActionHome.

AccessibilitySystemActionLockScreen

Identifies the platform id resource named accessibilitySystemActionLockScreen.

AccessibilitySystemActionNotifications

Identifies the platform id resource named accessibilitySystemActionNotifications.

AccessibilitySystemActionPowerDialog

Identifies the platform id resource named accessibilitySystemActionPowerDialog.

AccessibilitySystemActionQuickSettings

Identifies the platform id resource named accessibilitySystemActionQuickSettings.

AccessibilitySystemActionRecents

Identifies the platform id resource named accessibilitySystemActionRecents.

AccessibilitySystemActionTakeScreenshot

Identifies the platform id resource named accessibilitySystemActionTakeScreenshot.

AccessibilitySystemActionToggleSplitScreen

Identifies the platform id resource named accessibilitySystemActionToggleSplitScreen.

AddToDictionary

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

Autofill

Identifies the platform id resource named autofill.

Background
Bold

Identifies the platform id resource named bold.

Button1
Button2
Button3
CandidatesArea

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

Checkbox
CloseButton

View ID of a View to close a popup keyboard

Content
Copy

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

CopyUrl

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

Custom
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.

Edit
Empty
ExtractArea

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

Hint
Home
Icon
Icon1
Icon2
IconFrame

Identifies the platform id resource named icon_frame.

Input
InputArea

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

InputExtractAccessories

Identifies the platform id resource named inputExtractAccessories.

InputExtractAction

Identifies the platform id resource named inputExtractAction.

InputExtractEditText

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

Italic

Identifies the platform id resource named italic.

KeyboardView

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

List
ListContainer

Identifies the platform id resource named list_container.

Mask

Identifies the platform id resource named mask.

Message
NavigationBarBackground

Identifies the platform id resource named navigationBarBackground.

Paste

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

PasteAsPlainText

Identifies the platform id resource named pasteAsPlainText.

Primary
Progress
Redo

Identifies the platform id resource named redo.

ReplaceText

Identifies the platform id resource named replaceText.

SecondaryProgress
SelectAll

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

SelectedIcon
SelectTextMode

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

ShareText

Identifies the platform id resource named shareText.

StartSelectingText

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

StatusBarBackground

Identifies the platform id resource named statusBarBackground.

StopSelectingText

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

Summary
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.

SwitchWidget

Identifies the platform id resource named switch_widget.

TabContent
TabHost
Tabs
Text1
Text2
TextAssist

Identifies the platform id resource named textAssist.

Title
Toggle
Underline

Identifies the platform id resource named underline.

Undo

Identifies the platform id resource named undo.

WidgetFrame

Properties

Name Description
Class

Returns the runtime class of this Object.

(Inherited from Object)
Handle

The handle to the underlying Android instance.

(Inherited from Object)
JniIdentityHashCode

Gets the identity hash code assigned to this Java peer by the interop runtime.

(Inherited from Object)
JniManagedPeerState (Inherited from JavaObject)
JniPeerMembers

Provides the JNI peer metadata for this type.

PeerReference

Gets the JNI object reference for this Java peer.

(Inherited from Object)
ThresholdClass

This API supports the Mono for Android infrastructure and is not intended to be used directly from your code.

(Inherited from Object)
ThresholdType

This API supports the Mono for Android infrastructure and is not intended to be used directly from your code.

(Inherited from Object)

Methods

Name Description
Clone()

Creates and returns a copy of this object.

(Inherited from Object)
Construct(JniObjectReference, JniObjectReferenceOptions) (Inherited from JavaObject)
Dispose()

Releases the resources held by this Java peer.

(Inherited from Object)
Dispose(Boolean)

Releases the resources held by this Java peer.

(Inherited from Object)
DisposeUnlessReferenced() (Inherited from JavaObject)
Equals(Object) (Inherited from JavaObject)
Equals(Object)

Indicates whether some other object is "equal to" this one.

(Inherited from Object)
GetHashCode()

Returns a hash code value for the object.

(Inherited from Object)
JavaFinalize()

Called by the garbage collector on an object when garbage collection determines that there are no more references to the object.

(Inherited from Object)
Notify()

Wakes up a single thread that is waiting on this object's monitor.

(Inherited from Object)
NotifyAll()

Wakes up all threads that are waiting on this object's monitor.

(Inherited from Object)
SetHandle(IntPtr, JniHandleOwnership)

Sets the Handle property.

(Inherited from Object)
SetPeerReference(JniObjectReference, JniObjectReferenceOptions) (Inherited from JavaObject)
ToArray<T>()

Creates a managed array from this Java array wrapper.

(Inherited from Object)
ToString()

Returns a string representation of the object.

(Inherited from Object)
UnregisterFromRuntime()

Unregisters this Java peer from the interop runtime.

(Inherited from Object)
Wait()

Causes the current thread to wait until it is awakened, typically by being <em>notified</em> or <em>interrupted</em>.

(Inherited from Object)
Wait(Int64, Int32)

Causes the current thread to wait until it is awakened, typically by being <em>notified</em> or <em>interrupted</em>, or until a certain amount of real time has elapsed.

(Inherited from Object)
Wait(Int64)

Causes the current thread to wait until it is awakened, typically by being <em>notified</em> or <em>interrupted</em>, or until a certain amount of real time has elapsed.

(Inherited from Object)

Explicit Interface Implementations

Name Description
IJavaPeerable.Disposed() (Inherited from JavaObject)
IJavaPeerable.Finalized() (Inherited from JavaObject)
IJavaPeerable.JniObjectReferenceControlBlock (Inherited from JavaObject)
IJavaPeerable.SetJniIdentityHashCode(Int32) (Inherited from JavaObject)
IJavaPeerable.SetJniManagedPeerState(JniManagedPeerStates) (Inherited from JavaObject)
IJavaPeerable.SetPeerReference(JniObjectReference) (Inherited from JavaObject)

Extension Methods

Name Description
GetJniTypeName(IJavaPeerable)

Gets the JNI name of the type of the instance self.

JavaAs<TResult>(IJavaPeerable)

Try to coerce self to type TResult, checking that the coercion is valid on the Java side.

JavaCast<TResult>(IJavaObject)

Performs an Android runtime-checked type conversion.

JavaCast<TResult>(IJavaObject)
TryJavaCast<TResult>(IJavaPeerable, TResult)

Try to coerce self to type TResult, checking that the coercion is valid on the Java side.

Applies to