Ab dem 27. März 2025 empfehlen wir, android-latest-release
anstelle von aosp-main
zu verwenden, um AOSP zu erstellen und Beiträge dazu zu leisten. Weitere Informationen finden Sie unter Änderungen am AOSP.
Bedienungshilfen
Mit Sammlungen den Überblick behalten
Sie können Inhalte basierend auf Ihren Einstellungen speichern und kategorisieren.
Hardwaretasten
Beachten Sie die folgenden Richtlinien, wenn Sie die Barrierefreiheit mit der geschützten Bestätigung von Android implementieren.
Hardware in vergrößerter Ansicht
Bestätigungsstring
Nachricht |
Taste zweimal drücken, um zu bestätigen |
Farbe |
#000000 87% |
Schriftart |
Roboto-Medium |
Schriftgröße |
Anforderung:18 sp |
Zeilenhöhe |
Anforderung:20 dp |
Abbruchstring
Nachricht |
Abbrechen |
Farbe |
#000000 87% |
Schriftart |
Roboto-Medium |
Schriftgröße |
Anforderung:18 sp |
Zeilenhöhe |
Anforderung:20 dp |
Nachricht |
Anforderung:Android geschützte Bestätigung |
Farbe |
#000000 87% |
Schriftart |
Roboto-Regular |
Schriftgröße |
Anforderung:22 sp |
Zeilenhöhe |
Anforderung:28 dp |
Text
Nachricht |
Der Text wird vom App-Entwickler bereitgestellt. |
Farbe |
#000000 87% |
Schriftart |
Roboto-Regular |
Schriftgröße |
Anforderung:20 Spaltenabstand |
Zeilenhöhe |
Anforderung:28 dp |
Nachricht |
Anforderung:Diese Bestätigung bietet eine zusätzliche Sicherheitsebene für die Aktion, die Sie ausführen möchten. |
Farbe |
#000000 54% |
Schriftart |
Roboto-Regular |
Schriftgröße |
Anforderung:18 sp |
Zeilenhöhe |
Anforderung:24 dp |
Hardware-Invertierte Farben
Bei der Bedienungshilfe „Invertierte Farben“ werden nur die Farbeigenschaften geändert. Alle anderen Eigenschaften der Benutzeroberfläche bleiben unverändert.
Hintergrundfarbe |
#000000 87% |
Symbolfarbe |
#a1c2fa |
Farbe des Bestätigungsstrings |
#ffffff |
Stringfarbe abbrechen |
#ffffff |
Farbe des Texts in der Überschrift |
#ffffff |
Schriftfarbe für Entwickler |
#ffffff |
Schriftfarbe des Zwischentitels |
#ffffff |
Softwareschaltflächen
Beachten Sie die folgenden Richtlinien für die Barrierefreiheit, wenn Sie in Ihrer Implementierung der geschützten Bestätigung von Android Softwareschaltflächen verwenden.
Software-Magnifizer
Bestätigungsstring
Nachricht |
OK |
Schaltflächenfarbe |
#4285f4 100% |
Schriftart |
Roboto-Medium |
Schriftgröße |
Anforderung:20 Spaltenabstand |
Abbruchstring
Nachricht |
Abbrechen |
Textfarbe |
#4285f4 100% |
Schriftart |
Roboto-Medium |
Schriftgröße |
Anforderung:20 Spaltenabstand |
Nachricht |
Anforderung:Android geschützte Bestätigung |
Farbe |
#000000 87% |
Schriftart |
Roboto-Regular |
Schriftgröße |
Anforderung:24 sp |
Zeilenhöhe |
Anforderung:28 dp |
Text
Nachricht |
Der Text wird vom App-Entwickler bereitgestellt. |
Farbe |
#000000 87% |
Schriftart |
Roboto-Regular |
Schriftgröße |
Anforderung:20 Spaltenabstand |
Zeilenhöhe |
Anforderung:24 dp |
Nachricht |
Anforderung:Diese Bestätigung bietet eine zusätzliche Sicherheitsebene für die Aktion, die Sie ausführen möchten. |
Farbe |
#000000 54% |
Schriftart |
Roboto-Regular |
Schriftgröße |
Anforderung:16 sp |
Zeilenhöhe |
Anforderung:20 dp |
In Software invertierte Farben
Durch die Bedienungshilfe „Invertierte Farben“ werden nur die Farbeigenschaften geändert. Alle anderen Eigenschaften der Benutzeroberfläche bleiben unverändert.
Hintergrundfarbe |
#000000 87% |
Symbolfarbe |
#a1c2fa |
Farbe des Bestätigungsstrings |
#000000 87% |
Farbe der Bestätigungsschaltfläche |
#a1c2fa |
Stringfarbe abbrechen |
#a1c2fa |
Farbe des Texts in der Überschrift |
#ffffff |
Schriftfarbe für Entwickler |
#ffffff |
Schriftfarbe des Zwischentitels |
#ffffff |
Alle Inhalte und Codebeispiele auf dieser Seite unterliegen den Lizenzen wie im Abschnitt Inhaltslizenz beschrieben. Java und OpenJDK sind Marken oder eingetragene Marken von Oracle und/oder seinen Tochtergesellschaften.
Zuletzt aktualisiert: 2025-07-27 (UTC).
[[["Leicht verständlich","easyToUnderstand","thumb-up"],["Mein Problem wurde gelöst","solvedMyProblem","thumb-up"],["Sonstiges","otherUp","thumb-up"]],[["Benötigte Informationen nicht gefunden","missingTheInformationINeed","thumb-down"],["Zu umständlich/zu viele Schritte","tooComplicatedTooManySteps","thumb-down"],["Nicht mehr aktuell","outOfDate","thumb-down"],["Problem mit der Übersetzung","translationIssue","thumb-down"],["Problem mit Beispielen/Code","samplesCodeIssue","thumb-down"],["Sonstiges","otherDown","thumb-down"]],["Zuletzt aktualisiert: 2025-07-27 (UTC)."],[],[],null,["# Accessibility\n\nHardware buttons\n----------------\n\nUse the following guidelines when implementing accessibility\nwith Android Protected Confirmation. \n\n### Hardware Magnified View\n\n#### Confirmation string\n\n| Message | Double-press (button) to confirm |\n| Color | #000000 87% |\n| Font face | [Roboto-Medium](https://fonts.google.com/specimen/Roboto) |\n| Font size | Requirement: 18sp |\n| Line height | Requirement: 20dp |\n|-------------|-----------------------------------------------------------|\n\n#### Cancel string\n\n| Message | Cancel |\n| Color | #000000 87% |\n| Font face | [Roboto-Medium](https://fonts.google.com/specimen/Roboto) |\n| Font size | Requirement: 18sp |\n| Line height | Requirement: 20dp |\n|-------------|-----------------------------------------------------------|\n\n#### Header text\n\n| Message | Requirement: Android Protected Confirmation |\n| Color | #000000 87% |\n| Font face | [Roboto-Regular](https://fonts.google.com/specimen/Roboto) |\n| Font size | Requirement: 22sp |\n| Line height | Requirement: 28dp |\n|-------------|------------------------------------------------------------|\n\n#### Body text\n\n| Message | The body text is provided by the app developer. |\n| Color | #000000 87% |\n| Font face | [Roboto-Regular](https://fonts.google.com/specimen/Roboto) |\n| Font size | Requirement: 20sp |\n| Line height | Requirement: 28dp |\n|-------------|------------------------------------------------------------|\n\n#### Subheader text\n\n| Message | Requirement: This confirmation provides an extra layer of security for the action you're about to take. |\n| Color | #000000 54% |\n| Font face | [Roboto-Regular](https://fonts.google.com/specimen/Roboto) |\n| Font size | Requirement: 18sp |\n| Line height | Requirement: 24dp |\n|-------------|---------------------------------------------------------------------------------------------------------|\n\n### Hardware Inverted colors\n\nInverted colors accessibility only changes the color properties. All other\nproperties of the UI remain the same.\n\n| Background color | #000000 87% |\n| Icon color | #a1c2fa |\n| Confirmation string color | #ffffff |\n| Cancel string color | #ffffff |\n| Header text color | #ffffff |\n| Developer text color | #ffffff |\n| Subheader text color | #ffffff |\n|---------------------------|-------------|\n\nSoftware buttons\n----------------\n\nUse the following guidelines when implementing accessibility\nif your Android Protected Confirmation implementation uses\nsoftware buttons. \n\n### Software Magnified View\n\n#### Confirmation string\n\n| Message | Ok |\n| Button color | #4285f4 100% |\n| Font face | [Roboto-Medium](https://fonts.google.com/specimen/Roboto) |\n| Font size | Requirement: 20sp |\n|--------------|-----------------------------------------------------------|\n\n#### Cancel string\n\n| Message | Cancel |\n| Text color | #4285f4 100% |\n| Font face | [Roboto-Medium](https://fonts.google.com/specimen/Roboto) |\n| Font size | Requirement: 20sp |\n|------------|-----------------------------------------------------------|\n\n#### Header text\n\n| Message | Requirement: Android Protected Confirmation |\n| Color | #000000 87% |\n| Font face | [Roboto-Regular](https://fonts.google.com/specimen/Roboto) |\n| Font size | Requirement: 24sp |\n| Line height | Requirement: 28dp |\n|-------------|------------------------------------------------------------|\n\n#### Body text\n\n| Message | The body text is provided by the app developer. |\n| Color | #000000 87% |\n| Font face | [Roboto-Regular](https://fonts.google.com/specimen/Roboto) |\n| Font size | Requirement: 20sp |\n| Line height | Requirement: 24dp |\n|-------------|------------------------------------------------------------|\n\n#### Subheader text\n\n| Message | Requirement: This confirmation provides an extra layer of security for the action you're about to take. |\n| Color | #000000 54% |\n| Font face | [Roboto-Regular](https://fonts.google.com/specimen/Roboto) |\n| Font size | Requirement: 16sp |\n| Line height | Requirement: 20dp |\n|-------------|---------------------------------------------------------------------------------------------------------|\n\n### Software Inverted Colors\n\nThe inverted color accessibility only changes the color properties. All other\nproperties of the UI remain the same.\n\n| Background color | #000000 87% |\n| Icon color | #a1c2fa |\n| Confirmation string color | #000000 87% |\n| Confirmation button color | #a1c2fa |\n| Cancel string color | #a1c2fa |\n| Header text color | #ffffff |\n| Developer text color | #ffffff |\n| Subheader text color | #ffffff |\n|---------------------------|-------------|"]]