Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
71 commits
Select commit Hold shift + click to select a range
0ad39ce
Added documentation for
Oct 28, 2022
6e36bbf
Replaces RU locale with ES
Oct 28, 2022
0842c09
Removed wiretransfer part about iban scanner which is not part of thi…
Oct 28, 2022
bc22003
Added recurring documentation into credit card and sepa
Oct 28, 2022
ba89bf7
Initial ios mvp2
Oct 30, 2022
a70e695
ios sofort & ratepay
Nov 1, 2022
5d4b1d6
Update index.adoc
Nov 1, 2022
570dc2b
Update index.adoc
Nov 22, 2022
60d9ae8
Update index.adoc
Nov 22, 2022
3ea2bb9
RatePay fix
Nov 22, 2022
87a93ad
Update build.yml
comanl Nov 23, 2022
7f8fe68
Update build.yml
comanl Nov 23, 2022
a4715b4
Merge branch 'master' into mobilesdkphase2
comanl Nov 23, 2022
ae1310b
Merge branch 'master' into mobilesdkphase2
comanl Nov 23, 2022
5669de3
Merge branch 'master' into mobilesdkphase2
comanl Nov 23, 2022
154af8f
Uncommented ratepay
Nov 24, 2022
8cbffa4
Merge remote-tracking branch 'origin/mobilesdkphase2' into mobilesdkp…
Nov 24, 2022
97a7c21
Update 08-01-01-07-ratepay.adoc
Nov 27, 2022
d9c912a
localization, tokenization, response handling
Nov 28, 2022
6141e5c
Update 08-01-00-basic-setup-and-integration.adoc
Nov 28, 2022
ba0fa63
Update 08-01-00-basic-setup-and-integration.adoc
Nov 28, 2022
6990609
Update 08-01-01-07-ratepay.adoc
Nov 30, 2022
fc92104
Update 08-01-00-basic-setup-and-integration.adoc
Nov 30, 2022
67e3e59
Merge branch 'master' into mobilesdkphase2
comanl Dec 2, 2022
c319106
Fixed ratepay doc - uncommented and change number based on file
Dec 2, 2022
4d940ac
MSDK-2879: Removed card scanning from P24
Dec 19, 2022
c6d42cb
MSDK-2879: Fix doc
Dec 20, 2022
c53e330
MSDK-2929: Adjusted copyright
dominikmicuta Feb 8, 2023
1d135fb
LICENCE iOS Update
Feb 9, 2023
571c2fe
MSDK-2930: Added bizum to documentation
dominikmicuta Feb 10, 2023
dbb3c7c
MSDK-2917 - iOS | Phase 2 Documentation | Prepare doc for Bizum
Feb 10, 2023
a1d8f0c
Merge branch 'master' into mobilesdkphase2
Feb 20, 2023
7687c92
Update toolchain
Feb 20, 2023
ca8b134
Update 08-01-01-08-bizum.adoc
Feb 21, 2023
b4ae739
MSDK-2967: Added mbway documentation
dominikmicuta Apr 19, 2023
240dd13
MBWay documentation
Apr 23, 2023
ad0943a
MSDK-3063: added zinia docs
chomamatus May 9, 2023
d8f784e
iOS Release update
May 18, 2023
25f7321
Merge branch 'master' into mobilesdkphase2
May 22, 2023
44c577c
Added Blik Android documentation
dominikmicuta May 22, 2023
9c57ed6
Merge remote-tracking branch 'origin/mobilesdkphase2' into mobilesdkp…
dominikmicuta May 22, 2023
a534411
Update 07-00-mobile-payment-sdk.adoc
May 22, 2023
74b053f
iOS doc fixies
May 23, 2023
d9e83c1
Removed accidental image sections from Android docs
dominikmicuta May 24, 2023
fb2383f
Photo Gallery update
Jun 8, 2023
e4f9b8f
Cocoapods pod name changes
Jun 19, 2023
945009e
MSDK-3038: added mb referencia docs
chomamatus Jun 30, 2023
2e2b94c
MSDK-3006- iOS | Phase 3 Documentation | Prepare doc for MB Referencia
Jul 3, 2023
c9ddd72
MSDK-3038: updated docs with expiration date
chomamatus Jul 4, 2023
3a5e562
Merge remote-tracking branch 'origin/mobilesdkphase3' into mobilesdkp…
chomamatus Jul 4, 2023
23b91c6
MSDK-3038: updated docs with expiration date
chomamatus Jul 4, 2023
57e7111
Merge branch 'master' into mobilesdkphase3
dominikmicuta Jul 13, 2023
f28a970
Added ideal android
dominikmicuta Jul 13, 2023
fe8037c
Signature doc fix
Jul 18, 2023
fdc7e23
Merge branch 'mobilesdkphase3' of https://github.com/getneteurope/doc…
Jul 18, 2023
b6f59c7
Merge branch 'mobilesdkphase2.1' into mobilesdkphase3
Jul 18, 2023
4536b0a
iOS - Release and Queries
Jul 19, 2023
501256f
iOS customization
Jul 24, 2023
a2b561b
iOS Vizualization and Customization
Jul 25, 2023
19f9f4a
ios doc fix
Jul 31, 2023
1a9785e
ios doc fix
Jul 31, 2023
4e4462b
Adjustments based on review from Peter
dominikmicuta Aug 9, 2023
a983890
MSDK-3303: Added gpay docs
dominikmicuta Oct 13, 2023
6f5354a
kotlin builder syntax fix
AlexanderKatonaGetNetEurope Oct 23, 2023
211ef46
removed debit and pendingDebit on wiretransfer
AlexanderKatonaGetNetEurope Oct 27, 2023
40d9561
fixed images for card brand picker
AlexanderKatonaGetNetEurope Oct 27, 2023
192881c
updated theming doc
AlexanderKatonaGetNetEurope Nov 6, 2023
15012de
updated gpay doc
AlexanderKatonaGetNetEurope Nov 9, 2023
9363d03
Merge branch 'master' of https://github.com/getneteurope/docs
Nov 13, 2023
1ba2bd0
MSDK-3304 IOS | Phase 3 Documentation | Add doc for Apple Pay
Nov 13, 2023
168f052
Merge branch 'master' into mobilesdkphase3
Nov 13, 2023
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{}
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified content/images/07-01-02-integrating-mpsdk-on-ios/iOS/sepa.png
Binary file modified content/images/07-01-02-integrating-mpsdk-on-ios/iOS/sofort.png
Binary file added content/images/android/CardPaymentBrandPicker.jpg
Binary file removed content/images/android/cardBrandPicker.png
Diff not rendered.
Binary file added content/images/android/cardBrandPickerSimple.png
16 changes: 14 additions & 2 deletions content/index.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,7 @@ include::index/integration-guides/mobile-payment-sdk/08-01-00-basic-setup.adoc[l
include::index/integration-guides/mobile-payment-sdk/android/07-01-01-integrating-mpsdk-on-android.adoc[leveloffset=+2]
include::index/integration-guides/mobile-payment-sdk/android/08-01-00-basic-setup-and-integration.adoc[leveloffset=+3]
include::index/integration-guides/mobile-payment-sdk/android/08-01-00-customization.adoc[leveloffset=+3]
include::index/integration-guides/mobile-payment-sdk/android/08-01-03-theming-android.adoc[leveloffset=+3]
include::index/integration-guides/mobile-payment-sdk/android/08-01-01-payment-methods.adoc[leveloffset=+3]
include::index/integration-guides/mobile-payment-sdk/android/payment-methods/08-01-01-00-alipay.adoc[leveloffset=+4]
include::index/integration-guides/mobile-payment-sdk/android/payment-methods/08-01-01-01-credit-card.adoc[leveloffset=+4]
Expand All @@ -85,7 +86,12 @@ include::index/integration-guides/mobile-payment-sdk/android/payment-methods/08-
include::index/integration-guides/mobile-payment-sdk/android/payment-methods/08-01-01-06-sofort.adoc[leveloffset=+4]
include::index/integration-guides/mobile-payment-sdk/android/payment-methods/08-01-01-07-ratepay.adoc[leveloffset=+4]
include::index/integration-guides/mobile-payment-sdk/android/payment-methods/08-01-01-08-bizum.adoc[leveloffset=+4]
include::index/integration-guides/mobile-payment-sdk/android/payment-methods/08-01-01-09-blik.adoc[leveloffset=+4]
include::index/integration-guides/mobile-payment-sdk/android/payment-methods/08-01-01-09-mbway.adoc[leveloffset=+4]
include::index/integration-guides/mobile-payment-sdk/android/payment-methods/08-01-01-10-ideal.adoc[leveloffset=+4]
include::index/integration-guides/mobile-payment-sdk/android/payment-methods/08-01-01-11-blik.adoc[leveloffset=+4]
include::index/integration-guides/mobile-payment-sdk/android/payment-methods/08-01-01-12-zinia.adoc[leveloffset=+4]
include::index/integration-guides/mobile-payment-sdk/android/payment-methods/08-01-01-13-mbway-referencia.adoc[leveloffset=+4]
include::index/integration-guides/mobile-payment-sdk/android/payment-methods/08-01-01-14-google-pay.adoc[leveloffset=+4]

include::index/integration-guides/mobile-payment-sdk/android/08-01-02-licence.adoc[leveloffset=+3]

Expand All @@ -100,7 +106,13 @@ include::index/integration-guides/mobile-payment-sdk/ios/payment-methods/08-01-0
include::index/integration-guides/mobile-payment-sdk/ios/payment-methods/08-01-01-06-sofort.adoc[leveloffset=+4]
include::index/integration-guides/mobile-payment-sdk/ios/payment-methods/08-01-01-07-ratepay.adoc[leveloffset=+4]
include::index/integration-guides/mobile-payment-sdk/ios/payment-methods/08-01-01-08-bizum.adoc[leveloffset=+4]
include::index/integration-guides/mobile-payment-sdk/ios/payment-methods/08-01-01-09-blik.adoc[leveloffset=+4]
include::index/integration-guides/mobile-payment-sdk/ios/payment-methods/08-01-01-09-mbway.adoc[leveloffset=+4]
include::index/integration-guides/mobile-payment-sdk/ios/payment-methods/08-01-01-10-ideal.adoc[leveloffset=+4]
include::index/integration-guides/mobile-payment-sdk/ios/payment-methods/08-01-01-11-blik.adoc[leveloffset=+4]
include::index/integration-guides/mobile-payment-sdk/ios/payment-methods/08-01-01-12-zinia.adoc[leveloffset=+4]
include::index/integration-guides/mobile-payment-sdk/ios/payment-methods/08-01-01-13-mb-referencia.adoc[leveloffset=+4]
include::index/integration-guides/mobile-payment-sdk/ios/payment-methods/08-01-01-14-apple-pay.adoc[leveloffset=+4]


include::index/integration-guides/mobile-payment-sdk/ios/08-01-02-scanner.adoc[leveloffset=+3]
include::index/integration-guides/mobile-payment-sdk/ios/08-01-03-third-party-libraries.adoc[leveloffset=+3]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,34 @@ dependencies{
|WireTransfer
|Wire-Transfer payment frameworks
|'libs/wiretransfer.aar'

|Sofort
|Sofort payment frameworks
|'libs/sofort.aar'

|Bizum
|Bizum payment frameworks
|'libs/bizum.aar'

|MB Way
|MB Way payment frameworks
|'libs/mbway.aar'

|Ideal
|Ideal payment frameworks
|'libs/ideal.aar'

|Blik
|Blik payment frameworks
|'libs/blik.aar'

|Zinia
|Zinia payment frameworks
|'libs/zinia.aar'

|MB Referencia
|MB Referencia payment frameworks
|'libs/mbreferencia.aar'
|===

//-
//-
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,10 @@ file.
Changing these colors would afect all modules used within SDK.

.....
sdkpay_ecom_color_main - colour tint for icons, header and submit button gradient start colour
sdkpay_ecom_color_main_light - header and submit button gradient end colour
sdkpay_ecom_color_main - colour tint for icons, header
sdkpay_ecom_color_main_light - header and submit
sdkpay_ecom_color_main_alpha80 - text input layout title colour
sdkpay_ecom_color_toolbar_text - toolbar text and back arrow tint
sdkpay_ecom_color_pay_button_text - pay button text colour
sdkpay_ecom_color_main_background - background colour for main view
sdkpay_ecom_color_error - used for all text input layouts to modify error text color including the edit text line
.....
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,216 @@
[#MobilePaymentSDK_Android]
== Android SDK theming

=== Components
You can customize each component by overriding resources in your project like styles, colors or drawables.

==== Buttons

To customize buttons you can override the following resources and provide your own values.
The default values are displayed in the code snippet below.

[source,xml]
----
<style name="SdkPayPrimaryButton" parent="Widget.MaterialComponents.Button">
<item name="android:background">@drawable/sdkpay_ecom_button_background</item>
<item name="backgroundTint">@null</item>
<item name="android:textColor">@color/sdkpay_ecom_button_text_color</item>
<item name="android:textSize">@dimen/sdkpay_ecom_pay_button_text_size</item>
<item name="cornerRadius">@dimen/sdkpay_ecom_pay_button_round_size</item>
<item name="textAllCaps">false</item>
<item name="autoSizeMaxTextSize">@dimen/sdkpay_ecom_pay_button_text_size</item>
<item name="android:textStyle">bold</item>
<item name="fontFamily">sans-serif-medium</item>
</style>

<color name="sdkpay_ecom_button_background_color_start">@color/primary_boston</color>
<color name="sdkpay_ecom_button_background_color_end">@color/primary_santander</color>
<color name="sdkpay_ecom_button_text_color">@color/sdkpay_ecom_color_white</color>
----

==== Inputs

To customize inputs you can override the following resources and provide your own values.
The default values are displayed in the code snippet below.

[source,xml]
----
<style name="SdkPayEcomTextInputLayout" parent="Widget.MaterialComponents.TextInputLayout.FilledBox">
<item name="hintTextAppearance">@style/SdkPayEcomHintText</item>
<item name="errorTextAppearance">@style/SdkPayEcomErrorTextAppearance</item>
<item name="boxBackgroundColor">#fff</item>
<item name="boxStrokeColor">@color/sdkpay_ecom_color_edittext_box</item>
<item name="boxStrokeWidth">1dp</item>
<item name="boxStrokeErrorColor">@color/primary_boston</item>
<item name="endIconMode">custom</item>
<item name="errorEnabled">true</item>
<item name="errorIconDrawable">@null</item>
</style>

<style name="SdkPayEcomEditText" parent="Paragraph16_Regular">
<item name="android:textSize">@dimen/sdkpay_ecom_input_text_size</item>
<item name="android:gravity">left|center_vertical</item>
<item name="android:textColor">@color/sdkpay_ecom_color_edittext_text</item>
</style>

<style name="SdkPayEcomEditTextAnimatedCard" parent="Paragraph16_Regular">
<item name="android:textSize">@dimen/sdkpay_ecom_card_animated_input_text_size</item>
<item name="android:gravity">left|center_vertical</item>
<item name="android:textColor">@color/sdkpay_ecom_color_edittext_text</item>
</style>

<style name="SdkPayEcomErrorTextAppearance" parent="@android:style/TextAppearance">
<item name="android:textColor">@color/sdkpay_ecom_color_edittext_error</item>
<item name="android:textSize">12sp</item>
</style>

<style name="SdkPayEcomHintText">
<item name="android:textSize">@dimen/sdkpay_ecom_input_hint_size</item>
<item name="android:textColor">@drawable/sdkpay_ecom_edittext_hint_color_state_list</item>
<item name="android:textColorHint">@drawable/sdkpay_ecom_edittext_hint_color_state_list</item>
</style>

<color name="sdkpay_ecom_color_edittext_text_focused">@color/primary_dark_grey</color>
<color name="sdkpay_ecom_color_edittext_text_unfocused">@color/primary_dark_grey</color>
<color name="sdkpay_ecom_color_edittext_hint_focused">@color/primary_dark_grey</color>
<color name="sdkpay_ecom_color_edittext_hint_unfocused">@color/primary_dark_grey</color>
<color name="sdkpay_ecom_color_edittext_box">@color/secondary_accessible_dark_turquoise</color>
<color name="sdkpay_ecom_color_edittext_error">#FF0000</color>
----

==== HeaderView / Toolbars

To customize headerView on card payment screens and toolbars on other screens you can override the following resources and provide your own values.
The default values are displayed in the code snippet below.

[source,xml]
----
<style name="SdkPayEcomHeaderViewTitle" parent="Paragraph20_Bold">
<item name="android:lineSpacingExtra">9sp</item>
<item name="android:textColor">@color/sdkpay_ecom_color_headerview_text</item>
<item name="android:textSize">@dimen/sdkpay_ecom_header_amount_text_size</item>
</style>

<style name="SdkPayEcomHeaderViewSubTitle" parent="Paragraph12_Regular">
<item name="android:textColor">@color/sdkpay_ecom_color_headerview_text</item>
<item name="android:textSize">@dimen/sdkpay_ecom_header_subtitle_text_size</item>
<item name="android:lineSpacingExtra">5sp</item>
</style>

<style name="SdkPayEcomHeaderViewIcon">
<item name="tint">@color/sdkpay_ecom_color_headerview_icon</item>
<item name="android:tint">@color/sdkpay_ecom_color_headerview_icon</item>
</style>

<style name="SdkPayEcomHeaderViewBackground">
<item name="android:background">@drawable/sdkpay_ecom_gradient_background</item>
</style>

<color name="sdkpay_ecom_color_headerview_text">@color/sdkpay_ecom_color_white</color>
<color name="sdkpay_ecom_color_headerview_icon">@color/sdkpay_ecom_color_white</color>
<color name="sdkpay_ecom_color_headerview_background_start">@color/sdkpay_ecom_color_main_light</color>
<color name="sdkpay_ecom_color_headerview_background_end">@color/sdkpay_ecom_color_main</color>
----

==== Card scanner

To customize card scanner you can override the following resources and provide your own values.
The default values are displayed in the code snippet below.

[source,xml]
----
<color name="sdkpay_ecom_color_cardscanner_gallery_icon">@color/sdkpay_ecom_color_white</color>
----

==== Icons

To customize icons you can override the following resources and provide your own values.
The default values are displayed in the code snippet below.

[source,xml]
----
<style name="SdkPayEcomScanCardIcon">
<item name="tint">@color/primary_santander</item>
<item name="android:tint">@color/primary_santander</item>
</style>

----

==== Bank row

To customize bank row you can override the following resources and provide your own values.
The default values are displayed in the code snippet below.

[source,xml]
----
android:background="@drawable/bank_row_background"
----

==== Stepper

To customize stepper you can override the following resources and provide your own values.
The default values are displayed in the code snippet below.

[source,xml]
----
<color name="sdkpay_ecom_color_ratepay_stepper_text">@color/primary_dark_grey</color>
<color name="sdkpay_ecom_color_ratepay_stepper_progress">@color/primary_santander</color>
----

==== Datepicker

To customize Datepicker you can override the following resources and provide your own values.
The default values are displayed in the code snippet below.

[source,xml]
----
<style name="SdkPayEcomMaterialDatePicker" parent="ThemeOverlay.MaterialComponents.MaterialCalendar">
<item name="colorPrimary">@color/primary_santander</item>
<item name="colorOnPrimary">@color/white</item>
<item name="colorPrimaryDark">@color/primary_santander</item>
<item name="colorAccent">@color/primary_santander</item>
</style>
----

==== Animated card

To customize Animated card you can override the following resources and provide your own values.
The default values are displayed in the code snippet below.

[source,xml]
----
<color name="sdkpay_ecom_color_card_component_back_strip">#939393</color>
<color name="sdkpay_ecom_color_card_text">@color/secondary_santander_new_york</color>
<color name="sdkpay_ecom_color_card_gradient_start">@color/primary_white</color>
<color name="sdkpay_ecom_color_card_gradient_end">@color/primary_white</color>
<color name="sdkpay_ecom_color_card_stroke_start">@color/primary_white</color>
<color name="sdkpay_ecom_color_card_stroke_end">@color/primary_white</color>
<color name="sdkpay_ecom_color_card_back_gradient_start">@color/primary_light_grey</color>
<color name="sdkpay_ecom_color_card_back_gradient_end">@color/primary_light_grey</color>
<color name="sdkpay_ecom_color_card_back_stroke_start">@color/primary_light_grey</color>
<color name="sdkpay_ecom_color_card_back_stroke_end">@color/primary_light_grey</color>
----

=== Fonts

==== Changing Fonts

To change fonts, override the font path to in string resources with name
'`sdkpay_fontPath`': e.g. strings.xml

[source,xml]
----
<string name="sdkpay_fontPath">fonts/myFont.otf</string>
----

[source,java]
----
----

==== Changing Text Size

To change the text size for link:[`+cardField+`] fragments use the
dimension attribute `+sdkpay_ecom_cardfield_text_size+`.

To change text size in any other modules use the dimension attribute
`+sdkpay_ecom_text_size+`.
Original file line number Diff line number Diff line change
Expand Up @@ -71,73 +71,4 @@ new Client(context, "https://api-test.getneteurope.com", requestTimeout).startPa
----

You can use Builder to create the payment object and set additional
properties afterwards.

=== Customizing Visuals

To change colors within the SDK, override the default color values in
the `.xml` file.

==== Color Resources

Changing any of these will affect every module used in the SDK:

*`sdkpay_ecom_color_main`* - color tint for icons, header and submit button
gradient start color

*`sdkpay_ecom_color_main_light`* - header and submit button gradient end
color

*`sdkpay_ecom_color_main_alpha80`* - text input layout title color

*`sdkpay_ecom_color_toolbar_text`* - toolbar text and back arrow tint

*`sdkpay_ecom_color_pay_button_text`* - pay button text color

*`sdkpay_ecom_color_main_background`* - background color for main view

*`sdkpay_ecom_color_error`* - used for all text input layouts to modify
error text color including the edit text line

==== Changing Fonts

To change fonts, override the font path to in string resources with name
`sdkpay_fontPath': e.g. strings.xml

[source,xml]
----
<string name="sdkpay_fontPath">fonts/myFont.otf</string>
----

==== Changing Text Size

To change the text size use dimensional attribute `sdkpay_ecom_text_size`.
This affects all the modules, except `cardField`.

==== Customizing ALIPAY Payments

*Color Resources*

1 - `sdkpay_ecom_color_main`

2 - `sdkpay_ecom_color_light`

3 - `sdkpay_ecom_color_main_alpha80`

4 - `sdkpay_ecom_color_pay_button_text`

5 - `sdkpay_ecom_color_toolbar_text`

6 - `sdkpay_ecom_color_error`

7 - `sdkpay_ecom_color_main_background`

*Icons*

8 - `sdkpay_ecom_arrow_back`

9 - `sdkpay_ecom_cardholder_name`

10 - `sdkpay_ecom_iban_3`

11 - `sdkpay_ecom_camera_blue`
properties afterwards.
Loading