* commit '527d14dc3c2fd72f1cdfaaa7e249456778fe93e4': docs: add links to new Settings dev guide
This commit is contained in:
@@ -55,6 +55,13 @@ import java.util.Set;
|
|||||||
* {@link SharedPreferences}. It is up to the subclass to decide how to store
|
* {@link SharedPreferences}. It is up to the subclass to decide how to store
|
||||||
* the value.
|
* the value.
|
||||||
*
|
*
|
||||||
|
* <div class="special reference">
|
||||||
|
* <h3>Developer Guides</h3>
|
||||||
|
* <p>For information about building a settings UI with Preferences,
|
||||||
|
* read the <a href="{@docRoot}guide/topics/ui/settings.html">Settings</a>
|
||||||
|
* guide.</p>
|
||||||
|
* </div>
|
||||||
|
*
|
||||||
* @attr ref android.R.styleable#Preference_icon
|
* @attr ref android.R.styleable#Preference_icon
|
||||||
* @attr ref android.R.styleable#Preference_key
|
* @attr ref android.R.styleable#Preference_key
|
||||||
* @attr ref android.R.styleable#Preference_title
|
* @attr ref android.R.styleable#Preference_title
|
||||||
|
|||||||
@@ -84,6 +84,13 @@ import java.util.List;
|
|||||||
* items. Doing this implicitly switches the class into its new "headers
|
* items. Doing this implicitly switches the class into its new "headers
|
||||||
* + fragments" mode rather than the old style of just showing a single
|
* + fragments" mode rather than the old style of just showing a single
|
||||||
* preferences list.
|
* preferences list.
|
||||||
|
*
|
||||||
|
* <div class="special reference">
|
||||||
|
* <h3>Developer Guides</h3>
|
||||||
|
* <p>For information about using {@code PreferenceActivity},
|
||||||
|
* read the <a href="{@docRoot}guide/topics/ui/settings.html">Settings</a>
|
||||||
|
* guide.</p>
|
||||||
|
* </div>
|
||||||
*
|
*
|
||||||
* <a name="SampleCode"></a>
|
* <a name="SampleCode"></a>
|
||||||
* <h3>Sample Code</h3>
|
* <h3>Sample Code</h3>
|
||||||
|
|||||||
@@ -24,6 +24,13 @@ import android.util.AttributeSet;
|
|||||||
/**
|
/**
|
||||||
* Used to group {@link Preference} objects
|
* Used to group {@link Preference} objects
|
||||||
* and provide a disabled title above the group.
|
* and provide a disabled title above the group.
|
||||||
|
*
|
||||||
|
* <div class="special reference">
|
||||||
|
* <h3>Developer Guides</h3>
|
||||||
|
* <p>For information about building a settings UI with Preferences,
|
||||||
|
* read the <a href="{@docRoot}guide/topics/ui/settings.html">Settings</a>
|
||||||
|
* guide.</p>
|
||||||
|
* </div>
|
||||||
*/
|
*/
|
||||||
public class PreferenceCategory extends PreferenceGroup {
|
public class PreferenceCategory extends PreferenceGroup {
|
||||||
private static final String TAG = "PreferenceCategory";
|
private static final String TAG = "PreferenceCategory";
|
||||||
|
|||||||
@@ -74,6 +74,13 @@ import android.widget.ListView;
|
|||||||
* As a convenience, this fragment implements a click listener for any
|
* As a convenience, this fragment implements a click listener for any
|
||||||
* preference in the current hierarchy, see
|
* preference in the current hierarchy, see
|
||||||
* {@link #onPreferenceTreeClick(PreferenceScreen, Preference)}.
|
* {@link #onPreferenceTreeClick(PreferenceScreen, Preference)}.
|
||||||
|
*
|
||||||
|
* <div class="special reference">
|
||||||
|
* <h3>Developer Guides</h3>
|
||||||
|
* <p>For information about using {@code PreferenceFragment},
|
||||||
|
* read the <a href="{@docRoot}guide/topics/ui/settings.html">Settings</a>
|
||||||
|
* guide.</p>
|
||||||
|
* </div>
|
||||||
*
|
*
|
||||||
* <a name="SampleCode"></a>
|
* <a name="SampleCode"></a>
|
||||||
* <h3>Sample Code</h3>
|
* <h3>Sample Code</h3>
|
||||||
|
|||||||
@@ -33,6 +33,13 @@ import android.util.AttributeSet;
|
|||||||
* {@link Preference} objects. It is a base class for Preference objects that are
|
* {@link Preference} objects. It is a base class for Preference objects that are
|
||||||
* parents, such as {@link PreferenceCategory} and {@link PreferenceScreen}.
|
* parents, such as {@link PreferenceCategory} and {@link PreferenceScreen}.
|
||||||
*
|
*
|
||||||
|
* <div class="special reference">
|
||||||
|
* <h3>Developer Guides</h3>
|
||||||
|
* <p>For information about building a settings UI with Preferences,
|
||||||
|
* read the <a href="{@docRoot}guide/topics/ui/settings.html">Settings</a>
|
||||||
|
* guide.</p>
|
||||||
|
* </div>
|
||||||
|
*
|
||||||
* @attr ref android.R.styleable#PreferenceGroup_orderingFromXml
|
* @attr ref android.R.styleable#PreferenceGroup_orderingFromXml
|
||||||
*/
|
*/
|
||||||
public abstract class PreferenceGroup extends Preference implements GenericInflater.Parent<Preference> {
|
public abstract class PreferenceGroup extends Preference implements GenericInflater.Parent<Preference> {
|
||||||
|
|||||||
@@ -75,6 +75,13 @@ import android.widget.ListView;
|
|||||||
* clicked will show another screen of preferences such as "Prefer WiFi" (and
|
* clicked will show another screen of preferences such as "Prefer WiFi" (and
|
||||||
* the other preferences that are children of the "second_preferencescreen" tag).
|
* the other preferences that are children of the "second_preferencescreen" tag).
|
||||||
*
|
*
|
||||||
|
* <div class="special reference">
|
||||||
|
* <h3>Developer Guides</h3>
|
||||||
|
* <p>For information about building a settings UI with Preferences,
|
||||||
|
* read the <a href="{@docRoot}guide/topics/ui/settings.html">Settings</a>
|
||||||
|
* guide.</p>
|
||||||
|
* </div>
|
||||||
|
*
|
||||||
* @see PreferenceCategory
|
* @see PreferenceCategory
|
||||||
*/
|
*/
|
||||||
public final class PreferenceScreen extends PreferenceGroup implements AdapterView.OnItemClickListener,
|
public final class PreferenceScreen extends PreferenceGroup implements AdapterView.OnItemClickListener,
|
||||||
|
|||||||
Reference in New Issue
Block a user