如果您是為俄羅斯使用者開發應用程式,請使用「儲存至手機」按鈕,因為 Google 錢包並未在這些國家/地區推出。請參閱 相關素材資源和規範。如果您是為俄羅斯境外使用者開發應用程式,請下載下列素材資源,更新「Add to Google Wallet」按鈕。
本節旨在協助您建立圖片和其他使用者介面元素,讓這些元素可在 Google 錢包應用程式中良好地呈現。
素材資源
「Add to Google Wallet」按鈕
每當您要引導使用者將票證或卡片從應用程式或網站儲存至錢包時,就會使用「Add to Google Wallet」按鈕。「Add to Google Wallet」按鈕必須呼叫一個 Google Wallet API 流程。這些流程會顯示 Google 錢包應用程式,使用者可以按照指示將票證儲存到 Android 裝置和 Google 帳戶。這個按鈕可用於應用程式、網站或電子郵件。
[[["容易理解","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-06-05 (世界標準時間)。"],[],[],null,["# Brand guidelines\n\nIf you're developing for users in RU, please use the \"Save to phone\"\nbuttons as Google Wallet isn't live in these countries. Please see the\n[relevant assets and\nguidelines](/wallet/legacy-resources/button-guidelines). If you are developing for users outside of RU, please\nupdate your **Add to Google Wallet** button by downloading the assets\nbelow.\n\n\nThis section of the documentation is designed to help you create images and\nother user interface elements so that they look great in the\nGoogle Wallet app.\n\nAssets\n------\n\n### Add to Google Wallet button\n\n\nThe **Add to Google Wallet** button is used whenever you are\ndirecting users to save a pass or card from your app or website to their\nwallet. The **Add to Google Wallet** button must call one of the\nGoogle Wallet API flows. These flows surface the Google Wallet app where\nusers can follow the instructions to save passes to their Android device\nand their Google Account. This button can be used in apps, websites or\nemails.\n\n\n**Add to Google Wallet** buttons are available in Android XML, SVG,\nand PNG format.\n[Download assets - Android XML](/static/wallet/download-assets/add-to-wallet-axml.zip) [Download assets - SVG](/static/wallet/download-assets/add-to-wallet-svg.zip) [Download assets - PNG](/static/wallet/download-assets/add-to-wallet-png.zip)\n\n### View in Google Wallet button\n\n\nThe **View in Google Wallet** button is used to deep link a user\nto their wallet to view a previously saved pass or card. This\nbutton can be used in apps, websites or emails.\n\n\n**View in Google Wallet** buttons are available in SVG and PNG format.\n[Download assets - SVG](/static/wallet/download-assets/view-in-google-wallet-svg.zip) [Download assets - PNG](/static/wallet/download-assets/view-in-google-wallet-png.zip)\n\n\nAll buttons displayed on your site, app, or email communications must adhere to the brand\nguidelines outlined on this page. Examples of these guidelines include but aren't limited to, the\nfollowing:\n\n- Size relative to other similar buttons or elements of the page\n- Shape and color of buttons must not be altered\n- Clear space\n\n### Localized buttons\n\n\nLocalized Google Wallet buttons are provided for all markets where Wallet is\navailable. If you're developing for users in these markets, always use the\nbuttons linked above. **Do not** create your own version of the buttons.\nIf a localized version of the button is not available in your market, use the\nEnglish version of the button.\n\n\n**Add to Google Wallet** buttons are available in the Albanian,\nArabic, Armenian, Azerbaijan, Bosnian, Bulgarian, Catalan, Chinese\n(Hong Kong), Chinese (Traditional), Croatian, Czech, Danish, Dutch, English\n(India, Singapore, South Africa, Australia, Canada, Great Britain, United\nStates), Estonian, Filipino, Finnish, French (Canada), French (France),\nGeorgian, German, Greek, Hebrew, Hungarian, Icelandic, Indonesian, Italian,\nJapanese, Kazakh, Kyrgyz, Latvian, Lithuanian, Macedonian, Malay, Norwegian,\nPolish, Portuguese (Brazil), Portuguese (Portugal), Romanian, Russian\n(Belarus), Serbian, Slovak, Slovenian, Spanish (Latin America), Spanish\n(Spain), Swedish, Thai, Turkish, Ukrainian, Uzbek, and Vietnamese languages.\n\n### Localized name\n\n\nFor user clarity, the Google Wallet product name is localized in select\nmarkets. If you're developing for users in these countries, always use the\nlocalized name below for web, email, and print. Do not create your own\nlocalized version of \"Google Wallet.\" If your market isn't listed below, use\n\"Google Wallet\" in English.\n\n| Country | Name |\n|----------------------------------------------------------------------------|---------------------|\n| Belarus | Google Кошелек |\n| Brazil | Carteira do Google |\n| Chile | Billetera de Google |\n| Czechia | Peněženka Google |\n| Greece | Πορτοφόλι Google |\n| Hong Kong | Google 錢包 |\n| Lithuania | Google Piniginė |\n| Poland | Portfel Google |\n| Portugal | Carteira da Google |\n| Romania | Portofel Google |\n| Slovakia | Peňaženka Google |\n| Taiwan | Google 錢包 |\n| Turkey | Google Cüzdan |\n| UAE | محفظة Google |\n| Ukraine | Google Гаманець |\n| United States (Spanish) \\*Use this name in the US if your UI is in Spanish | Billetera de Google |\n\n### Size\n\n\nAdjust the height and width of the **Add to Google Wallet** button\nto fit your layout. If there are other buttons on the page, the\n**Add to Google Wallet** button needs to be equal or larger in size.\nDon't make the **Add to Google Wallet** button smaller than other\nbuttons.\n\n### Style\n\n\n**Add to Google Wallet** buttons are available in two variations:\nprimary and condensed. The **Add to Google Wallet** button only\ncomes in black. Localized versions of the button are provided. Do not create\nbuttons with your own localized text.\n\n| Primary | Condensed |\n|--------------------------------------------------------|--------------------------------------------------------------------------------------|\n| | |\n| Use the primary button on white and light backgrounds. | Use the condensed button if there is not enough space for the primary or full-width. |\n\n### Clear space\n\n\nAlways maintain the minimum clear space of **8 dp** on all sides of the\n**Add to Google Wallet** button. Ensure that the clear space is\nnever broken with graphics or text.\n\n### Minimum height\n\n\nAll **Add to Google Wallet** buttons need to have a minimum height\nof **48 dp**.\n\n### Dos and don'ts\n\n| Dos | Don'ts |\n|----------------------------------------------------------------------------------------------------------------|-------------------------------------------------------------------------------------------------------------------------------------------|\n| Do: Use only the **Add to Google Wallet** buttons provided by Google. | Don't: Create your own **Add to Google Wallet** buttons or alter the font, color, button radius, or padding within the button in any way. |\n| Do: Use the same style of button throughout your site. | Don't: Make the **Add to Google Wallet** buttons smaller than other buttons. |\n| Do: Ensure that the size of the **Add to Google Wallet** buttons remain equal to or larger than other buttons. | Don't: Alter the button color. |\n| Do: Keep the button ratio the same when resizing the **Add to Google Wallet** buttons. | Don't: Free-scale the button. |\n| Do: Use the provided localized version of the buttons. | Don't: Create your own localized version of the button. |\n\nBest practices for button placement\n-----------------------------------\n\n\nDisplay the **Add to Google Wallet** button on confirmation app\nscreens, web pages, or emails. Refer to the following best practices to guide your UI\ndesign.\n\nUse of the Google Wallet product name in text\n---------------------------------------------\n\n\nYou can use text to indicate to the user that their Multi-family Key\nis saved to their device.\n\n### Capitalize the letters \"G\" and \"W\"\n\n\nAlways use an uppercase \"G\" and an uppercase \"W\" followed by lowercase letters\nto refer to Google Wallet. Don't capitalize the full name\n\"Google Wallet\" unless it's to match the typographic style in your UI.\n\n### Don't abbreviate Google Wallet\n\nAlways write out the words \"Google\" and \"Wallet.\"\n\n### Match the style in your UI\n\n\nSet \"Google Wallet\" in the same font and typographic style as the rest\nof the text in your UI. Don't mimic Google's typographic style.\n\n### Always use the localized version of \"Google Wallet\"\n\nAlways write \"Google Wallet\" in the provided localized copy."]]