Sdílet prostřednictvím


Resource.Color Class

Definition

[Android.Runtime.Register("android/R$color", DoNotGenerateAcw=true)]
public sealed class Resource.Color : Java.Lang.Object
[<Android.Runtime.Register("android/R$color", DoNotGenerateAcw=true)>]
type Resource.Color = class
    inherit Object
Inheritance
Resource.Color
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

Resource.Color()

Fields

BackgroundDark
BackgroundLight
Black
DarkerGray
HoloBlueBright

A really bright Holo shade of blue

HoloBlueDark

A dark Holo shade of blue

HoloBlueLight

A light Holo shade of blue

HoloGreenDark

A dark Holo shade of green

HoloGreenLight

A light Holo shade of green

HoloOrangeDark

A dark Holo shade of orange

HoloOrangeLight

A light Holo shade of orange

HoloPurple

A Holo shade of purple

HoloRedDark

A dark Holo shade of red

HoloRedLight

A light Holo shade of red

PrimaryTextDark
PrimaryTextDarkNoDisable
PrimaryTextLight
PrimaryTextLightNoDisable
SecondaryTextDark
SecondaryTextDarkNoDisable
SecondaryTextLight
SecondaryTextLightNoDisable
SystemAccent10
SystemAccent110
SystemAccent1100
SystemAccent11000
SystemAccent1200
SystemAccent1300
SystemAccent1400
SystemAccent150
SystemAccent1500
SystemAccent1600
SystemAccent1700
SystemAccent1800
SystemAccent1900
SystemAccent20
SystemAccent210
SystemAccent2100
SystemAccent21000
SystemAccent2200
SystemAccent2300
SystemAccent2400
SystemAccent250
SystemAccent2500
SystemAccent2600
SystemAccent2700
SystemAccent2800
SystemAccent2900
SystemAccent30
SystemAccent310
SystemAccent3100
SystemAccent31000
SystemAccent3200
SystemAccent3300
SystemAccent3400
SystemAccent350
SystemAccent3500
SystemAccent3600
SystemAccent3700
SystemAccent3800
SystemAccent3900
SystemBackgroundDark
SystemBackgroundLight
SystemControlActivatedDark
SystemControlActivatedLight
SystemControlHighlightDark
SystemControlHighlightLight
SystemControlNormalDark
SystemControlNormalLight
SystemErrorContainerDark
SystemErrorContainerLight
SystemErrorDark
SystemErrorLight
SystemNeutral10
SystemNeutral110
SystemNeutral1100
SystemNeutral11000
SystemNeutral1200
SystemNeutral1300
SystemNeutral1400
SystemNeutral150
SystemNeutral1500
SystemNeutral1600
SystemNeutral1700
SystemNeutral1800
SystemNeutral1900
SystemNeutral20
SystemNeutral210
SystemNeutral2100
SystemNeutral21000
SystemNeutral2200
SystemNeutral2300
SystemNeutral2400
SystemNeutral250
SystemNeutral2500
SystemNeutral2600
SystemNeutral2700
SystemNeutral2800
SystemNeutral2900
SystemOnBackgroundDark
SystemOnBackgroundLight
SystemOnErrorContainerDark
SystemOnErrorContainerLight
SystemOnErrorDark
SystemOnErrorLight
SystemOnPrimaryContainerDark
SystemOnPrimaryContainerLight
SystemOnPrimaryDark
SystemOnPrimaryFixed
SystemOnPrimaryFixedVariant
SystemOnPrimaryLight
SystemOnSecondaryContainerDark
SystemOnSecondaryContainerLight
SystemOnSecondaryDark
SystemOnSecondaryFixed
SystemOnSecondaryFixedVariant
SystemOnSecondaryLight
SystemOnSurfaceDark
SystemOnSurfaceLight
SystemOnSurfaceVariantDark
SystemOnSurfaceVariantLight
SystemOnTertiaryContainerDark
SystemOnTertiaryContainerLight
SystemOnTertiaryDark
SystemOnTertiaryFixed
SystemOnTertiaryFixedVariant
SystemOnTertiaryLight
SystemOutlineDark
SystemOutlineLight
SystemOutlineVariantDark
SystemOutlineVariantLight
SystemPaletteKeyColorNeutralDark
SystemPaletteKeyColorNeutralLight
SystemPaletteKeyColorNeutralVariantDark
SystemPaletteKeyColorNeutralVariantLight
SystemPaletteKeyColorPrimaryDark
SystemPaletteKeyColorPrimaryLight
SystemPaletteKeyColorSecondaryDark
SystemPaletteKeyColorSecondaryLight
SystemPaletteKeyColorTertiaryDark
SystemPaletteKeyColorTertiaryLight
SystemPrimaryContainerDark
SystemPrimaryContainerLight
SystemPrimaryDark
SystemPrimaryFixed
SystemPrimaryFixedDim
SystemPrimaryLight
SystemSecondaryContainerDark
SystemSecondaryContainerLight
SystemSecondaryDark
SystemSecondaryFixed
SystemSecondaryFixedDim
SystemSecondaryLight
SystemSurfaceBrightDark
SystemSurfaceBrightLight
SystemSurfaceContainerDark
SystemSurfaceContainerHighDark
SystemSurfaceContainerHighestDark
SystemSurfaceContainerHighestLight
SystemSurfaceContainerHighLight
SystemSurfaceContainerLight
SystemSurfaceContainerLowDark
SystemSurfaceContainerLowestDark
SystemSurfaceContainerLowestLight
SystemSurfaceContainerLowLight
SystemSurfaceDark
SystemSurfaceDimDark
SystemSurfaceDimLight
SystemSurfaceLight
SystemSurfaceVariantDark
SystemSurfaceVariantLight
SystemTertiaryContainerDark
SystemTertiaryContainerLight
SystemTertiaryDark
SystemTertiaryFixed
SystemTertiaryFixedDim
SystemTertiaryLight
SystemTextHintInverseDark
SystemTextHintInverseLight
SystemTextPrimaryInverseDark
SystemTextPrimaryInverseDisableOnlyDark
SystemTextPrimaryInverseDisableOnlyLight
SystemTextPrimaryInverseLight
SystemTextSecondaryAndTertiaryInverseDark
SystemTextSecondaryAndTertiaryInverseDisabledDark
SystemTextSecondaryAndTertiaryInverseDisabledLight
SystemTextSecondaryAndTertiaryInverseLight
TabIndicatorText
TertiaryTextDark
TertiaryTextLight
Transparent
White
WidgetEditTextDark

Properties

Class

Returns the runtime class of this Object.

(Inherited from Object)
Handle

The handle to the underlying Android instance.

(Inherited from Object)
JniIdentityHashCode (Inherited from Object)
JniPeerMembers
PeerReference (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

Clone()

Creates and returns a copy of this object.

(Inherited from Object)
Dispose() (Inherited from Object)
Dispose(Boolean) (Inherited from Object)
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)
ToArray<T>() (Inherited from Object)
ToString()

Returns a string representation of the object.

(Inherited from Object)
UnregisterFromRuntime() (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

IJavaPeerable.Disposed() (Inherited from Object)
IJavaPeerable.DisposeUnlessReferenced() (Inherited from Object)
IJavaPeerable.Finalized() (Inherited from Object)
IJavaPeerable.JniManagedPeerState (Inherited from Object)
IJavaPeerable.SetJniIdentityHashCode(Int32) (Inherited from Object)
IJavaPeerable.SetJniManagedPeerState(JniManagedPeerStates) (Inherited from Object)
IJavaPeerable.SetPeerReference(JniObjectReference) (Inherited from Object)

Extension Methods

JavaCast<TResult>(IJavaObject)

Performs an Android runtime-checked type conversion.

JavaCast<TResult>(IJavaObject)
GetJniTypeName(IJavaPeerable)

Applies to