Android.Text.TextUtils.CommaEllipsizeFormatted Method
Converts a CharSequence of the comma-separated form "Andy, Bob, Charles, David" that is too wide to fit into the specified width into one like "Andy, Bob, 2 more".

Syntax

[Android.Runtime.Register("commaEllipsize", "(Ljava/lang/CharSequence;Landroid/text/TextPaint;FLjava/lang/String;Ljava/lang/String;)Ljava/lang/CharSequence;", "")]
public static Java.Lang.ICharSequence CommaEllipsizeFormatted (Java.Lang.ICharSequence text, TextPaint p, float avail, string oneMore, string more)

Parameters

text
the text to truncate
p
the Paint with which to measure the text
avail
the horizontal width available for the text
oneMore
the string for "1 more" in the current locale
more
the string for "%d more" in the current locale

Returns

Documentation for this section has not yet been entered.

Remarks

Converts a CharSequence of the comma-separated form "Andy, Bob, Charles, David" that is too wide to fit into the specified width into one like "Andy, Bob, 2 more".

[Android Documentation]

Requirements

Namespace: Android.Text
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0
Since: Added in API level 1