Stay organized with collections
Save and categorize content based on your preferences.
Settings.Panel
public
static
final
class
Settings.Panel
extends Object
A Settings panel is floating UI that contains a fixed subset of settings to address a
particular user problem. For example, the
Internet Panel
surfaces settings related to
connecting to the internet.
Settings panels appear above the calling app to address the problem without
the user needing to open Settings and thus leave their current screen.
Summary
Inherited methods |
From class
java.lang.Object
Object
|
clone()
Creates and returns a copy of this object.
|
boolean
|
equals(Object obj)
Indicates whether some other object is "equal to" this one.
|
void
|
finalize()
Called by the garbage collector on an object when garbage collection
determines that there are no more references to the object.
|
final
Class<?>
|
getClass()
Returns the runtime class of this Object .
|
int
|
hashCode()
Returns a hash code value for the object.
|
final
void
|
notify()
Wakes up a single thread that is waiting on this object's
monitor.
|
final
void
|
notifyAll()
Wakes up all threads that are waiting on this object's monitor.
|
String
|
toString()
Returns a string representation of the object.
|
final
void
|
wait(long timeoutMillis, int nanos)
Causes the current thread to wait until it is awakened, typically
by being notified or interrupted, or until a
certain amount of real time has elapsed.
|
final
void
|
wait(long timeoutMillis)
Causes the current thread to wait until it is awakened, typically
by being notified or interrupted, or until a
certain amount of real time has elapsed.
|
final
void
|
wait()
Causes the current thread to wait until it is awakened, typically
by being notified or interrupted.
|
|
Constants
ACTION_INTERNET_CONNECTIVITY
public static final String ACTION_INTERNET_CONNECTIVITY
Activity Action: Show a settings dialog containing settings to enable internet
connection.
Input: Nothing.
Output: Nothing.
Constant Value:
"android.settings.panel.action.INTERNET_CONNECTIVITY"
ACTION_NFC
public static final String ACTION_NFC
Activity Action: Show a settings dialog containing NFC-related settings.
Input: Nothing.
Output: Nothing.
Constant Value:
"android.settings.panel.action.NFC"
ACTION_VOLUME
public static final String ACTION_VOLUME
Activity Action: Show a settings dialog containing all volume streams.
Input: Nothing.
Output: Nothing.
Constant Value:
"android.settings.panel.action.VOLUME"
ACTION_WIFI
public static final String ACTION_WIFI
Activity Action: Show a settings dialog containing controls for Wifi.
Input: Nothing.
Output: Nothing.
Constant Value:
"android.settings.panel.action.WIFI"
Content and code samples on this page are subject to the licenses described in the Content License. Java and OpenJDK are trademarks or registered trademarks of Oracle and/or its affiliates.
Last updated 2025-02-10 UTC.
[null,null,["Last updated 2025-02-10 UTC."],[],[],null,["# Settings.Panel\n\nAdded in [API level 29](/guide/topics/manifest/uses-sdk-element#ApiLevels) \nSummary: [Constants](#constants) \\| [Inherited Methods](#inhmethods) \n\nSettings.Panel\n==============\n\n*** ** * ** ***\n\n[Kotlin](/reference/kotlin/android/provider/Settings.Panel \"View this page in Kotlin\") \\|Java\n\n\n`\npublic\nstatic\nfinal\n\nclass\nSettings.Panel\n`\n\n\n`\n\nextends `[Object](/reference/java/lang/Object)`\n\n\n`\n\n`\n\n\n`\n\n|---|---------------------------------|\n| [java.lang.Object](/reference/java/lang/Object) ||\n| ↳ | android.provider.Settings.Panel |\n\n\u003cbr /\u003e\n\n*** ** * ** ***\n\n\u003cbr /\u003e\n\n\nA Settings panel is floating UI that contains a fixed subset of settings to address a\nparticular user problem. For example, the\n[Internet Panel](/reference/android/provider/Settings.Panel#ACTION_INTERNET_CONNECTIVITY) surfaces settings related to\nconnecting to the internet.\n\n\nSettings panels appear above the calling app to address the problem without\nthe user needing to open Settings and thus leave their current screen.\n\nSummary\n-------\n\n| ### Constants ||\n|---------------------------------------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| [String](/reference/java/lang/String) | [ACTION_INTERNET_CONNECTIVITY](/reference/android/provider/Settings.Panel#ACTION_INTERNET_CONNECTIVITY) Activity Action: Show a settings dialog containing settings to enable internet connection. |\n| [String](/reference/java/lang/String) | [ACTION_NFC](/reference/android/provider/Settings.Panel#ACTION_NFC) Activity Action: Show a settings dialog containing NFC-related settings. |\n| [String](/reference/java/lang/String) | [ACTION_VOLUME](/reference/android/provider/Settings.Panel#ACTION_VOLUME) Activity Action: Show a settings dialog containing all volume streams. |\n| [String](/reference/java/lang/String) | [ACTION_WIFI](/reference/android/provider/Settings.Panel#ACTION_WIFI) Activity Action: Show a settings dialog containing controls for Wifi. |\n\n| ### Inherited methods |\n|-----------------------|---|\n| From class ` `[java.lang.Object](/reference/java/lang/Object)` ` |---------------------------------------------------|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------| | ` `[Object](/reference/java/lang/Object) | ` `[clone](/reference/java/lang/Object#clone())`() ` Creates and returns a copy of this object. | | ` boolean` | ` `[equals](/reference/java/lang/Object#equals(java.lang.Object))`(`[Object](/reference/java/lang/Object)` obj) ` Indicates whether some other object is \"equal to\" this one. | | ` void` | ` `[finalize](/reference/java/lang/Object#finalize())`() ` Called by the garbage collector on an object when garbage collection determines that there are no more references to the object. | | ` final `[Class](/reference/java/lang/Class)`\u003c?\u003e` | ` `[getClass](/reference/java/lang/Object#getClass())`() ` Returns the runtime class of this `Object`. | | ` int` | ` `[hashCode](/reference/java/lang/Object#hashCode())`() ` Returns a hash code value for the object. | | ` final void` | ` `[notify](/reference/java/lang/Object#notify())`() ` Wakes up a single thread that is waiting on this object's monitor. | | ` final void` | ` `[notifyAll](/reference/java/lang/Object#notifyAll())`() ` Wakes up all threads that are waiting on this object's monitor. | | ` `[String](/reference/java/lang/String) | ` `[toString](/reference/java/lang/Object#toString())`() ` Returns a string representation of the object. | | ` final void` | ` `[wait](/reference/java/lang/Object#wait(long,%20int))`(long timeoutMillis, int nanos) ` Causes the current thread to wait until it is awakened, typically by being *notified* or *interrupted*, or until a certain amount of real time has elapsed. | | ` final void` | ` `[wait](/reference/java/lang/Object#wait(long))`(long timeoutMillis) ` Causes the current thread to wait until it is awakened, typically by being *notified* or *interrupted*, or until a certain amount of real time has elapsed. | | ` final void` | ` `[wait](/reference/java/lang/Object#wait())`() ` Causes the current thread to wait until it is awakened, typically by being *notified* or *interrupted*. | ||\n\nConstants\n---------\n\n### ACTION_INTERNET_CONNECTIVITY\n\nAdded in [API level 29](/guide/topics/manifest/uses-sdk-element#ApiLevels) \n\n```\npublic static final String ACTION_INTERNET_CONNECTIVITY\n```\n\nActivity Action: Show a settings dialog containing settings to enable internet\nconnection.\n\n\nInput: Nothing.\n\n\nOutput: Nothing.\n\n\u003cbr /\u003e\n\nConstant Value:\n\n\"android.settings.panel.action.INTERNET_CONNECTIVITY\"\n\n\n### ACTION_NFC\n\nAdded in [API level 29](/guide/topics/manifest/uses-sdk-element#ApiLevels) \n\n```\npublic static final String ACTION_NFC\n```\n\nActivity Action: Show a settings dialog containing NFC-related settings.\n\n\nInput: Nothing.\n\n\nOutput: Nothing.\n\n\u003cbr /\u003e\n\nConstant Value:\n\n\"android.settings.panel.action.NFC\"\n\n\n### ACTION_VOLUME\n\nAdded in [API level 29](/guide/topics/manifest/uses-sdk-element#ApiLevels) \n\n```\npublic static final String ACTION_VOLUME\n```\n\nActivity Action: Show a settings dialog containing all volume streams.\n\n\nInput: Nothing.\n\n\nOutput: Nothing.\n\n\u003cbr /\u003e\n\nConstant Value:\n\n\"android.settings.panel.action.VOLUME\"\n\n\n### ACTION_WIFI\n\nAdded in [API level 29](/guide/topics/manifest/uses-sdk-element#ApiLevels) \n\n```\npublic static final String ACTION_WIFI\n```\n\nActivity Action: Show a settings dialog containing controls for Wifi.\n\n\nInput: Nothing.\n\n\nOutput: Nothing.\n\n\u003cbr /\u003e\n\nConstant Value:\n\n\"android.settings.panel.action.WIFI\""]]