R.string

public static final class R.string
extends Object

java.lang.Object
   ↳ android.R.string


Summary

Constants

int VideoView_error_button

Button to close error alert when a video cannot be played

int VideoView_error_text_invalid_progressive_playback

Text for error alert when a video container is not valid for progressive download/playback.

int VideoView_error_text_unknown

Text for error alert when a video cannot be played.

int VideoView_error_title

Title for error alert when a video cannot be played.

int autofill

Item on EditText context menu.

int cancel

Preference framework strings.

int copy

Item on EditText context menu.

int copyUrl

Item on EditText context menu.

int cut

Item on EditText context menu.

int defaultMsisdnAlphaTag

What the UI should display for "Msisdn" unless overridden by the SIM

int defaultVoiceMailAlphaTag

What the UI should display for "voice mail" unless overridden by the SIM

int dialog_alert_title

This is the generic "attention" string to be used in attention dialogs.

int emptyPhoneNumber

How to display the lack of a phone number

int fingerprint_icon_content_description

Content description which should be used for the fingerprint icon.

int httpErrorBadUrl

Displayed when a web request failed because the URL isn't in a valid form.

int httpErrorUnsupportedScheme

Displayed when a web request failed because the protocol of the server is not supported.

int no

This constant was deprecated in API level 30. Do not use. Incorrectly matches android.R.string.cancel rather than "no".

int ok

Preference framework strings.

int paste

Item on EditText context menu.

int paste_as_plain_text

Item on EditText context menu.

int search_go

This is the default button label in the system-wide search UI.

int selectAll

Item on EditText context menu.

int selectTextMode

Item on EditText context menu.

int status_bar_notification_info_overflow

Text to use when the number in a notification info is too large (greater than status_bar_notification_info_maxnum, defined in values/config.xml) and must be truncated.

int unknownName

How to display the lack of a name

int untitled

Used in Contacts for a field that has no label and in Note Pad for a note with no name.

int yes

This constant was deprecated in API level 30. Do not use. Incorrectly matches android.R.string.ok rather than "yes".

Public constructors

string()

Inherited methods

Constants

VideoView_error_button

Added in API level 1
public static final int VideoView_error_button

Button to close error alert when a video cannot be played

Constant Value: 17039376 (0x01040010)

VideoView_error_text_invalid_progressive_playback

Added in API level 3
public static final int VideoView_error_text_invalid_progressive_playback

Text for error alert when a video container is not valid for progressive download/playback.

Constant Value: 17039381 (0x01040015)

VideoView_error_text_unknown

Added in API level 1
public static final int VideoView_error_text_unknown

Text for error alert when a video cannot be played. it can be used by any app.

Constant Value: 17039377 (0x01040011)

VideoView_error_title

Added in API level 1
public static final int VideoView_error_title

Title for error alert when a video cannot be played. it can be used by any app.

Constant Value: 17039378 (0x01040012)

autofill

Added in API level 27
public static final int autofill

Item on EditText context menu. This action is used to request autofill.

Constant Value: 17039386 (0x0104001a)

cancel

Added in API level 1
public static final int cancel

Preference framework strings.

Constant Value: 17039360 (0x01040000)

copy

Added in API level 1
public static final int copy

Item on EditText context menu. This action is used to cut selected the text into the clipboard.

Constant Value: 17039361 (0x01040001)

copyUrl

Added in API level 1
public static final int copyUrl

Item on EditText context menu. This action is used to copy a URL from the edit field into the clipboard.

Constant Value: 17039362 (0x01040002)

cut

Added in API level 1
public static final int cut

Item on EditText context menu. This action is used to cut selected the text into the clipboard.

Constant Value: 17039363 (0x01040003)

defaultMsisdnAlphaTag

Added in API level 1
public static final int defaultMsisdnAlphaTag

What the UI should display for "Msisdn" unless overridden by the SIM

Constant Value: 17039365 (0x01040005)

defaultVoiceMailAlphaTag

Added in API level 1
public static final int defaultVoiceMailAlphaTag

What the UI should display for "voice mail" unless overridden by the SIM

Constant Value: 17039364 (0x01040004)

dialog_alert_title

Added in API level 3
public static final int dialog_alert_title

This is the generic "attention" string to be used in attention dialogs. Typically combined with setIconAttribute(android.R.attr.alertDialogIcon) (or setIcon(android.R.drawable.ic_dialog_alert) on legacy versions of the platform)

Constant Value: 17039380 (0x01040014)

emptyPhoneNumber

Added in API level 1
public static final int emptyPhoneNumber

How to display the lack of a phone number

Constant Value: 17039366 (0x01040006)

fingerprint_icon_content_description

Added in API level 23
public static final int fingerprint_icon_content_description

Content description which should be used for the fingerprint icon.

Constant Value: 17039384 (0x01040018)

httpErrorBadUrl

Added in API level 1
public static final int httpErrorBadUrl

Displayed when a web request failed because the URL isn't in a valid form.

Constant Value: 17039367 (0x01040007)

httpErrorUnsupportedScheme

Added in API level 1
public static final int httpErrorUnsupportedScheme

Displayed when a web request failed because the protocol of the server is not supported.

Constant Value: 17039368 (0x01040008)

no

Added in API level 1
Deprecated in API level 30
public static final int no

This constant was deprecated in API level 30.
Do not use. Incorrectly matches android.R.string.cancel rather than "no".

Preference framework strings.

Constant Value: 17039369 (0x01040009)

ok

Added in API level 1
public static final int ok

Preference framework strings.

Constant Value: 17039370 (0x0104000a)

paste

Added in API level 1
public static final int paste

Item on EditText context menu. This action is used to paste from the clipboard into the eidt field

Constant Value: 17039371 (0x0104000b)

paste_as_plain_text

Added in API level 26
public static final int paste_as_plain_text

Item on EditText context menu. This action is used to paste from the clipboard into the eidt field without formatting

Constant Value: 17039385 (0x01040019)

search_go

Added in API level 1
public static final int search_go

This is the default button label in the system-wide search UI. It is also used by the home screen's search "widget". It should be short

Constant Value: 17039372 (0x0104000c)

selectAll

Added in API level 1
public static final int selectAll

Item on EditText context menu. This action is used to select all text in the edit field.

Constant Value: 17039373 (0x0104000d)

selectTextMode

Added in API level 11
public static final int selectTextMode

Item on EditText context menu. Added only when the context menu is not empty, it enable selection context mode. [CHAR LIMIT=20]

Constant Value: 17039382 (0x01040016)

status_bar_notification_info_overflow

Added in API level 14
public static final int status_bar_notification_info_overflow

Text to use when the number in a notification info is too large (greater than status_bar_notification_info_maxnum, defined in values/config.xml) and must be truncated. May need to be localized for most appropriate textual indicator of "more than X". [CHAR LIMIT=4]

Constant Value: 17039383 (0x01040017)

unknownName

Added in API level 1
public static final int unknownName

How to display the lack of a name

Constant Value: 17039374 (0x0104000e)

untitled

Added in API level 1
public static final int untitled

Used in Contacts for a field that has no label and in Note Pad for a note with no name.

Constant Value: 17039375 (0x0104000f)

yes

Added in API level 1
Deprecated in API level 30
public static final int yes

This constant was deprecated in API level 30.
Do not use. Incorrectly matches android.R.string.ok rather than "yes".

Preference framework strings.

Constant Value: 17039379 (0x01040013)

Public constructors

string

public string ()