Share via


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 平臺檔

此頁面的部分是根據 原始碼專案所建立和共用的工作進行修改,並根據中所述的詞彙使用。

建構函式

Resource.Color()

欄位

BackgroundDark
BackgroundLight
Black
DarkerGray
HoloBlueBright

藍色的真亮全像陰影

HoloBlueDark

藍色的深色 Holo 陰影

HoloBlueLight

藍色的淺色全像陰影

HoloGreenDark

綠色深色全像陰影

HoloGreenLight

綠色的淺全像陰影

HoloOrangeDark

橙色深色全像陰影

HoloOrangeLight

橙色的淺色全像陰影

HoloPurple

紫色的全像陰影

HoloRedDark

紅色深色全像陰影

HoloRedLight

紅色的淺色全像陰影

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 > notified < /em > 或 < em > interrupted < /em > 來喚醒。

(繼承來源 Object)
Wait(Int64)

讓目前的執行緒等到喚醒為止,通常是 < 透過 em > notified < /em 或 em > interrupted < /em >> ,或 < 直到經過一定數量的即時為止。

(繼承來源 Object)
Wait(Int64, Int32)

讓目前的執行緒等到喚醒為止,通常是 < 透過 em > notified < /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)

適用於