Language

LineBreakConfig.LineBreakStyleAuto フィールド

定義

注意事項

This constant will be removed in the future version. Use Android.Graphics.Text.LineBreakStyle enum directly instead of this field.

改行スタイル オプションの特別な値。

[Android.Runtime.Register("LINE_BREAK_STYLE_AUTO", ApiSince=35)]
[System.Obsolete("This constant will be removed in the future version. Use Android.Graphics.Text.LineBreakStyle enum directly instead of this field.", true)]
public const Android.Graphics.Text.LineBreakStyle LineBreakStyleAuto = 5;
[<Android.Runtime.Register("LINE_BREAK_STYLE_AUTO", ApiSince=35)>]
[<System.Obsolete("This constant will be removed in the future version. Use Android.Graphics.Text.LineBreakStyle enum directly instead of this field.", true)>]
val mutable LineBreakStyleAuto : Android.Graphics.Text.LineBreakStyle

フィールド値

Value = 5

実装

属性

注釈

改行スタイル オプションの特別な値。

改行スタイルの自動オプションは、テキストレンダリングコンテキストのロケールに基づいて改行スタイルを設定します。 コンテキスト ロケールは、 android.widget.TextView#setTextLocales(LocaleList) または android.graphics.Paint#setTextLocales(LocaleList)で指定できます。

API Build.VERSION_CODES#VANILLA_ICE_CREAMでは、自動オプションは次の処理を行います。 - ロケール リスト内の少なくとも 1 つのロケールに日本語スクリプトが含まれている場合、このオプションは #LINE_BREAK_STYLE_STRICTと同じです。 - それ以外の場合、このオプションは #LINE_BREAK_STYLE_NONEと同じです。

注: 今後のバージョンでは、他のロケールに対して特別な改行スタイルルールが適用される場合があります。

Javaドキュメント。

このページの一部は、によって作成および共有され、に記載されている条件に従って使用される作業に基づく変更です。

適用対象