C# 클래스 JoanZapata.XamarinIconify.Iconify

파일 보기 프로젝트 열기: PragmaticIT/xiconify 1 사용 예제들

공개 메소드들

메소드 설명
AddIcons ( ) : void

Replace "{}" tags in the given text views With actual icons, requesting the IconFontDescriptors one after the others.

This is a one time call. If you call TextView#setText(CharSequence) after this, you'll need to call it again.

Compute ( Android.Content.Context context, ICharSequence text ) : ICharSequence
Compute ( Android.Content.Context context, ICharSequence text, Android.Widget.TextView target ) : ICharSequence
FindTypefaceOf ( Icon icon ) : IconFontDescriptorWrapper

Finds the Typeface to apply for a given icon.

With ( IIconFontDescriptor iconFontDescriptor ) : IconifyInitializer

Add support for a new icon font.

비공개 메소드들

메소드 설명
AddIconFontDescriptor ( IIconFontDescriptor iconFontDescriptor ) : void
FindIconForKey ( string iconKey ) : Icon?

Retrieve an icon from a key,

메소드 상세

AddIcons() 공개 정적인 메소드

Replace "{}" tags in the given text views With actual icons, requesting the IconFontDescriptors one after the others.

This is a one time call. If you call TextView#setText(CharSequence) after this, you'll need to call it again.

public static AddIcons ( ) : void
리턴 void

Compute() 공개 정적인 메소드

public static Compute ( Android.Content.Context context, ICharSequence text ) : ICharSequence
context Android.Content.Context
text ICharSequence
리턴 ICharSequence

Compute() 공개 정적인 메소드

public static Compute ( Android.Content.Context context, ICharSequence text, Android.Widget.TextView target ) : ICharSequence
context Android.Content.Context
text ICharSequence
target Android.Widget.TextView
리턴 ICharSequence

FindTypefaceOf() 공개 정적인 메소드

Finds the Typeface to apply for a given icon.
public static FindTypefaceOf ( Icon icon ) : IconFontDescriptorWrapper
icon Icon The icon for which you need the typeface.
리턴 JoanZapata.XamarinIconify.Internal.IconFontDescriptorWrapper

With() 공개 정적인 메소드

Add support for a new icon font.
public static With ( IIconFontDescriptor iconFontDescriptor ) : IconifyInitializer
iconFontDescriptor IIconFontDescriptor The IconDescriptor holding the ttf file reference and its mappings.
리턴 IconifyInitializer