2025 年 3 月 27 日より、AOSP のビルドとコントリビューションには aosp-main
ではなく android-latest-release
を使用することをおすすめします。詳細については、AOSP の変更をご覧ください。
ユーザー補助
コレクションでコンテンツを整理
必要に応じて、コンテンツの保存と分類を行います。
ハードウェア ボタン
Android Protected の確認でユーザー補助を実装する場合は、次のガイドラインに従います。
ハードウェアの拡大表示
確認コード
メッセージ |
ボタンを 2 回押して確定します |
色 |
#000000 87% |
フォント |
Roboto-Medium |
フォントサイズ |
要件: 18sp |
行の間隔 |
要件: 20 dp |
キャンセル文字列
メッセージ |
キャンセル |
色 |
#000000 87% |
フォント |
Roboto-Medium |
フォントサイズ |
要件: 18sp |
行の間隔 |
要件: 20 dp |
メッセージ |
要件: Android Protected の確認 |
色 |
#000000 87% |
フォント |
Roboto-Regular |
フォントサイズ |
要件: 22 sp |
行の間隔 |
要件: 28 dp |
本文
メッセージ |
本文はアプリのデベロッパーが作成 |
色 |
#000000 87% |
フォント |
Roboto-Regular |
フォントサイズ |
要件: 20sp |
行の間隔 |
要件: 28 dp |
メッセージ |
要件: この確認により、これから行う操作のセキュリティが強化されます。 |
色 |
#000000 54% |
フォント |
Roboto-Regular |
フォントサイズ |
要件: 18sp |
行の間隔 |
要件: 24 dp |
ハードウェアの反転色
反転色のユーザー補助では、色のプロパティだけが変更されます。UI のその他すべてのプロパティは変わりません。
背景色 |
#000000 87% |
アイコンの色 |
#a1c2fa |
確認コードの色 |
#ffffff |
キャンセル文字列の色 |
#ffffff |
ヘッダーのテキストの色 |
#ffffff |
デベロッパーのテキストの色 |
#ffffff |
小見出しのテキストの色 |
#ffffff |
ソフトウェア ボタン
Android Protected の確認の実装でソフトウェア ボタンを使用する場合は、次のガイドラインに従ってユーザー補助を実装します。
ソフトウェアの拡大表示
確認コード
キャンセル文字列
メッセージ |
キャンセル |
テキストの色 |
#4285f4 100% |
フォント |
Roboto-Medium |
フォントサイズ |
要件: 20sp |
メッセージ |
要件: Android Protected の確認 |
色 |
#000000 87% |
フォント |
Roboto-Regular |
フォントサイズ |
要件: 24sp |
行の間隔 |
要件: 28 dp |
本文
メッセージ |
本文はアプリのデベロッパーが作成 |
色 |
#000000 87% |
フォント |
Roboto-Regular |
フォントサイズ |
要件: 20sp |
行の間隔 |
要件: 24 dp |
メッセージ |
要件: この確認により、これから行う操作のセキュリティが強化されます。 |
色 |
#000000 54% |
フォント |
Roboto-Regular |
フォントサイズ |
要件: 16 sp |
行の間隔 |
要件: 20 dp |
ソフトウェアの反転色
反転色のユーザー補助では、色のプロパティだけが変更されます。UI のその他すべてのプロパティは変わりません。
背景色 |
#000000 87% |
アイコンの色 |
#a1c2fa |
確認コードの色 |
#000000 87% |
確認ボタンの色 |
#a1c2fa |
キャンセル文字列の色 |
#a1c2fa |
ヘッダーのテキストの色 |
#ffffff |
デベロッパーのテキストの色 |
#ffffff |
小見出しのテキストの色 |
#ffffff |
このページのコンテンツやコードサンプルは、コンテンツ ライセンスに記載のライセンスに従います。Java および OpenJDK は Oracle および関連会社の商標または登録商標です。
最終更新日 2025-07-27 UTC。
[[["わかりやすい","easyToUnderstand","thumb-up"],["問題の解決に役立った","solvedMyProblem","thumb-up"],["その他","otherUp","thumb-up"]],[["必要な情報がない","missingTheInformationINeed","thumb-down"],["複雑すぎる / 手順が多すぎる","tooComplicatedTooManySteps","thumb-down"],["最新ではない","outOfDate","thumb-down"],["翻訳に関する問題","translationIssue","thumb-down"],["サンプル / コードに問題がある","samplesCodeIssue","thumb-down"],["その他","otherDown","thumb-down"]],["最終更新日 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|---------------------------|-------------|"]]