Toolbar.ContentInsetEndWithActions 屬性
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
當動作按鈕出現時,能取得最後內容的內嵌。 -或- 設定開始內容嵌入,當動作按鈕存在時使用。
public virtual int ContentInsetEndWithActions { [Android.Runtime.Register("getContentInsetEndWithActions", "()I", "GetGetContentInsetEndWithActionsHandler", ApiSince=24)] get; [Android.Runtime.Register("setContentInsetEndWithActions", "(I)V", "GetSetContentInsetEndWithActions_IHandler", ApiSince=24)] set; }
[<get: Android.Runtime.Register("getContentInsetEndWithActions", "()I", "GetGetContentInsetEndWithActionsHandler", ApiSince=24)>]
[<set: Android.Runtime.Register("setContentInsetEndWithActions", "(I)V", "GetSetContentInsetEndWithActions_IHandler", ApiSince=24)>]
member this.ContentInsetEndWithActions : int with get, set
屬性值
當選單以像素為單位時,會用到最後的內容插入
- 屬性
備註
財產取得者文件:
當動作按鈕出現時,能取得最後內容的內嵌。
當工具列中出現額外按鈕,或工具列大小不同時,常會要求不同的內容插入。 較大的 值 #getContentInsetEnd() 和 這個值會在佈局時使用。
Java 文件 android.widget.Toolbar.getContentInsetEndWithActions()。
屬性設定文件:
設定開始內容嵌入在動作按鈕出現時使用。
當工具列中出現額外按鈕,或工具列大小不同時,常會要求不同的內容插入。 較大的 值 #getContentInsetEnd() 和 這個值會在佈局時使用。
Java 文件 android.widget.Toolbar.setContentInsetEndWithActions(int)。
此頁面的部分是根據 Android 開放原始碼專案所建立和共用的工作進行修改,並根據 Creative Commons 2.5 屬性授權中所述的詞彙使用。