am cdd0c59a: docs: add links to new Settings dev guide
* commit 'cdd0c59a0108036895796dcb2bea69ff5eef26ca': 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
|
||||
* 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_key
|
||||
* @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
|
||||
* + fragments" mode rather than the old style of just showing a single
|
||||
* 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>
|
||||
* <h3>Sample Code</h3>
|
||||
|
||||
@@ -24,6 +24,13 @@ import android.util.AttributeSet;
|
||||
/**
|
||||
* Used to group {@link Preference} objects
|
||||
* 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 {
|
||||
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
|
||||
* preference in the current hierarchy, see
|
||||
* {@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>
|
||||
* <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
|
||||
* 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
|
||||
*/
|
||||
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
|
||||
* 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
|
||||
*/
|
||||
public final class PreferenceScreen extends PreferenceGroup implements AdapterView.OnItemClickListener,
|
||||
|
||||
Reference in New Issue
Block a user