PreferenceActivity.ExtraShowFragment 欄位

定義

啟動此活動時,叫用意圖可以包含這個額外的字串,以指定應該一開始顯示的片段。

[Android.Runtime.Register("EXTRA_SHOW_FRAGMENT")]
public const string ExtraShowFragment;
[<Android.Runtime.Register("EXTRA_SHOW_FRAGMENT")>]
val mutable ExtraShowFragment : string

欄位值

屬性

備註

啟動此活動時,叫用意圖可以包含這個額外的字串,以指定應該一開始顯示的片段。 <p/ > Starting from Key Lime Pie, when this argument is passed in, the PreferenceActivity will call isValidFragment () to confirm the fragment class name is valid for this activity.

android.preference.PreferenceActivity.EXTRA_SHOW_FRAGMENT JAVA 檔。

此頁面的部分是根據所建立和共用的工作進行修改,並根據 2.5 屬性授權中所述的詞彙來使用。

適用於