View.SetScrollContainer(Boolean) 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
更改此視圖是否屬於視窗中可滾動容器的集合。
[Android.Runtime.Register("setScrollContainer", "(Z)V", "GetSetScrollContainer_ZHandler")]
public virtual void SetScrollContainer(bool isScrollContainer);
[<Android.Runtime.Register("setScrollContainer", "(Z)V", "GetSetScrollContainer_ZHandler")>]
abstract member SetScrollContainer : bool -> unit
override this.SetScrollContainer : bool -> unit
參數
- isScrollContainer
- Boolean
System.Boolean 的值是 scroll container。
- 屬性
備註
更改此視圖是否屬於視窗中可滾動容器的集合。 這會用來判斷視窗是否能調整大小,或是在軟輸入區開啟時必須平移——可捲動的容器允許視窗使用調整大小模式,因為容器會適當地縮小。
的 android.view.View.setScrollContainer(boolean)Java 檔。
此頁面的部分是根據 Android 開放原始碼專案所建立和共用的工作進行修改,並根據 Creative Commons 2.5 屬性授權中所述的詞彙使用。