File tree Expand file tree Collapse file tree 6 files changed +42
-0
lines changed
core/java/android/preference Expand file tree Collapse file tree 6 files changed +42
-0
lines changed Original file line number Diff line number Diff line change 5555 * {@link SharedPreferences}. It is up to the subclass to decide how to store
5656 * the value.
5757 *
58+ * <div class="special reference">
59+ * <h3>Developer Guides</h3>
60+ * <p>For information about building a settings UI with Preferences,
61+ * read the <a href="{@docRoot}guide/topics/ui/settings.html">Settings</a>
62+ * guide.</p>
63+ * </div>
64+ *
5865 * @attr ref android.R.styleable#Preference_icon
5966 * @attr ref android.R.styleable#Preference_key
6067 * @attr ref android.R.styleable#Preference_title
Original file line number Diff line number Diff line change 8484 * items. Doing this implicitly switches the class into its new "headers
8585 * + fragments" mode rather than the old style of just showing a single
8686 * preferences list.
87+ *
88+ * <div class="special reference">
89+ * <h3>Developer Guides</h3>
90+ * <p>For information about using {@code PreferenceActivity},
91+ * read the <a href="{@docRoot}guide/topics/ui/settings.html">Settings</a>
92+ * guide.</p>
93+ * </div>
8794 *
8895 * <a name="SampleCode"></a>
8996 * <h3>Sample Code</h3>
Original file line number Diff line number Diff line change 2424/**
2525 * Used to group {@link Preference} objects
2626 * and provide a disabled title above the group.
27+ *
28+ * <div class="special reference">
29+ * <h3>Developer Guides</h3>
30+ * <p>For information about building a settings UI with Preferences,
31+ * read the <a href="{@docRoot}guide/topics/ui/settings.html">Settings</a>
32+ * guide.</p>
33+ * </div>
2734 */
2835public class PreferenceCategory extends PreferenceGroup {
2936 private static final String TAG = "PreferenceCategory" ;
Original file line number Diff line number Diff line change 7474 * As a convenience, this fragment implements a click listener for any
7575 * preference in the current hierarchy, see
7676 * {@link #onPreferenceTreeClick(PreferenceScreen, Preference)}.
77+ *
78+ * <div class="special reference">
79+ * <h3>Developer Guides</h3>
80+ * <p>For information about using {@code PreferenceFragment},
81+ * read the <a href="{@docRoot}guide/topics/ui/settings.html">Settings</a>
82+ * guide.</p>
83+ * </div>
7784 *
7885 * <a name="SampleCode"></a>
7986 * <h3>Sample Code</h3>
Original file line number Diff line number Diff line change 3333 * {@link Preference} objects. It is a base class for Preference objects that are
3434 * parents, such as {@link PreferenceCategory} and {@link PreferenceScreen}.
3535 *
36+ * <div class="special reference">
37+ * <h3>Developer Guides</h3>
38+ * <p>For information about building a settings UI with Preferences,
39+ * read the <a href="{@docRoot}guide/topics/ui/settings.html">Settings</a>
40+ * guide.</p>
41+ * </div>
42+ *
3643 * @attr ref android.R.styleable#PreferenceGroup_orderingFromXml
3744 */
3845public abstract class PreferenceGroup extends Preference implements GenericInflater .Parent <Preference > {
Original file line number Diff line number Diff line change 7575 * clicked will show another screen of preferences such as "Prefer WiFi" (and
7676 * the other preferences that are children of the "second_preferencescreen" tag).
7777 *
78+ * <div class="special reference">
79+ * <h3>Developer Guides</h3>
80+ * <p>For information about building a settings UI with Preferences,
81+ * read the <a href="{@docRoot}guide/topics/ui/settings.html">Settings</a>
82+ * guide.</p>
83+ * </div>
84+ *
7885 * @see PreferenceCategory
7986 */
8087public final class PreferenceScreen extends PreferenceGroup implements AdapterView .OnItemClickListener ,
You can’t perform that action at this time.
0 commit comments