Resource.Color 类

定义

[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
继承
Resource.Color
属性

注解

Android 平台文档

本页的某些部分是根据 Android 开放源代码项目创建和共享的工作进行的修改,并根据 Creative Commons 2.5 属性许可证中所述的术语使用。

构造函数

Resource.Color()

字段

BackgroundDark
BackgroundLight
Black
DarkerGray
HoloBlueBright

蓝色的真亮 Holo 阴影

HoloBlueDark

深蓝色的 Holo 阴影

HoloBlueLight

浅蓝色的 Holo 阴影

HoloGreenDark

深色的 Holo 阴影绿色

HoloGreenLight

绿色的浅 Holo 阴影

HoloOrangeDark

橙色的深色 Holo 阴影

HoloOrangeLight

橙色的浅 Holo 阴影

HoloPurple

紫色的 Holo 阴影

HoloRedDark

深色的 Holo 阴影

HoloRedLight

浅色的 Holo 阴影

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

属性

Class

返回此 Object的运行时类。

(继承自 Object)
Handle

基础 Android 实例的句柄。

(继承自 Object)
JniIdentityHashCode (继承自 Object)
JniPeerMembers
PeerReference (继承自 Object)
ThresholdClass

此 API 支持 Mono for Android 基础结构,不打算直接从代码使用。

(继承自 Object)
ThresholdType

此 API 支持 Mono for Android 基础结构,不打算直接从代码使用。

(继承自 Object)

方法

Clone()

创建并返回此对象的副本。

(继承自 Object)
Dispose() (继承自 Object)
Dispose(Boolean) (继承自 Object)
Equals(Object)

指示其他对象是否“等于”此对象。

(继承自 Object)
GetHashCode()

返回对象的哈希代码值。

(继承自 Object)
JavaFinalize()

当垃圾回收确定不再引用该对象时,由对象上的垃圾回收器调用。

(继承自 Object)
Notify()

唤醒正在等待此对象的监视器的单个线程。

(继承自 Object)
NotifyAll()

唤醒正在等待此对象的监视器的所有线程。

(继承自 Object)
SetHandle(IntPtr, JniHandleOwnership)

设置 Handle 属性。

(继承自 Object)
ToArray<T>() (继承自 Object)
ToString()

返回对象的字符串表示形式。

(继承自 Object)
UnregisterFromRuntime() (继承自 Object)
Wait()

使当前线程等待,直到唤醒它,通常是通过 em 通知/em> 或 <em>interrupted</em>。<><

(继承自 Object)
Wait(Int64)

使当前线程等待直到唤醒,通常是通过 <em>通知</em> 或 <em interrupted</em>>,或直到经过一定数量的实时。

(继承自 Object)
Wait(Int64, Int32)

使当前线程等待直到唤醒,通常是通过 <em>通知</em> 或 <em interrupted</em>>,或直到经过一定数量的实时。

(继承自 Object)

显式接口实现

IJavaPeerable.Disposed() (继承自 Object)
IJavaPeerable.DisposeUnlessReferenced() (继承自 Object)
IJavaPeerable.Finalized() (继承自 Object)
IJavaPeerable.JniManagedPeerState (继承自 Object)
IJavaPeerable.SetJniIdentityHashCode(Int32) (继承自 Object)
IJavaPeerable.SetJniManagedPeerState(JniManagedPeerStates) (继承自 Object)
IJavaPeerable.SetPeerReference(JniObjectReference) (继承自 Object)

扩展方法

JavaCast<TResult>(IJavaObject)

执行 Android 运行时检查的类型转换。

JavaCast<TResult>(IJavaObject)
GetJniTypeName(IJavaPeerable)

适用于