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