語言

AdaptiveIconDrawable 建構函式

定義

多載

名稱 Description
AdaptiveIconDrawable(Drawable, Drawable)

Constructor 曾用來動態建立這個可繪製物件。

AdaptiveIconDrawable(IntPtr, JniHandleOwnership)
AdaptiveIconDrawable(Drawable, Drawable, Drawable)

Constructor 曾用來動態建立這個可繪製物件。

AdaptiveIconDrawable(Drawable, Drawable)

Constructor 曾用來動態建立這個可繪製物件。

[Android.Runtime.Register(".ctor", "(Landroid/graphics/drawable/Drawable;Landroid/graphics/drawable/Drawable;)V", "", ApiSince=26)]
public AdaptiveIconDrawable(Android.Graphics.Drawables.Drawable? backgroundDrawable, Android.Graphics.Drawables.Drawable? foregroundDrawable);
[<Android.Runtime.Register(".ctor", "(Landroid/graphics/drawable/Drawable;Landroid/graphics/drawable/Drawable;)V", "", ApiSince=26)>]
new Android.Graphics.Drawables.AdaptiveIconDrawable : Android.Graphics.Drawables.Drawable * Android.Graphics.Drawables.Drawable -> Android.Graphics.Drawables.AdaptiveIconDrawable

參數

backgroundDrawable
Drawable

可繪製的,應該在背景中渲染

foregroundDrawable
Drawable

可繪製的圖示應該渲染在前景

屬性

備註

Constructor 曾用來動態建立這個可繪製物件。

Java 文件 android.graphics.drawable.AdaptiveIconDrawable.AdaptiveIconDrawable(android.graphics.drawable.Drawable, android.graphics.drawable.Drawable)。

本頁部分內容為基於 Open Source Project 所創建與分享的作品,並依授權條款所描述的使用進行修改。

適用於

AdaptiveIconDrawable(IntPtr, JniHandleOwnership)

protected AdaptiveIconDrawable(IntPtr javaReference, Android.Runtime.JniHandleOwnership transfer);
new Android.Graphics.Drawables.AdaptiveIconDrawable : nativeint * Android.Runtime.JniHandleOwnership -> Android.Graphics.Drawables.AdaptiveIconDrawable

參數

javaReference
IntPtr

nativeint

備註

本頁部分內容為基於 Open Source Project 所創建與分享的作品,並依授權條款所描述的使用進行修改。

適用於

AdaptiveIconDrawable(Drawable, Drawable, Drawable)

Constructor 曾用來動態建立這個可繪製物件。

[Android.Runtime.Register(".ctor", "(Landroid/graphics/drawable/Drawable;Landroid/graphics/drawable/Drawable;Landroid/graphics/drawable/Drawable;)V", "", ApiSince=33)]
public AdaptiveIconDrawable(Android.Graphics.Drawables.Drawable? backgroundDrawable, Android.Graphics.Drawables.Drawable? foregroundDrawable, Android.Graphics.Drawables.Drawable? monochromeDrawable);
[<Android.Runtime.Register(".ctor", "(Landroid/graphics/drawable/Drawable;Landroid/graphics/drawable/Drawable;Landroid/graphics/drawable/Drawable;)V", "", ApiSince=33)>]
new Android.Graphics.Drawables.AdaptiveIconDrawable : Android.Graphics.Drawables.Drawable * Android.Graphics.Drawables.Drawable * Android.Graphics.Drawables.Drawable -> Android.Graphics.Drawables.AdaptiveIconDrawable

參數

backgroundDrawable
Drawable

可繪製的,應該在背景中渲染

foregroundDrawable
Drawable

可繪製的圖示應該渲染在前景

monochromeDrawable
Drawable

一個可依系統主題顏色調整色調的替代繪製圖

屬性

備註

Constructor 曾用來動態建立這個可繪製物件。

Java 文件 android.graphics.drawable.AdaptiveIconDrawable.AdaptiveIconDrawable(android.graphics.drawable.Drawable, android.graphics.drawable.Drawable, android.graphics.drawable.Drawable)。

本頁部分內容為基於 Open Source Project 所創建與分享的作品,並依授權條款所描述的使用進行修改。

適用於