am 527d14dc: am 587616a6: am cdd0c59a: docs: add links to new Settings dev guide

* commit '527d14dc3c2fd72f1cdfaaa7e249456778fe93e4':
  docs: add links to new Settings dev guide
This commit is contained in:
Scott Main
2012-07-26 22:52:36 -07:00
committed by Android Git Automerger
6 changed files with 42 additions and 0 deletions

View File

@@ -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

View File

@@ -85,6 +85,13 @@ import java.util.List;
* + 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>
* *

View File

@@ -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";

View File

@@ -75,6 +75,13 @@ import android.widget.ListView;
* 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>
* *

View File

@@ -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> {

View File

@@ -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,