react-native-unit-components 0.1.0 → 1.0.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (406) hide show
  1. package/README.md +157 -2
  2. package/android/src/main/java/com/unitreactnativecomponents/UnitAddToWalletButtonViewManager.kt +27 -0
  3. package/android/src/main/java/com/unitreactnativecomponents/UnitReactNativeComponentsEvent.kt +21 -0
  4. package/android/src/main/java/com/unitreactnativecomponents/UnitReactNativeComponentsPackage.kt +2 -1
  5. package/android/src/main/java/com/unitreactnativecomponents/visapresentation/UNGooglePayView.kt +197 -0
  6. package/android/src/main/res/drawable/ic_launcher_background.xml +170 -0
  7. package/android/src/main/res/drawable/un_add_to_googlepay_button_content.xml +54 -0
  8. package/android/src/main/res/drawable/un_black_add_to_googlepay_button_content.xml +54 -0
  9. package/android/src/main/res/drawable/un_black_googlepay_button_background.xml +6 -0
  10. package/android/src/main/res/drawable/un_black_googlepay_button_background_image.9.png +0 -0
  11. package/android/src/main/res/drawable/un_black_googlepay_button_content.xml +48 -0
  12. package/android/src/main/res/drawable/un_black_googlepay_button_no_shadow_background.xml +6 -0
  13. package/android/src/main/res/drawable/un_black_googlepay_button_no_shadow_background_image.9.png +0 -0
  14. package/android/src/main/res/drawable/un_black_googlepay_button_overlay.xml +12 -0
  15. package/android/src/main/res/drawable/un_border.xml +6 -0
  16. package/android/src/main/res/drawable/un_condensed_googlepay.xml +27 -0
  17. package/android/src/main/res/drawable/un_googlepay_button_background.xml +18 -0
  18. package/android/src/main/res/drawable/un_googlepay_button_background_image.9.png +0 -0
  19. package/android/src/main/res/drawable/un_googlepay_button_background_image_focused.9.png +0 -0
  20. package/android/src/main/res/drawable/un_googlepay_button_background_image_pressed.9.png +0 -0
  21. package/android/src/main/res/drawable/un_googlepay_button_content.xml +48 -0
  22. package/android/src/main/res/drawable/un_googlepay_button_no_shadow_background.xml +18 -0
  23. package/android/src/main/res/drawable/un_googlepay_button_no_shadow_background_image.9.png +0 -0
  24. package/android/src/main/res/drawable/un_googlepay_button_no_shadow_background_image_focused.9.png +0 -0
  25. package/android/src/main/res/drawable/un_googlepay_button_no_shadow_background_image_pressed.9.png +0 -0
  26. package/android/src/main/res/drawable/un_googlepay_button_overlay.xml +11 -0
  27. package/android/src/main/res/drawable/un_ic_launcher_foreground.xml +30 -0
  28. package/android/src/main/res/drawable/un_ic_unit_logo.xml +25 -0
  29. package/android/src/main/res/drawable/un_ic_visa.xml +13 -0
  30. package/android/src/main/res/drawable-bg/un_add_to_googlepay_button_content.xml +54 -0
  31. package/android/src/main/res/drawable-bg/un_black_add_to_googlepay_button_content.xml +54 -0
  32. package/android/src/main/res/drawable-ca/un_add_to_googlepay_button_content.xml +30 -0
  33. package/android/src/main/res/drawable-ca/un_black_add_to_googlepay_button_content.xml +30 -0
  34. package/android/src/main/res/drawable-cs/un_add_to_googlepay_button_content.xml +54 -0
  35. package/android/src/main/res/drawable-cs/un_black_add_to_googlepay_button_content.xml +54 -0
  36. package/android/src/main/res/drawable-da/un_add_to_googlepay_button_content.xml +30 -0
  37. package/android/src/main/res/drawable-da/un_black_add_to_googlepay_button_content.xml +30 -0
  38. package/android/src/main/res/drawable-de/un_add_to_googlepay_button_content.xml +60 -0
  39. package/android/src/main/res/drawable-de/un_black_add_to_googlepay_button_content.xml +60 -0
  40. package/android/src/main/res/drawable-el/un_add_to_googlepay_button_content.xml +67 -0
  41. package/android/src/main/res/drawable-el/un_black_add_to_googlepay_button_content.xml +67 -0
  42. package/android/src/main/res/drawable-es/un_add_to_googlepay_button_content.xml +54 -0
  43. package/android/src/main/res/drawable-es/un_black_add_to_googlepay_button_content.xml +54 -0
  44. package/android/src/main/res/drawable-et/un_add_to_googlepay_button_content.xml +64 -0
  45. package/android/src/main/res/drawable-et/un_black_add_to_googlepay_button_content.xml +64 -0
  46. package/android/src/main/res/drawable-fi/un_add_to_googlepay_button_content.xml +39 -0
  47. package/android/src/main/res/drawable-fi/un_black_add_to_googlepay_button_content.xml +39 -0
  48. package/android/src/main/res/drawable-fr/un_add_to_googlepay_button_content.xml +54 -0
  49. package/android/src/main/res/drawable-fr/un_black_add_to_googlepay_button_content.xml +54 -0
  50. package/android/src/main/res/drawable-hr/un_add_to_googlepay_button_content.xml +54 -0
  51. package/android/src/main/res/drawable-hr/un_black_add_to_googlepay_button_content.xml +54 -0
  52. package/android/src/main/res/drawable-hu/un_add_to_googlepay_button_content.xml +64 -0
  53. package/android/src/main/res/drawable-hu/un_black_add_to_googlepay_button_content.xml +64 -0
  54. package/android/src/main/res/drawable-in/un_add_to_googlepay_button_content.xml +54 -0
  55. package/android/src/main/res/drawable-in/un_black_add_to_googlepay_button_content.xml +54 -0
  56. package/android/src/main/res/drawable-it/un_add_to_googlepay_button_content.xml +54 -0
  57. package/android/src/main/res/drawable-it/un_black_add_to_googlepay_button_content.xml +54 -0
  58. package/android/src/main/res/drawable-iw/un_add_to_googlepay_button_content.xml +41 -0
  59. package/android/src/main/res/drawable-iw/un_black_add_to_googlepay_button_content.xml +41 -0
  60. package/android/src/main/res/drawable-ja/un_add_to_googlepay_button_content.xml +54 -0
  61. package/android/src/main/res/drawable-ja/un_black_add_to_googlepay_button_content.xml +54 -0
  62. package/android/src/main/res/drawable-ko/un_add_to_googlepay_button_content.xml +54 -0
  63. package/android/src/main/res/drawable-ko/un_black_add_to_googlepay_button_content.xml +54 -0
  64. package/android/src/main/res/drawable-lt/un_add_to_googlepay_button_content.xml +70 -0
  65. package/android/src/main/res/drawable-lt/un_black_add_to_googlepay_button_content.xml +70 -0
  66. package/android/src/main/res/drawable-lv/un_add_to_googlepay_button_content.xml +61 -0
  67. package/android/src/main/res/drawable-lv/un_black_add_to_googlepay_button_content.xml +61 -0
  68. package/android/src/main/res/drawable-ms/un_add_to_googlepay_button_content.xml +54 -0
  69. package/android/src/main/res/drawable-ms/un_black_add_to_googlepay_button_content.xml +54 -0
  70. package/android/src/main/res/drawable-nb/un_add_to_googlepay_button_content.xml +30 -0
  71. package/android/src/main/res/drawable-nb/un_black_add_to_googlepay_button_content.xml +30 -0
  72. package/android/src/main/res/drawable-nl/un_add_to_googlepay_button_content.xml +58 -0
  73. package/android/src/main/res/drawable-nl/un_black_add_to_googlepay_button_content.xml +54 -0
  74. package/android/src/main/res/drawable-pl/un_add_to_googlepay_button_content.xml +30 -0
  75. package/android/src/main/res/drawable-pl/un_black_add_to_googlepay_button_content.xml +30 -0
  76. package/android/src/main/res/drawable-pt/un_add_to_googlepay_button_content.xml +54 -0
  77. package/android/src/main/res/drawable-pt/un_black_add_to_googlepay_button_content.xml +54 -0
  78. package/android/src/main/res/drawable-ro/un_add_to_googlepay_button_content.xml +58 -0
  79. package/android/src/main/res/drawable-ro/un_black_add_to_googlepay_button_content.xml +58 -0
  80. package/android/src/main/res/drawable-ru/un_add_to_googlepay_button_content.xml +54 -0
  81. package/android/src/main/res/drawable-ru/un_black_add_to_googlepay_button_content.xml +54 -0
  82. package/android/src/main/res/drawable-sk/un_add_to_googlepay_button_content.xml +54 -0
  83. package/android/src/main/res/drawable-sk/un_black_add_to_googlepay_button_content.xml +54 -0
  84. package/android/src/main/res/drawable-sl/un_add_to_googlepay_button_content.xml +54 -0
  85. package/android/src/main/res/drawable-sl/un_black_add_to_googlepay_button_content.xml +54 -0
  86. package/android/src/main/res/drawable-sr/un_add_to_googlepay_button_content.xml +54 -0
  87. package/android/src/main/res/drawable-sr/un_black_add_to_googlepay_button_content.xml +54 -0
  88. package/android/src/main/res/drawable-sv/un_add_to_googlepay_button_content.xml +30 -0
  89. package/android/src/main/res/drawable-sv/un_black_add_to_googlepay_button_content.xml +30 -0
  90. package/android/src/main/res/drawable-th/un_add_to_googlepay_button_content.xml +54 -0
  91. package/android/src/main/res/drawable-th/un_black_add_to_googlepay_button_content.xml +54 -0
  92. package/android/src/main/res/drawable-tr/un_add_to_googlepay_button_content.xml +54 -0
  93. package/android/src/main/res/drawable-tr/un_black_add_to_googlepay_button_content.xml +54 -0
  94. package/android/src/main/res/drawable-uk/un_add_to_googlepay_button_content.xml +54 -0
  95. package/android/src/main/res/drawable-uk/un_black_add_to_googlepay_button_content.xml +54 -0
  96. package/android/src/main/res/drawable-v21/un_black_googlepay_button_background.xml +7 -0
  97. package/android/src/main/res/drawable-v21/un_black_googlepay_button_background_image.9.png +0 -0
  98. package/android/src/main/res/drawable-v21/un_black_googlepay_button_no_shadow_background.xml +7 -0
  99. package/android/src/main/res/drawable-v21/un_black_googlepay_button_no_shadow_background_image.9.png +0 -0
  100. package/android/src/main/res/drawable-v24/ic_launcher_background.xml +170 -0
  101. package/android/src/main/res/drawable-v24/un_border.xml +6 -0
  102. package/android/src/main/res/drawable-v24/un_ic_launcher_foreground.xml +30 -0
  103. package/android/src/main/res/drawable-v24/un_ic_unit_logo.xml +25 -0
  104. package/android/src/main/res/drawable-v24/un_ic_visa.xml +13 -0
  105. package/android/src/main/res/drawable-zh/un_add_to_googlepay_button_content.xml +54 -0
  106. package/android/src/main/res/drawable-zh/un_black_add_to_googlepay_button_content.xml +54 -0
  107. package/android/src/main/res/layout/un_black_add_to_googlepay_button.xml +32 -0
  108. package/android/src/main/res/layout/un_view_google_push_provisioning.xml +45 -0
  109. package/android/src/main/res/layout/un_white_add_to_googlepay_button.xml +31 -0
  110. package/android/src/main/res/layout/un_white_add_to_googlepay_button_no_shadow.xml +31 -0
  111. package/android/src/main/res/mipmap-anydpi-v26/ic_launcher.xml +5 -0
  112. package/android/src/main/res/mipmap-anydpi-v26/ic_launcher_round.xml +5 -0
  113. package/android/src/main/res/mipmap-hdpi/ic_launcher.webp +0 -0
  114. package/android/src/main/res/mipmap-hdpi/ic_launcher_round.webp +0 -0
  115. package/android/src/main/res/mipmap-mdpi/ic_launcher.webp +0 -0
  116. package/android/src/main/res/mipmap-mdpi/ic_launcher_round.webp +0 -0
  117. package/android/src/main/res/mipmap-xhdpi/black_googlepay_button_background_image.9.png +0 -0
  118. package/android/src/main/res/mipmap-xhdpi/black_googlepay_button_no_shadow_background_image.9.png +0 -0
  119. package/android/src/main/res/mipmap-xhdpi/googlepay_button_background_image.9.png +0 -0
  120. package/android/src/main/res/mipmap-xhdpi/googlepay_button_background_image_focused.9.png +0 -0
  121. package/android/src/main/res/mipmap-xhdpi/googlepay_button_background_image_pressed.9.png +0 -0
  122. package/android/src/main/res/mipmap-xhdpi/googlepay_button_no_shadow_background_image_focused.9.png +0 -0
  123. package/android/src/main/res/mipmap-xhdpi/googlepay_button_no_shadow_background_image_pressed.9.png +0 -0
  124. package/android/src/main/res/mipmap-xhdpi/ic_launcher.webp +0 -0
  125. package/android/src/main/res/mipmap-xhdpi/ic_launcher_round.webp +0 -0
  126. package/android/src/main/res/mipmap-xhdpi/white_googlepay_button_no_shadow_background_image.9.png +0 -0
  127. package/android/src/main/res/mipmap-xxhdpi/black_googlepay_button_background_image.9.png +0 -0
  128. package/android/src/main/res/mipmap-xxhdpi/black_googlepay_button_no_shadow_background_image.9.png +0 -0
  129. package/android/src/main/res/mipmap-xxhdpi/googlepay_button_background_image.9.png +0 -0
  130. package/android/src/main/res/mipmap-xxhdpi/googlepay_button_background_image_focused.9.png +0 -0
  131. package/android/src/main/res/mipmap-xxhdpi/googlepay_button_background_image_pressed.9.png +0 -0
  132. package/android/src/main/res/mipmap-xxhdpi/googlepay_button_no_shadow_background_image.9.png +0 -0
  133. package/android/src/main/res/mipmap-xxhdpi/googlepay_button_no_shadow_background_image_focused.9.png +0 -0
  134. package/android/src/main/res/mipmap-xxhdpi/googlepay_button_no_shadow_background_image_pressed.9.png +0 -0
  135. package/android/src/main/res/mipmap-xxhdpi/ic_launcher.webp +0 -0
  136. package/android/src/main/res/mipmap-xxhdpi/ic_launcher_round.webp +0 -0
  137. package/android/src/main/res/mipmap-xxxhdpi/black_googlepay_button_background_image.9.png +0 -0
  138. package/android/src/main/res/mipmap-xxxhdpi/black_googlepay_button_no_shadow_background_image.9.png +0 -0
  139. package/android/src/main/res/mipmap-xxxhdpi/googlepay_button_background_image.9.png +0 -0
  140. package/android/src/main/res/mipmap-xxxhdpi/googlepay_button_background_image_focused.9.png +0 -0
  141. package/android/src/main/res/mipmap-xxxhdpi/googlepay_button_background_image_pressed.9.png +0 -0
  142. package/android/src/main/res/mipmap-xxxhdpi/googlepay_button_no_shadow_background_image.9.png +0 -0
  143. package/android/src/main/res/mipmap-xxxhdpi/googlepay_button_no_shadow_background_image_focused.9.png +0 -0
  144. package/android/src/main/res/mipmap-xxxhdpi/googlepay_button_no_shadow_background_image_pressed.9.png +0 -0
  145. package/android/src/main/res/mipmap-xxxhdpi/ic_launcher.webp +0 -0
  146. package/android/src/main/res/mipmap-xxxhdpi/ic_launcher_round.webp +0 -0
  147. package/android/src/main/res/values/colors.xml +14 -0
  148. package/android/src/main/res/values/googlepay_strings.xml +7 -0
  149. package/android/src/main/res/values/strings.xml +4 -0
  150. package/android/src/main/res/values/themes.xml +16 -0
  151. package/android/src/main/res/values-night/themes.xml +16 -0
  152. package/ios/UnitReactNativeComponents.xcodeproj/project.pbxproj +8 -8
  153. package/ios/UnitReactNativeComponentsViewManager.m +3 -2
  154. package/ios/UnitReactNativeComponentsViewManager.swift +39 -25
  155. package/lib/commonjs/assets/images/close.png +0 -0
  156. package/lib/commonjs/assets/images/index.js +16 -0
  157. package/lib/commonjs/assets/images/index.js.map +1 -0
  158. package/lib/commonjs/components/UNActivityComponent/UNActivityComponent.js +28 -0
  159. package/lib/commonjs/components/UNActivityComponent/UNActivityComponent.js.map +1 -0
  160. package/lib/commonjs/components/UNActivityComponent/UNActivityComponent.utils.js +20 -0
  161. package/lib/commonjs/components/UNActivityComponent/UNActivityComponent.utils.js.map +1 -0
  162. package/lib/commonjs/components/UNBookPaymentComponent/UNBookPaymentComponent.js +39 -0
  163. package/lib/commonjs/components/UNBookPaymentComponent/UNBookPaymentComponent.js.map +1 -0
  164. package/lib/commonjs/components/UNBookPaymentComponent/UNBookPaymentComponent.utils.js +40 -0
  165. package/lib/commonjs/components/UNBookPaymentComponent/UNBookPaymentComponent.utils.js.map +1 -0
  166. package/lib/commonjs/components/UNBottomSheetComponent/UNBottomSheetComponent.constants.js +9 -0
  167. package/lib/commonjs/components/UNBottomSheetComponent/UNBottomSheetComponent.constants.js.map +1 -0
  168. package/lib/commonjs/components/UNBottomSheetComponent/UNBottomSheetComponent.js +195 -0
  169. package/lib/commonjs/components/UNBottomSheetComponent/UNBottomSheetComponent.js.map +1 -0
  170. package/lib/commonjs/components/UNBottomSheetComponent/UNBottomSheetComponent.styles.js +23 -0
  171. package/lib/commonjs/components/UNBottomSheetComponent/UNBottomSheetComponent.styles.js.map +1 -0
  172. package/lib/commonjs/components/UNBottomSheetComponent/UNBottomSheetComponent.utils.js +49 -0
  173. package/lib/commonjs/components/UNBottomSheetComponent/UNBottomSheetComponent.utils.js.map +1 -0
  174. package/lib/commonjs/components/{Card/CardComponent.js → UNCardComponent/UNCardComponent.js} +42 -46
  175. package/lib/commonjs/components/UNCardComponent/UNCardComponent.js.map +1 -0
  176. package/lib/commonjs/components/UNCardComponent/UNCardComponent.utils.js +42 -0
  177. package/lib/commonjs/components/UNCardComponent/UNCardComponent.utils.js.map +1 -0
  178. package/lib/commonjs/components/index.js +34 -8
  179. package/lib/commonjs/components/index.js.map +1 -1
  180. package/lib/commonjs/custom.d.js +2 -0
  181. package/lib/commonjs/custom.d.js.map +1 -0
  182. package/lib/commonjs/helpers/{BottomSheet.js → BottomSheet/BottomSheet.js} +38 -83
  183. package/lib/commonjs/helpers/BottomSheet/BottomSheet.js.map +1 -0
  184. package/lib/commonjs/helpers/BottomSheet/BottomSheet.styles.js +82 -0
  185. package/lib/commonjs/helpers/BottomSheet/BottomSheet.styles.js.map +1 -0
  186. package/lib/commonjs/helpers/EventBus.js +5 -13
  187. package/lib/commonjs/helpers/EventBus.js.map +1 -1
  188. package/lib/commonjs/hooks/listenerToBus.js +31 -0
  189. package/lib/commonjs/hooks/listenerToBus.js.map +1 -0
  190. package/lib/commonjs/hooks/useAppStateListener.js +34 -0
  191. package/lib/commonjs/hooks/useAppStateListener.js.map +1 -0
  192. package/lib/commonjs/index.js +33 -0
  193. package/lib/commonjs/index.js.map +1 -1
  194. package/lib/commonjs/messages/nativeMessages/index.js +13 -0
  195. package/lib/commonjs/messages/nativeMessages/index.js.map +1 -0
  196. package/lib/commonjs/messages/webMessages/bookPaymentMessage.js +13 -0
  197. package/lib/commonjs/messages/webMessages/bookPaymentMessage.js.map +1 -0
  198. package/lib/commonjs/{webComponent → messages}/webMessages/cardMessage.js +1 -1
  199. package/lib/commonjs/messages/webMessages/cardMessage.js.map +1 -0
  200. package/lib/commonjs/messages/webMessages/index.js +6 -0
  201. package/lib/commonjs/messages/webMessages/index.js.map +1 -0
  202. package/lib/commonjs/{webComponent → messages}/webMessages/pageMessage.js +0 -0
  203. package/lib/commonjs/messages/webMessages/pageMessage.js.map +1 -0
  204. package/lib/commonjs/{webComponent → messages}/webMessages/unitMessages.js +0 -0
  205. package/lib/commonjs/messages/webMessages/unitMessages.js.map +1 -0
  206. package/lib/commonjs/nativeComponent/UNNativeAddToWalletButton.js +13 -0
  207. package/lib/commonjs/nativeComponent/UNNativeAddToWalletButton.js.map +1 -0
  208. package/lib/commonjs/scripts/html/bodyHtml.js +52 -0
  209. package/lib/commonjs/scripts/html/bodyHtml.js.map +1 -0
  210. package/lib/commonjs/scripts/html/bodyScript.js +78 -0
  211. package/lib/commonjs/scripts/html/bodyScript.js.map +1 -0
  212. package/lib/commonjs/sharedTypes/bookPayment.types.js +6 -0
  213. package/lib/commonjs/sharedTypes/bookPayment.types.js.map +1 -0
  214. package/lib/commonjs/sharedTypes/card.types.js +6 -0
  215. package/lib/commonjs/sharedTypes/card.types.js.map +1 -0
  216. package/lib/commonjs/sharedTypes/index.js +32 -0
  217. package/lib/commonjs/sharedTypes/index.js.map +1 -0
  218. package/lib/commonjs/sharedTypes/types.js +2 -0
  219. package/lib/commonjs/sharedTypes/types.js.map +1 -0
  220. package/lib/commonjs/styles/variables.js +17 -0
  221. package/lib/commonjs/styles/variables.js.map +1 -0
  222. package/lib/commonjs/unitSdkManager/UnitSdk.api.js +54 -0
  223. package/lib/commonjs/unitSdkManager/UnitSdk.api.js.map +1 -0
  224. package/lib/commonjs/unitSdkManager/UnitSdkManager.js +51 -0
  225. package/lib/commonjs/unitSdkManager/UnitSdkManager.js.map +1 -0
  226. package/lib/commonjs/webComponent/WebComponent.js +47 -15
  227. package/lib/commonjs/webComponent/WebComponent.js.map +1 -1
  228. package/lib/commonjs/webComponent/html.js +22 -45
  229. package/lib/commonjs/webComponent/html.js.map +1 -1
  230. package/lib/module/assets/images/close.png +0 -0
  231. package/lib/module/assets/images/index.js +2 -0
  232. package/lib/module/assets/images/index.js.map +1 -0
  233. package/lib/module/components/UNActivityComponent/UNActivityComponent.js +13 -0
  234. package/lib/module/components/UNActivityComponent/UNActivityComponent.js.map +1 -0
  235. package/lib/module/components/UNActivityComponent/UNActivityComponent.utils.js +10 -0
  236. package/lib/module/components/UNActivityComponent/UNActivityComponent.utils.js.map +1 -0
  237. package/lib/module/components/UNBookPaymentComponent/UNBookPaymentComponent.js +23 -0
  238. package/lib/module/components/UNBookPaymentComponent/UNBookPaymentComponent.js.map +1 -0
  239. package/lib/module/components/UNBookPaymentComponent/UNBookPaymentComponent.utils.js +26 -0
  240. package/lib/module/components/UNBookPaymentComponent/UNBookPaymentComponent.utils.js.map +1 -0
  241. package/lib/module/components/UNBottomSheetComponent/UNBottomSheetComponent.constants.js +2 -0
  242. package/lib/module/components/UNBottomSheetComponent/UNBottomSheetComponent.constants.js.map +1 -0
  243. package/lib/module/components/UNBottomSheetComponent/UNBottomSheetComponent.js +163 -0
  244. package/lib/module/components/UNBottomSheetComponent/UNBottomSheetComponent.js.map +1 -0
  245. package/lib/module/components/UNBottomSheetComponent/UNBottomSheetComponent.styles.js +13 -0
  246. package/lib/module/components/UNBottomSheetComponent/UNBottomSheetComponent.styles.js.map +1 -0
  247. package/lib/module/components/UNBottomSheetComponent/UNBottomSheetComponent.utils.js +29 -0
  248. package/lib/module/components/UNBottomSheetComponent/UNBottomSheetComponent.utils.js.map +1 -0
  249. package/lib/module/components/UNCardComponent/UNCardComponent.js +65 -0
  250. package/lib/module/components/UNCardComponent/UNCardComponent.js.map +1 -0
  251. package/lib/module/components/UNCardComponent/UNCardComponent.utils.js +24 -0
  252. package/lib/module/components/UNCardComponent/UNCardComponent.utils.js.map +1 -0
  253. package/lib/module/components/index.js +4 -2
  254. package/lib/module/components/index.js.map +1 -1
  255. package/lib/module/custom.d.js +2 -0
  256. package/lib/module/custom.d.js.map +1 -0
  257. package/lib/module/helpers/{BottomSheet.js → BottomSheet/BottomSheet.js} +36 -82
  258. package/lib/module/helpers/BottomSheet/BottomSheet.js.map +1 -0
  259. package/lib/module/helpers/BottomSheet/BottomSheet.styles.js +70 -0
  260. package/lib/module/helpers/BottomSheet/BottomSheet.styles.js.map +1 -0
  261. package/lib/module/helpers/EventBus.js +4 -11
  262. package/lib/module/helpers/EventBus.js.map +1 -1
  263. package/lib/module/hooks/listenerToBus.js +18 -0
  264. package/lib/module/hooks/listenerToBus.js.map +1 -0
  265. package/lib/module/hooks/useAppStateListener.js +23 -0
  266. package/lib/module/hooks/useAppStateListener.js.map +1 -0
  267. package/lib/module/index.js +2 -0
  268. package/lib/module/index.js.map +1 -1
  269. package/lib/module/messages/nativeMessages/index.js +6 -0
  270. package/lib/module/messages/nativeMessages/index.js.map +1 -0
  271. package/lib/module/messages/webMessages/bookPaymentMessage.js +6 -0
  272. package/lib/module/messages/webMessages/bookPaymentMessage.js.map +1 -0
  273. package/lib/module/messages/webMessages/cardMessage.js +6 -0
  274. package/lib/module/messages/webMessages/cardMessage.js.map +1 -0
  275. package/lib/module/messages/webMessages/index.js +2 -0
  276. package/lib/module/messages/webMessages/index.js.map +1 -0
  277. package/lib/module/{webComponent → messages}/webMessages/pageMessage.js +0 -0
  278. package/lib/module/messages/webMessages/pageMessage.js.map +1 -0
  279. package/lib/module/{webComponent → messages}/webMessages/unitMessages.js +0 -0
  280. package/lib/module/messages/webMessages/unitMessages.js.map +1 -0
  281. package/lib/module/nativeComponent/UNNativeAddToWalletButton.js +4 -0
  282. package/lib/module/nativeComponent/UNNativeAddToWalletButton.js.map +1 -0
  283. package/lib/module/scripts/html/bodyHtml.js +42 -0
  284. package/lib/module/scripts/html/bodyHtml.js.map +1 -0
  285. package/lib/module/scripts/html/bodyScript.js +64 -0
  286. package/lib/module/scripts/html/bodyScript.js.map +1 -0
  287. package/lib/module/sharedTypes/bookPayment.types.js +2 -0
  288. package/lib/module/sharedTypes/bookPayment.types.js.map +1 -0
  289. package/lib/module/sharedTypes/card.types.js +2 -0
  290. package/lib/module/sharedTypes/card.types.js.map +1 -0
  291. package/lib/module/sharedTypes/index.js +3 -0
  292. package/lib/module/sharedTypes/index.js.map +1 -0
  293. package/lib/module/sharedTypes/types.js +2 -0
  294. package/lib/module/sharedTypes/types.js.map +1 -0
  295. package/lib/module/styles/variables.js +10 -0
  296. package/lib/module/styles/variables.js.map +1 -0
  297. package/lib/module/unitSdkManager/UnitSdk.api.js +37 -0
  298. package/lib/module/unitSdkManager/UnitSdk.api.js.map +1 -0
  299. package/lib/module/unitSdkManager/UnitSdkManager.js +38 -0
  300. package/lib/module/unitSdkManager/UnitSdkManager.js.map +1 -0
  301. package/lib/module/webComponent/WebComponent.js +46 -14
  302. package/lib/module/webComponent/WebComponent.js.map +1 -1
  303. package/lib/module/webComponent/html.js +18 -44
  304. package/lib/module/webComponent/html.js.map +1 -1
  305. package/lib/typescript/assets/images/index.d.ts +1 -0
  306. package/lib/typescript/components/UNActivityComponent/UNActivityComponent.d.ts +6 -0
  307. package/lib/typescript/components/UNActivityComponent/UNActivityComponent.utils.d.ts +2 -0
  308. package/lib/typescript/components/UNBookPaymentComponent/UNBookPaymentComponent.d.ts +11 -0
  309. package/lib/typescript/components/UNBookPaymentComponent/UNBookPaymentComponent.utils.d.ts +3 -0
  310. package/lib/typescript/components/UNBottomSheetComponent/UNBottomSheetComponent.constants.d.ts +1 -0
  311. package/lib/typescript/components/UNBottomSheetComponent/UNBottomSheetComponent.d.ts +7 -0
  312. package/lib/typescript/components/UNBottomSheetComponent/UNBottomSheetComponent.styles.d.ts +9 -0
  313. package/lib/typescript/components/UNBottomSheetComponent/UNBottomSheetComponent.utils.d.ts +5 -0
  314. package/lib/typescript/components/{Card/CardComponent.d.ts → UNCardComponent/UNCardComponent.d.ts} +3 -1
  315. package/lib/typescript/components/UNCardComponent/UNCardComponent.utils.d.ts +6 -0
  316. package/lib/typescript/components/index.d.ts +4 -2
  317. package/lib/typescript/helpers/{BottomSheet.d.ts → BottomSheet/BottomSheet.d.ts} +3 -0
  318. package/lib/typescript/helpers/BottomSheet/BottomSheet.styles.d.ts +63 -0
  319. package/lib/typescript/helpers/EventBus.d.ts +5 -7
  320. package/lib/typescript/hooks/listenerToBus.d.ts +7 -0
  321. package/lib/typescript/hooks/useAppStateListener.d.ts +1 -0
  322. package/lib/typescript/index.d.ts +2 -0
  323. package/lib/typescript/messages/nativeMessages/index.d.ts +3 -0
  324. package/lib/typescript/messages/webMessages/bookPaymentMessage.d.ts +8 -0
  325. package/lib/typescript/{webComponent → messages}/webMessages/cardMessage.d.ts +3 -2
  326. package/lib/typescript/messages/webMessages/index.d.ts +11 -0
  327. package/lib/typescript/{webComponent → messages}/webMessages/pageMessage.d.ts +0 -0
  328. package/lib/typescript/{webComponent → messages}/webMessages/unitMessages.d.ts +0 -0
  329. package/lib/typescript/nativeComponent/UNNativeAddToWalletButton.d.ts +6 -0
  330. package/lib/typescript/scripts/html/bodyHtml.d.ts +7 -0
  331. package/lib/typescript/scripts/html/bodyScript.d.ts +11 -0
  332. package/lib/typescript/sharedTypes/bookPayment.types.d.ts +26 -0
  333. package/lib/typescript/sharedTypes/card.types.d.ts +56 -0
  334. package/lib/typescript/sharedTypes/index.d.ts +2 -0
  335. package/lib/typescript/sharedTypes/types.d.ts +27 -0
  336. package/lib/typescript/styles/variables.d.ts +9 -0
  337. package/lib/typescript/unitSdkManager/UnitSdk.api.d.ts +3 -0
  338. package/lib/typescript/unitSdkManager/UnitSdkManager.d.ts +15 -0
  339. package/lib/typescript/webComponent/WebComponent.d.ts +9 -11
  340. package/lib/typescript/webComponent/html.d.ts +6 -1
  341. package/package.json +9 -5
  342. package/{unit-react-native-components.podspec → react-native-unit-components.podspec} +1 -1
  343. package/src/assets/images/close.png +0 -0
  344. package/src/assets/images/index.ts +1 -0
  345. package/src/components/UNActivityComponent/UNActivityComponent.tsx +21 -0
  346. package/src/components/UNActivityComponent/UNActivityComponent.utils.ts +11 -0
  347. package/src/components/UNBookPaymentComponent/UNBookPaymentComponent.tsx +37 -0
  348. package/src/components/UNBookPaymentComponent/UNBookPaymentComponent.utils.ts +29 -0
  349. package/src/components/UNBottomSheetComponent/UNBottomSheetComponent.constants.ts +1 -0
  350. package/src/components/UNBottomSheetComponent/UNBottomSheetComponent.styles.ts +13 -0
  351. package/src/components/UNBottomSheetComponent/UNBottomSheetComponent.tsx +167 -0
  352. package/src/components/UNBottomSheetComponent/UNBottomSheetComponent.utils.ts +34 -0
  353. package/src/components/UNCardComponent/UNCardComponent.tsx +73 -0
  354. package/src/components/UNCardComponent/UNCardComponent.utils.ts +28 -0
  355. package/src/components/index.ts +4 -2
  356. package/src/custom.d.ts +5 -0
  357. package/src/helpers/BottomSheet/BottomSheet.styles.ts +70 -0
  358. package/src/helpers/{BottomSheet.tsx → BottomSheet/BottomSheet.tsx} +74 -110
  359. package/src/helpers/EventBus.ts +13 -13
  360. package/src/hooks/listenerToBus.ts +23 -0
  361. package/src/hooks/useAppStateListener.ts +25 -0
  362. package/src/index.tsx +5 -1
  363. package/src/messages/nativeMessages/index.ts +3 -0
  364. package/src/messages/webMessages/bookPaymentMessage.ts +12 -0
  365. package/src/{webComponent → messages}/webMessages/cardMessage.ts +4 -2
  366. package/src/messages/webMessages/index.ts +21 -0
  367. package/src/{webComponent → messages}/webMessages/pageMessage.ts +1 -1
  368. package/src/{webComponent → messages}/webMessages/unitMessages.ts +1 -0
  369. package/src/nativeComponent/UNNativeAddToWalletButton.tsx +12 -0
  370. package/src/scripts/html/bodyHtml.ts +46 -0
  371. package/src/scripts/html/bodyScript.ts +67 -0
  372. package/src/sharedTypes/bookPayment.types.ts +27 -0
  373. package/src/sharedTypes/card.types.ts +59 -0
  374. package/src/sharedTypes/index.ts +2 -0
  375. package/src/sharedTypes/types.ts +35 -0
  376. package/src/styles/variables.ts +9 -0
  377. package/src/unitSdkManager/UnitSdk.api.ts +31 -0
  378. package/src/unitSdkManager/UnitSdkManager.ts +33 -0
  379. package/src/webComponent/WebComponent.tsx +55 -45
  380. package/src/webComponent/html.ts +22 -46
  381. package/android/src/main/java/com/unitreactnativecomponents/UnitReactNativeComponentsViewManager.kt +0 -19
  382. package/lib/commonjs/components/BottomSheet/BottomSheetComponent.js +0 -143
  383. package/lib/commonjs/components/BottomSheet/BottomSheetComponent.js.map +0 -1
  384. package/lib/commonjs/components/Card/CardComponent.js.map +0 -1
  385. package/lib/commonjs/helpers/BottomSheet.js.map +0 -1
  386. package/lib/commonjs/nativeComponenet/NativeComponentExample.js +0 -19
  387. package/lib/commonjs/nativeComponenet/NativeComponentExample.js.map +0 -1
  388. package/lib/commonjs/webComponent/webMessages/cardMessage.js.map +0 -1
  389. package/lib/commonjs/webComponent/webMessages/pageMessage.js.map +0 -1
  390. package/lib/commonjs/webComponent/webMessages/unitMessages.js.map +0 -1
  391. package/lib/module/components/BottomSheet/BottomSheetComponent.js +0 -118
  392. package/lib/module/components/BottomSheet/BottomSheetComponent.js.map +0 -1
  393. package/lib/module/components/Card/CardComponent.js +0 -75
  394. package/lib/module/components/Card/CardComponent.js.map +0 -1
  395. package/lib/module/helpers/BottomSheet.js.map +0 -1
  396. package/lib/module/nativeComponenet/NativeComponentExample.js +0 -10
  397. package/lib/module/nativeComponenet/NativeComponentExample.js.map +0 -1
  398. package/lib/module/webComponent/webMessages/cardMessage.js +0 -6
  399. package/lib/module/webComponent/webMessages/cardMessage.js.map +0 -1
  400. package/lib/module/webComponent/webMessages/pageMessage.js.map +0 -1
  401. package/lib/module/webComponent/webMessages/unitMessages.js.map +0 -1
  402. package/lib/typescript/components/BottomSheet/BottomSheetComponent.d.ts +0 -1
  403. package/lib/typescript/nativeComponenet/NativeComponentExample.d.ts +0 -7
  404. package/src/components/BottomSheet/BottomSheetComponent.tsx +0 -113
  405. package/src/components/Card/CardComponent.tsx +0 -75
  406. package/src/nativeComponenet/NativeComponentExample.tsx +0 -26
@@ -0,0 +1,170 @@
1
+ <?xml version="1.0" encoding="utf-8"?>
2
+ <vector xmlns:android="http://schemas.android.com/apk/res/android"
3
+ android:width="108dp"
4
+ android:height="108dp"
5
+ android:viewportWidth="108"
6
+ android:viewportHeight="108">
7
+ <path
8
+ android:fillColor="#3DDC84"
9
+ android:pathData="M0,0h108v108h-108z" />
10
+ <path
11
+ android:fillColor="#00000000"
12
+ android:pathData="M9,0L9,108"
13
+ android:strokeWidth="0.8"
14
+ android:strokeColor="#33FFFFFF" />
15
+ <path
16
+ android:fillColor="#00000000"
17
+ android:pathData="M19,0L19,108"
18
+ android:strokeWidth="0.8"
19
+ android:strokeColor="#33FFFFFF" />
20
+ <path
21
+ android:fillColor="#00000000"
22
+ android:pathData="M29,0L29,108"
23
+ android:strokeWidth="0.8"
24
+ android:strokeColor="#33FFFFFF" />
25
+ <path
26
+ android:fillColor="#00000000"
27
+ android:pathData="M39,0L39,108"
28
+ android:strokeWidth="0.8"
29
+ android:strokeColor="#33FFFFFF" />
30
+ <path
31
+ android:fillColor="#00000000"
32
+ android:pathData="M49,0L49,108"
33
+ android:strokeWidth="0.8"
34
+ android:strokeColor="#33FFFFFF" />
35
+ <path
36
+ android:fillColor="#00000000"
37
+ android:pathData="M59,0L59,108"
38
+ android:strokeWidth="0.8"
39
+ android:strokeColor="#33FFFFFF" />
40
+ <path
41
+ android:fillColor="#00000000"
42
+ android:pathData="M69,0L69,108"
43
+ android:strokeWidth="0.8"
44
+ android:strokeColor="#33FFFFFF" />
45
+ <path
46
+ android:fillColor="#00000000"
47
+ android:pathData="M79,0L79,108"
48
+ android:strokeWidth="0.8"
49
+ android:strokeColor="#33FFFFFF" />
50
+ <path
51
+ android:fillColor="#00000000"
52
+ android:pathData="M89,0L89,108"
53
+ android:strokeWidth="0.8"
54
+ android:strokeColor="#33FFFFFF" />
55
+ <path
56
+ android:fillColor="#00000000"
57
+ android:pathData="M99,0L99,108"
58
+ android:strokeWidth="0.8"
59
+ android:strokeColor="#33FFFFFF" />
60
+ <path
61
+ android:fillColor="#00000000"
62
+ android:pathData="M0,9L108,9"
63
+ android:strokeWidth="0.8"
64
+ android:strokeColor="#33FFFFFF" />
65
+ <path
66
+ android:fillColor="#00000000"
67
+ android:pathData="M0,19L108,19"
68
+ android:strokeWidth="0.8"
69
+ android:strokeColor="#33FFFFFF" />
70
+ <path
71
+ android:fillColor="#00000000"
72
+ android:pathData="M0,29L108,29"
73
+ android:strokeWidth="0.8"
74
+ android:strokeColor="#33FFFFFF" />
75
+ <path
76
+ android:fillColor="#00000000"
77
+ android:pathData="M0,39L108,39"
78
+ android:strokeWidth="0.8"
79
+ android:strokeColor="#33FFFFFF" />
80
+ <path
81
+ android:fillColor="#00000000"
82
+ android:pathData="M0,49L108,49"
83
+ android:strokeWidth="0.8"
84
+ android:strokeColor="#33FFFFFF" />
85
+ <path
86
+ android:fillColor="#00000000"
87
+ android:pathData="M0,59L108,59"
88
+ android:strokeWidth="0.8"
89
+ android:strokeColor="#33FFFFFF" />
90
+ <path
91
+ android:fillColor="#00000000"
92
+ android:pathData="M0,69L108,69"
93
+ android:strokeWidth="0.8"
94
+ android:strokeColor="#33FFFFFF" />
95
+ <path
96
+ android:fillColor="#00000000"
97
+ android:pathData="M0,79L108,79"
98
+ android:strokeWidth="0.8"
99
+ android:strokeColor="#33FFFFFF" />
100
+ <path
101
+ android:fillColor="#00000000"
102
+ android:pathData="M0,89L108,89"
103
+ android:strokeWidth="0.8"
104
+ android:strokeColor="#33FFFFFF" />
105
+ <path
106
+ android:fillColor="#00000000"
107
+ android:pathData="M0,99L108,99"
108
+ android:strokeWidth="0.8"
109
+ android:strokeColor="#33FFFFFF" />
110
+ <path
111
+ android:fillColor="#00000000"
112
+ android:pathData="M19,29L89,29"
113
+ android:strokeWidth="0.8"
114
+ android:strokeColor="#33FFFFFF" />
115
+ <path
116
+ android:fillColor="#00000000"
117
+ android:pathData="M19,39L89,39"
118
+ android:strokeWidth="0.8"
119
+ android:strokeColor="#33FFFFFF" />
120
+ <path
121
+ android:fillColor="#00000000"
122
+ android:pathData="M19,49L89,49"
123
+ android:strokeWidth="0.8"
124
+ android:strokeColor="#33FFFFFF" />
125
+ <path
126
+ android:fillColor="#00000000"
127
+ android:pathData="M19,59L89,59"
128
+ android:strokeWidth="0.8"
129
+ android:strokeColor="#33FFFFFF" />
130
+ <path
131
+ android:fillColor="#00000000"
132
+ android:pathData="M19,69L89,69"
133
+ android:strokeWidth="0.8"
134
+ android:strokeColor="#33FFFFFF" />
135
+ <path
136
+ android:fillColor="#00000000"
137
+ android:pathData="M19,79L89,79"
138
+ android:strokeWidth="0.8"
139
+ android:strokeColor="#33FFFFFF" />
140
+ <path
141
+ android:fillColor="#00000000"
142
+ android:pathData="M29,19L29,89"
143
+ android:strokeWidth="0.8"
144
+ android:strokeColor="#33FFFFFF" />
145
+ <path
146
+ android:fillColor="#00000000"
147
+ android:pathData="M39,19L39,89"
148
+ android:strokeWidth="0.8"
149
+ android:strokeColor="#33FFFFFF" />
150
+ <path
151
+ android:fillColor="#00000000"
152
+ android:pathData="M49,19L49,89"
153
+ android:strokeWidth="0.8"
154
+ android:strokeColor="#33FFFFFF" />
155
+ <path
156
+ android:fillColor="#00000000"
157
+ android:pathData="M59,19L59,89"
158
+ android:strokeWidth="0.8"
159
+ android:strokeColor="#33FFFFFF" />
160
+ <path
161
+ android:fillColor="#00000000"
162
+ android:pathData="M69,19L69,89"
163
+ android:strokeWidth="0.8"
164
+ android:strokeColor="#33FFFFFF" />
165
+ <path
166
+ android:fillColor="#00000000"
167
+ android:pathData="M79,19L79,89"
168
+ android:strokeWidth="0.8"
169
+ android:strokeColor="#33FFFFFF" />
170
+ </vector>
@@ -0,0 +1,6 @@
1
+ <?xml version="1.0" encoding="utf-8"?>
2
+ <shape xmlns:android="http://schemas.android.com/apk/res/android" android:shape="rectangle" >
3
+ <solid android:color="@android:color/white" />
4
+ <stroke android:width="1dip" android:color="@color/black"/>
5
+ <padding android:bottom="10dp" android:left="10dp" android:right="10dp" android:top="10dp"/>
6
+ </shape>
@@ -0,0 +1,30 @@
1
+ <vector xmlns:android="http://schemas.android.com/apk/res/android"
2
+ xmlns:aapt="http://schemas.android.com/aapt"
3
+ android:width="108dp"
4
+ android:height="108dp"
5
+ android:viewportWidth="108"
6
+ android:viewportHeight="108">
7
+ <path android:pathData="M31,63.928c0,0 6.4,-11 12.1,-13.1c7.2,-2.6 26,-1.4 26,-1.4l38.1,38.1L107,108.928l-32,-1L31,63.928z">
8
+ <aapt:attr name="android:fillColor">
9
+ <gradient
10
+ android:endX="85.84757"
11
+ android:endY="92.4963"
12
+ android:startX="42.9492"
13
+ android:startY="49.59793"
14
+ android:type="linear">
15
+ <item
16
+ android:color="#44000000"
17
+ android:offset="0.0" />
18
+ <item
19
+ android:color="#00000000"
20
+ android:offset="1.0" />
21
+ </gradient>
22
+ </aapt:attr>
23
+ </path>
24
+ <path
25
+ android:fillColor="#FFFFFF"
26
+ android:fillType="nonZero"
27
+ android:pathData="M65.3,45.828l3.8,-6.6c0.2,-0.4 0.1,-0.9 -0.3,-1.1c-0.4,-0.2 -0.9,-0.1 -1.1,0.3l-3.9,6.7c-6.3,-2.8 -13.4,-2.8 -19.7,0l-3.9,-6.7c-0.2,-0.4 -0.7,-0.5 -1.1,-0.3C38.8,38.328 38.7,38.828 38.9,39.228l3.8,6.6C36.2,49.428 31.7,56.028 31,63.928h46C76.3,56.028 71.8,49.428 65.3,45.828zM43.4,57.328c-0.8,0 -1.5,-0.5 -1.8,-1.2c-0.3,-0.7 -0.1,-1.5 0.4,-2.1c0.5,-0.5 1.4,-0.7 2.1,-0.4c0.7,0.3 1.2,1 1.2,1.8C45.3,56.528 44.5,57.328 43.4,57.328L43.4,57.328zM64.6,57.328c-0.8,0 -1.5,-0.5 -1.8,-1.2s-0.1,-1.5 0.4,-2.1c0.5,-0.5 1.4,-0.7 2.1,-0.4c0.7,0.3 1.2,1 1.2,1.8C66.5,56.528 65.6,57.328 64.6,57.328L64.6,57.328z"
28
+ android:strokeWidth="1"
29
+ android:strokeColor="#00000000" />
30
+ </vector>
@@ -0,0 +1,25 @@
1
+ <vector xmlns:android="http://schemas.android.com/apk/res/android"
2
+ android:width="117dp"
3
+ android:height="62dp"
4
+ android:viewportWidth="117"
5
+ android:viewportHeight="62">
6
+ <group>
7
+ <clip-path
8
+ android:pathData="M0,0h117v62h-117z"/>
9
+ <path
10
+ android:pathData="M23.439,51.816H14.889C11.239,51.816 9.876,48.581 9.876,44.122L9.87,20.864H0V44.122C0,54.115 6.958,61.647 16.184,61.647H33.324V20.864H23.439V51.816Z"
11
+ android:fillColor="#FFFFFF"/>
12
+ <path
13
+ android:pathData="M50.302,30.696H58.852C62.502,30.696 63.865,33.931 63.865,38.39L63.868,61.647H73.738V38.39C73.738,28.396 66.781,20.864 57.554,20.864H40.414V61.647H50.299V30.696H50.302Z"
14
+ android:fillColor="#FFFFFF"/>
15
+ <path
16
+ android:pathData="M80.837,61.649H90.878V17.586L80.837,21.746V61.649Z"
17
+ android:fillColor="#FFFFFF"/>
18
+ <path
19
+ android:pathData="M116.473,53.257L116.403,53.261C115.659,53.358 114.853,53.404 114.014,53.404C111.825,53.404 110.269,52.804 109.387,51.622C108.471,50.391 108.006,48.259 108.006,45.284V28.973H116.997V20.463H108.006V10.087L97.967,14.247V45.36C97.967,47.949 98.197,50.285 98.65,52.307C99.11,54.369 99.918,56.154 101.051,57.61C102.191,59.081 103.752,60.22 105.691,60.991C107.602,61.752 110.006,62.136 112.829,62.136C114.14,62.136 115.389,62.054 116.547,61.895L117,61.831V53.257H116.473Z"
20
+ android:fillColor="#FFFFFF"/>
21
+ <path
22
+ android:pathData="M80.837,0V14.02L90.878,9.859V0H80.837Z"
23
+ android:fillColor="#FFFFFF"/>
24
+ </group>
25
+ </vector>
@@ -0,0 +1,13 @@
1
+ <vector xmlns:android="http://schemas.android.com/apk/res/android"
2
+ android:width="131dp"
3
+ android:height="42dp"
4
+ android:viewportWidth="131"
5
+ android:viewportHeight="42">
6
+ <group>
7
+ <clip-path
8
+ android:pathData="M0,0h131v42h-131z"/>
9
+ <path
10
+ android:pathData="M49.739,0.742L32.588,41.365H21.399L12.959,8.949C12.446,6.952 12.004,6.221 10.443,5.379C7.898,4.009 3.697,2.724 0.004,1.925L0.255,0.744H18.267C20.563,0.744 22.627,2.262 23.148,4.886L27.605,28.39L38.622,0.741H49.743L49.739,0.742ZM93.581,28.102C93.626,17.38 78.647,16.79 78.751,12C78.783,10.543 80.183,8.993 83.241,8.597C84.757,8.4 88.936,8.25 93.68,10.415L95.539,1.801C92.992,0.883 89.715,0 85.637,0C75.175,0 67.811,5.522 67.749,13.428C67.681,19.276 73.003,22.54 77.015,24.483C81.141,26.473 82.526,27.752 82.51,29.532C82.481,32.257 79.219,33.46 76.171,33.507C70.85,33.588 67.764,32.078 65.303,30.942L63.384,39.841C65.857,40.968 70.423,41.951 75.156,42C86.277,42 93.551,36.547 93.585,28.102H93.581ZM121.213,41.365H131.004L122.453,0.742H113.418C112.453,0.734 111.508,1.014 110.705,1.545C109.902,2.077 109.279,2.835 108.915,3.723L93.031,41.365H104.146L106.351,35.297H119.932L121.213,41.365ZM109.402,26.971L114.974,11.719L118.181,26.971H109.402ZM64.863,0.742L56.11,41.365H45.525L54.282,0.742H64.863Z"
11
+ android:fillColor="#FFFFFF"/>
12
+ </group>
13
+ </vector>
@@ -0,0 +1,54 @@
1
+ <vector xmlns:android="http://schemas.android.com/apk/res/android"
2
+ android:width="89dp"
3
+ android:height="17dp"
4
+ android:viewportWidth="89"
5
+ android:viewportHeight="17">
6
+ <path
7
+ android:pathData="M3.892,3.816L6.944,3.816C6.944,3.816 6.944,4.278 6.93,4.446C6.818,10.494 6.72,12.566 6.286,13.196C6.006,13.602 5.74,13.742 5.292,13.812C4.9,13.868 4.284,13.868 3.64,13.84C3.626,13.448 3.486,12.888 3.262,12.538C3.878,12.566 4.438,12.58 4.676,12.58C4.9,12.58 5.026,12.552 5.152,12.342C5.446,11.964 5.558,10.13 5.67,5.09L3.85,5.09C3.724,8.828 3.248,12.062 1.4,14.106C1.19,13.812 0.742,13.378 0.434,13.182C2.086,11.362 2.478,8.478 2.576,5.09L0.798,5.09L0.798,3.816L2.604,3.816C2.618,3.046 2.618,2.262 2.618,1.45L3.906,1.45C3.906,2.248 3.906,3.046 3.892,3.816ZM9.17,11.614L11.466,11.614L11.466,4.18L9.17,4.18L9.17,11.614ZM7.924,2.92L12.782,2.92L12.782,13.756L11.466,13.756L11.466,12.86L9.17,12.86L9.17,13.868L7.924,13.868L7.924,2.92ZM27.422,7.554L21.542,7.554L21.542,8.954L21.808,8.52C23.278,8.926 25.392,9.64 26.484,10.158L25.798,11.334C24.846,10.844 23.012,10.144 21.542,9.668L21.542,14.092L20.17,14.092L20.17,7.554L14.92,7.554L14.92,6.266L20.17,6.266L20.17,1.254L21.542,1.254L21.542,3.116L25.91,3.116L25.91,4.362L21.542,4.362L21.542,6.266L27.422,6.266L27.422,7.554ZM33.228,11.908L36.14,11.544L36.182,12.748C33.634,13.112 30.932,13.476 29.07,13.728L28.874,12.426C29.714,12.342 30.778,12.216 31.94,12.076L31.94,9.906L29.448,9.906L29.448,8.744L31.94,8.744L31.94,7.204L33.228,7.204L33.228,8.744L35.692,8.744L35.692,9.906L33.228,9.906L33.228,11.908ZM33.34,4.348L34.306,3.83C35.118,4.782 36.056,6.07 36.434,6.924L35.412,7.526C35.314,7.288 35.174,7.022 35.006,6.728C32.864,6.868 30.666,6.98 29.084,7.05L28.986,5.818L30.246,5.776C30.568,5.02 30.876,4.096 31.1,3.312L29.028,3.312L29.028,2.15L36.126,2.15L36.126,3.312L32.57,3.312C32.248,4.11 31.898,4.992 31.548,5.734C32.416,5.706 33.354,5.678 34.306,5.636C33.998,5.188 33.662,4.74 33.34,4.348ZM37.918,2.934L37.918,10.662L36.672,10.662L36.672,2.934L37.918,2.934ZM39.892,1.632L41.166,1.632L41.166,12.454C41.166,13.252 40.998,13.644 40.494,13.868C40.004,14.064 39.136,14.106 37.988,14.106C37.932,13.742 37.736,13.14 37.554,12.762C38.436,12.79 39.29,12.79 39.57,12.79C39.808,12.776 39.892,12.706 39.892,12.454L39.892,1.632Z"
8
+ android:strokeWidth="1"
9
+ android:fillColor="#3C4043"
10
+ android:fillType="evenOdd"
11
+ android:strokeColor="#00000000"/>
12
+ <path
13
+ android:pathData="M67.526,2.6348L67.526,6.7179L70.0439,6.7179C70.6438,6.7179 71.1398,6.5163 71.5322,6.1131C71.9348,5.7109 72.1367,5.2312 72.1367,4.6759C72.1367,4.1318 71.9348,3.6577 71.5322,3.2545C71.1398,2.841 70.6438,2.6339 70.0439,2.6339L67.526,2.6339L67.526,2.6348ZM67.526,8.1551L67.526,12.8914L66.0218,12.8914L66.0218,1.1976L70.0112,1.1976C71.0249,1.1976 71.8854,1.5354 72.5945,2.2102C73.3139,2.8849 73.6736,3.7071 73.6736,4.6759C73.6736,5.667 73.3139,6.4948 72.5945,7.1584C71.8965,7.8228 71.0351,8.1542 70.0112,8.1542L67.526,8.1542L67.526,8.1551Z"
14
+ android:strokeWidth="1"
15
+ android:fillColor="#5F6368"
16
+ android:fillType="evenOdd"
17
+ android:strokeColor="#00000000"/>
18
+ <path
19
+ android:pathData="M75.1936,10.4416C75.1936,10.8336 75.3599,11.1602 75.6926,11.4215C76.0251,11.6828 76.4147,11.8135 76.8614,11.8135C77.4938,11.8135 78.0572,11.5792 78.5533,11.1117C79.0495,10.6432 79.297,10.0935 79.297,9.4626C78.828,9.0921 78.174,8.9073 77.335,8.9073C76.7241,8.9073 76.2149,9.0547 75.8066,9.3487C75.3982,9.6426 75.1936,10.0058 75.1936,10.4416M77.1397,4.6273C78.2515,4.6273 79.1288,4.9241 79.7726,5.5177C80.4154,6.1112 80.7367,6.925 80.7367,7.9591L80.7367,12.8914L79.298,12.8914L79.298,11.7808L79.2325,11.7808C78.6112,12.6953 77.7825,13.1527 76.7474,13.1527C75.8645,13.1527 75.1255,12.8914 74.5321,12.3688C73.938,11.8462 73.6409,11.1929 73.6409,10.4089C73.6409,9.5811 73.9538,8.9231 74.5807,8.4332C75.2076,7.9432 76.0439,7.6978 77.0903,7.6978C77.9834,7.6978 78.7196,7.8611 79.297,8.1877L79.297,7.8443C79.297,7.3217 79.0896,6.8784 78.6758,6.5135C78.2609,6.1485 77.7769,5.9666 77.221,5.9666C76.3811,5.9666 75.7169,6.3203 75.2264,7.0286L73.9015,6.1952C74.6321,5.1499 75.7112,4.6273 77.1397,4.6273"
20
+ android:strokeWidth="1"
21
+ android:fillColor="#5F6368"
22
+ android:fillType="evenOdd"
23
+ android:strokeColor="#00000000"/>
24
+ <path
25
+ android:pathData="M88.993,4.8886l-5.0198,11.5305l-1.5529,0l1.864,-4.0345l-3.3028,-7.496l1.635,0l2.3871,5.7489l0.0327,0l2.3217,-5.7489z"
26
+ android:strokeWidth="1"
27
+ android:fillColor="#5F6368"
28
+ android:fillType="evenOdd"
29
+ android:strokeColor="#00000000"/>
30
+ <path
31
+ android:pathData="M61.448,7.1341C61.448,6.6609 61.4078,6.2045 61.3321,5.7678L54.9883,5.7678L54.9883,8.3557L58.6218,8.3557C58.4657,9.1993 57.9939,9.9171 57.2783,10.3977L57.2783,12.0785L59.4468,12.0785C60.7164,10.9082 61.448,9.1789 61.448,7.1341"
32
+ android:strokeWidth="1"
33
+ android:fillColor="#4285F4"
34
+ android:fillType="evenOdd"
35
+ android:strokeColor="#00000000"/>
36
+ <path
37
+ android:pathData="M54.9883,13.7006C56.8036,13.7006 58.3321,13.1051 59.4467,12.0785L57.2783,10.3977C56.6747,10.8037 55.8974,11.0407 54.9883,11.0407C53.2337,11.0407 51.7445,9.8592 51.2119,8.2671L48.9781,8.2671L48.9781,9.9983C50.0852,12.1933 52.3602,13.7006 54.9883,13.7006"
38
+ android:strokeWidth="1"
39
+ android:fillColor="#34A853"
40
+ android:fillType="evenOdd"
41
+ android:strokeColor="#00000000"/>
42
+ <path
43
+ android:pathData="M51.212,8.267C51.0756,7.8611 51.0008,7.428 51.0008,6.981C51.0008,6.534 51.0756,6.1009 51.212,5.695L51.212,3.9637L48.9781,3.9637C48.5203,4.8709 48.2615,5.8956 48.2615,6.981C48.2615,8.0664 48.5203,9.0912 48.9781,9.9983L51.212,8.267Z"
44
+ android:strokeWidth="1"
45
+ android:fillColor="#FABB05"
46
+ android:fillType="evenOdd"
47
+ android:strokeColor="#00000000"/>
48
+ <path
49
+ android:pathData="M54.9883,2.9213C55.9796,2.9213 56.8681,3.2619 57.5688,3.9292L57.5688,3.9302L59.4888,2.0123C58.3228,0.9278 56.8027,0.2615 54.9883,0.2615C52.3602,0.2615 50.0852,1.7687 48.9781,3.9638L51.2119,5.695C51.7445,4.1028 53.2337,2.9213 54.9883,2.9213"
50
+ android:strokeWidth="1"
51
+ android:fillColor="#E94235"
52
+ android:fillType="evenOdd"
53
+ android:strokeColor="#00000000"/>
54
+ </vector>
@@ -0,0 +1,54 @@
1
+ <vector xmlns:android="http://schemas.android.com/apk/res/android"
2
+ android:width="89dp"
3
+ android:height="17dp"
4
+ android:viewportWidth="89"
5
+ android:viewportHeight="17">
6
+ <path
7
+ android:pathData="M3.892,3.816L6.944,3.816C6.944,3.816 6.944,4.278 6.93,4.446C6.818,10.494 6.72,12.566 6.286,13.196C6.006,13.602 5.74,13.742 5.292,13.812C4.9,13.868 4.284,13.868 3.64,13.84C3.626,13.448 3.486,12.888 3.262,12.538C3.878,12.566 4.438,12.58 4.676,12.58C4.9,12.58 5.026,12.552 5.152,12.342C5.446,11.964 5.558,10.13 5.67,5.09L3.85,5.09C3.724,8.828 3.248,12.062 1.4,14.106C1.19,13.812 0.742,13.378 0.434,13.182C2.086,11.362 2.478,8.478 2.576,5.09L0.798,5.09L0.798,3.816L2.604,3.816C2.618,3.046 2.618,2.262 2.618,1.45L3.906,1.45C3.906,2.248 3.906,3.046 3.892,3.816ZM9.17,11.614L11.466,11.614L11.466,4.18L9.17,4.18L9.17,11.614ZM7.924,2.92L12.782,2.92L12.782,13.756L11.466,13.756L11.466,12.86L9.17,12.86L9.17,13.868L7.924,13.868L7.924,2.92ZM27.422,7.554L21.542,7.554L21.542,8.954L21.808,8.52C23.278,8.926 25.392,9.64 26.484,10.158L25.798,11.334C24.846,10.844 23.012,10.144 21.542,9.668L21.542,14.092L20.17,14.092L20.17,7.554L14.92,7.554L14.92,6.266L20.17,6.266L20.17,1.254L21.542,1.254L21.542,3.116L25.91,3.116L25.91,4.362L21.542,4.362L21.542,6.266L27.422,6.266L27.422,7.554ZM33.228,11.908L36.14,11.544L36.182,12.748C33.634,13.112 30.932,13.476 29.07,13.728L28.874,12.426C29.714,12.342 30.778,12.216 31.94,12.076L31.94,9.906L29.448,9.906L29.448,8.744L31.94,8.744L31.94,7.204L33.228,7.204L33.228,8.744L35.692,8.744L35.692,9.906L33.228,9.906L33.228,11.908ZM33.34,4.348L34.306,3.83C35.118,4.782 36.056,6.07 36.434,6.924L35.412,7.526C35.314,7.288 35.174,7.022 35.006,6.728C32.864,6.868 30.666,6.98 29.084,7.05L28.986,5.818L30.246,5.776C30.568,5.02 30.876,4.096 31.1,3.312L29.028,3.312L29.028,2.15L36.126,2.15L36.126,3.312L32.57,3.312C32.248,4.11 31.898,4.992 31.548,5.734C32.416,5.706 33.354,5.678 34.306,5.636C33.998,5.188 33.662,4.74 33.34,4.348ZM37.918,2.934L37.918,10.662L36.672,10.662L36.672,2.934L37.918,2.934ZM39.892,1.632L41.166,1.632L41.166,12.454C41.166,13.252 40.998,13.644 40.494,13.868C40.004,14.064 39.136,14.106 37.988,14.106C37.932,13.742 37.736,13.14 37.554,12.762C38.436,12.79 39.29,12.79 39.57,12.79C39.808,12.776 39.892,12.706 39.892,12.454L39.892,1.632Z"
8
+ android:strokeWidth="1"
9
+ android:fillColor="#FFFFFF"
10
+ android:fillType="evenOdd"
11
+ android:strokeColor="#00000000"/>
12
+ <path
13
+ android:pathData="M67.526,2.6348L67.526,6.7179L70.0439,6.7179C70.6438,6.7179 71.1398,6.5163 71.5322,6.1131C71.9348,5.7109 72.1367,5.2312 72.1367,4.6759C72.1367,4.1318 71.9348,3.6577 71.5322,3.2545C71.1398,2.841 70.6438,2.6339 70.0439,2.6339L67.526,2.6339L67.526,2.6348ZM67.526,8.1551L67.526,12.8914L66.0218,12.8914L66.0218,1.1976L70.0112,1.1976C71.0249,1.1976 71.8854,1.5354 72.5945,2.2102C73.3139,2.8849 73.6736,3.7071 73.6736,4.6759C73.6736,5.667 73.3139,6.4948 72.5945,7.1584C71.8965,7.8228 71.0351,8.1542 70.0112,8.1542L67.526,8.1542L67.526,8.1551Z"
14
+ android:strokeWidth="1"
15
+ android:fillColor="#FFFFFF"
16
+ android:fillType="evenOdd"
17
+ android:strokeColor="#00000000"/>
18
+ <path
19
+ android:pathData="M75.1936,10.4416C75.1936,10.8336 75.3599,11.1602 75.6926,11.4215C76.0251,11.6828 76.4147,11.8135 76.8614,11.8135C77.4938,11.8135 78.0572,11.5792 78.5533,11.1117C79.0495,10.6432 79.297,10.0935 79.297,9.4626C78.828,9.0921 78.174,8.9073 77.335,8.9073C76.7241,8.9073 76.2149,9.0547 75.8066,9.3487C75.3982,9.6426 75.1936,10.0058 75.1936,10.4416M77.1397,4.6273C78.2515,4.6273 79.1288,4.9241 79.7726,5.5177C80.4154,6.1112 80.7367,6.925 80.7367,7.9591L80.7367,12.8914L79.298,12.8914L79.298,11.7808L79.2325,11.7808C78.6112,12.6953 77.7825,13.1527 76.7474,13.1527C75.8645,13.1527 75.1255,12.8914 74.5321,12.3688C73.938,11.8462 73.6409,11.1929 73.6409,10.4089C73.6409,9.5811 73.9538,8.9231 74.5807,8.4332C75.2076,7.9432 76.0439,7.6978 77.0903,7.6978C77.9834,7.6978 78.7196,7.8611 79.297,8.1877L79.297,7.8443C79.297,7.3217 79.0896,6.8784 78.6758,6.5135C78.2609,6.1485 77.7769,5.9666 77.221,5.9666C76.3811,5.9666 75.7169,6.3203 75.2264,7.0286L73.9015,6.1952C74.6321,5.1499 75.7112,4.6273 77.1397,4.6273"
20
+ android:strokeWidth="1"
21
+ android:fillColor="#FFFFFF"
22
+ android:fillType="evenOdd"
23
+ android:strokeColor="#00000000"/>
24
+ <path
25
+ android:pathData="M88.993,4.8886l-5.0198,11.5305l-1.5529,0l1.864,-4.0345l-3.3028,-7.496l1.635,0l2.3871,5.7489l0.0327,0l2.3217,-5.7489z"
26
+ android:strokeWidth="1"
27
+ android:fillColor="#FFFFFF"
28
+ android:fillType="evenOdd"
29
+ android:strokeColor="#00000000"/>
30
+ <path
31
+ android:pathData="M61.448,7.1341C61.448,6.6609 61.4078,6.2045 61.3321,5.7678L54.9883,5.7678L54.9883,8.3557L58.6218,8.3557C58.4657,9.1993 57.9939,9.9171 57.2783,10.3977L57.2783,12.0785L59.4468,12.0785C60.7164,10.9082 61.448,9.1789 61.448,7.1341"
32
+ android:strokeWidth="1"
33
+ android:fillColor="#4285F4"
34
+ android:fillType="evenOdd"
35
+ android:strokeColor="#00000000"/>
36
+ <path
37
+ android:pathData="M54.9883,13.7006C56.8036,13.7006 58.3321,13.1051 59.4467,12.0785L57.2783,10.3977C56.6747,10.8037 55.8974,11.0407 54.9883,11.0407C53.2337,11.0407 51.7445,9.8592 51.2119,8.2671L48.9781,8.2671L48.9781,9.9983C50.0852,12.1933 52.3602,13.7006 54.9883,13.7006"
38
+ android:strokeWidth="1"
39
+ android:fillColor="#34A853"
40
+ android:fillType="evenOdd"
41
+ android:strokeColor="#00000000"/>
42
+ <path
43
+ android:pathData="M51.212,8.267C51.0756,7.8611 51.0008,7.428 51.0008,6.981C51.0008,6.534 51.0756,6.1009 51.212,5.695L51.212,3.9637L48.9781,3.9637C48.5203,4.8709 48.2615,5.8956 48.2615,6.981C48.2615,8.0664 48.5203,9.0912 48.9781,9.9983L51.212,8.267Z"
44
+ android:strokeWidth="1"
45
+ android:fillColor="#FABB05"
46
+ android:fillType="evenOdd"
47
+ android:strokeColor="#00000000"/>
48
+ <path
49
+ android:pathData="M54.9883,2.9213C55.9796,2.9213 56.8681,3.2619 57.5688,3.9292L57.5688,3.9302L59.4888,2.0123C58.3228,0.9278 56.8027,0.2615 54.9883,0.2615C52.3602,0.2615 50.0852,1.7687 48.9781,3.9638L51.2119,5.695C51.7445,4.1028 53.2337,2.9213 54.9883,2.9213"
50
+ android:strokeWidth="1"
51
+ android:fillColor="#E94235"
52
+ android:fillType="evenOdd"
53
+ android:strokeColor="#00000000"/>
54
+ </vector>
@@ -0,0 +1,32 @@
1
+ <?xml version="1.0" encoding="utf-8"?>
2
+ <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
3
+ android:clickable="true"
4
+ android:focusable="true"
5
+ android:layout_width="match_parent"
6
+ android:layout_height="48sp"
7
+ android:background="@drawable/un_black_googlepay_button_no_shadow_background"
8
+ android:padding="2sp"
9
+ android:contentDescription="@string/add_to_googlepay_button_content_description">
10
+ <LinearLayout
11
+ android:duplicateParentState="true"
12
+ android:layout_width="match_parent"
13
+ android:layout_height="match_parent"
14
+ android:weightSum="2"
15
+ android:gravity="center_vertical"
16
+ android:orientation="vertical">
17
+ <ImageView
18
+ android:layout_weight="1"
19
+ android:layout_width="match_parent"
20
+ android:layout_height="0dp"
21
+ android:scaleType="fitCenter"
22
+ android:duplicateParentState="true"
23
+ android:src="@drawable/un_black_add_to_googlepay_button_content"/>
24
+ </LinearLayout>
25
+
26
+ <ImageView
27
+ android:layout_width="match_parent"
28
+ android:layout_height="match_parent"
29
+ android:duplicateParentState="true"
30
+ android:scaleType="fitXY"
31
+ android:src="@drawable/un_black_googlepay_button_overlay" />
32
+ </RelativeLayout>
@@ -0,0 +1,45 @@
1
+ <?xml version="1.0" encoding="utf-8"?>
2
+ <merge xmlns:android="http://schemas.android.com/apk/res/android"
3
+ xmlns:tools="http://schemas.android.com/tools"
4
+ android:layout_width="match_parent"
5
+ android:layout_height="match_parent">
6
+
7
+ <RelativeLayout
8
+ android:id="@+id/google_view_push_provisioning_layout"
9
+ android:layout_width="match_parent"
10
+ android:layout_height="match_parent"
11
+ android:layout_margin="10dp"
12
+ tools:layout_editor_absoluteX="149dp"
13
+ tools:layout_editor_absoluteY="-120dp"
14
+ >
15
+
16
+ <include
17
+ android:id="@+id/white_add_to_googlepay_button_no_shadow"
18
+ layout="@layout/un_white_add_to_googlepay_button_no_shadow"
19
+ android:layout_width="200dp"
20
+ android:layout_height="52dp"
21
+ android:layout_centerHorizontal="true"
22
+ android:visibility="invisible"
23
+ />
24
+
25
+ <include
26
+ android:id="@+id/black_add_to_googlepay_button"
27
+ layout="@layout/un_black_add_to_googlepay_button"
28
+ android:layout_width="200dp"
29
+ android:layout_height="52dp"
30
+ android:layout_centerHorizontal="true"
31
+ android:visibility="invisible"
32
+ />
33
+
34
+
35
+ <include
36
+ android:id="@+id/white_add_to_googlepay_button"
37
+ layout="@layout/un_white_add_to_googlepay_button"
38
+ android:layout_width="200dp"
39
+ android:layout_height="52dp"
40
+ android:layout_centerHorizontal="true"
41
+ android:visibility="invisible" />
42
+
43
+ </RelativeLayout>
44
+
45
+ </merge>
@@ -0,0 +1,31 @@
1
+ <?xml version="1.0" encoding="utf-8"?>
2
+ <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
3
+ android:clickable="true"
4
+ android:focusable="true"
5
+ android:layout_width="match_parent"
6
+ android:layout_height="48sp"
7
+ android:background="@drawable/un_googlepay_button_background"
8
+ android:padding="4sp"
9
+ android:contentDescription="@string/add_to_googlepay_button_content_description">
10
+ <LinearLayout
11
+ android:duplicateParentState="true"
12
+ android:layout_width="match_parent"
13
+ android:layout_height="match_parent"
14
+ android:weightSum="2"
15
+ android:gravity="center_vertical"
16
+ android:orientation="vertical">
17
+ <ImageView
18
+ android:layout_weight="1"
19
+ android:layout_width="match_parent"
20
+ android:layout_height="0dp"
21
+ android:scaleType="fitCenter"
22
+ android:duplicateParentState="true"
23
+ android:src="@drawable/un_add_to_googlepay_button_content"/>
24
+ </LinearLayout>
25
+ <ImageView
26
+ android:layout_width="match_parent"
27
+ android:layout_height="match_parent"
28
+ android:scaleType="fitXY"
29
+ android:duplicateParentState="true"
30
+ android:src="@drawable/un_googlepay_button_overlay"/>
31
+ </RelativeLayout>
@@ -0,0 +1,31 @@
1
+ <?xml version="1.0" encoding="utf-8"?>
2
+ <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
3
+ android:clickable="true"
4
+ android:focusable="true"
5
+ android:layout_width="match_parent"
6
+ android:layout_height="48sp"
7
+ android:background="@drawable/un_googlepay_button_no_shadow_background"
8
+ android:padding="2sp"
9
+ android:contentDescription="@string/add_to_googlepay_button_content_description">
10
+ <LinearLayout
11
+ android:duplicateParentState="true"
12
+ android:layout_width="match_parent"
13
+ android:layout_height="match_parent"
14
+ android:weightSum="2"
15
+ android:gravity="center_vertical"
16
+ android:orientation="vertical">
17
+ <ImageView
18
+ android:layout_weight="1"
19
+ android:layout_width="match_parent"
20
+ android:layout_height="0dp"
21
+ android:scaleType="fitCenter"
22
+ android:duplicateParentState="true"
23
+ android:src="@drawable/un_add_to_googlepay_button_content"/>
24
+ </LinearLayout>
25
+ <ImageView
26
+ android:layout_width="match_parent"
27
+ android:layout_height="match_parent"
28
+ android:scaleType="fitXY"
29
+ android:duplicateParentState="true"
30
+ android:src="@drawable/un_googlepay_button_overlay"/>
31
+ </RelativeLayout>
@@ -0,0 +1,5 @@
1
+ <?xml version="1.0" encoding="utf-8"?>
2
+ <adaptive-icon xmlns:android="http://schemas.android.com/apk/res/android">
3
+ <background android:drawable="@drawable/ic_launcher_background" />
4
+ <foreground android:drawable="@drawable/un_ic_launcher_foreground" />
5
+ </adaptive-icon>
@@ -0,0 +1,5 @@
1
+ <?xml version="1.0" encoding="utf-8"?>
2
+ <adaptive-icon xmlns:android="http://schemas.android.com/apk/res/android">
3
+ <background android:drawable="@drawable/ic_launcher_background" />
4
+ <foreground android:drawable="@drawable/un_ic_launcher_foreground" />
5
+ </adaptive-icon>
@@ -0,0 +1,14 @@
1
+ <?xml version="1.0" encoding="utf-8"?>
2
+ <resources>
3
+ <color name="purple_200">#FFBB86FC</color>
4
+ <color name="purple_500">#FF6200EE</color>
5
+ <color name="purple_700">#FF3700B3</color>
6
+ <color name="teal_200">#FF03DAC5</color>
7
+ <color name="teal_700">#FF018786</color>
8
+ <color name="black">#FF000000</color>
9
+ <color name="white">#FFFFFFFF</color>
10
+ <color name="colorPrimary">#3F51B5</color>
11
+ <color name="colorPrimaryDark">#303F9F</color>
12
+ <color name="colorAccent">#FF4081</color>
13
+
14
+ </resources>