diff --git a/health-sdk/sdk/src/main/java/net/gini/android/health/sdk/paymentcomponent/PaymentComponentView.kt b/health-sdk/sdk/src/main/java/net/gini/android/health/sdk/paymentcomponent/PaymentComponentView.kt index 6d48b20398..a5eb0fdf14 100644 --- a/health-sdk/sdk/src/main/java/net/gini/android/health/sdk/paymentcomponent/PaymentComponentView.kt +++ b/health-sdk/sdk/src/main/java/net/gini/android/health/sdk/paymentcomponent/PaymentComponentView.kt @@ -101,7 +101,7 @@ class PaymentComponentView(context: Context, attrs: AttributeSet?) : ConstraintL private fun restoreBankPickerDefaultState() { LOG.debug("Restoring bank picker default state") context?.wrappedWithGiniHealthTheme()?.let { context -> - binding.ghsSelectBankPicker.ghsPaymentProviderAppIconHolder.root.visibility = View.INVISIBLE + binding.ghsSelectBankPicker.ghsPaymentProviderAppIconHolder.root.visibility = View.GONE binding.ghsSelectBankPicker.ghsSelectBankButton.text = context.getString(R.string.ghs_select_bank) binding.ghsSelectBankPicker.ghsSelectBankButton.setCompoundDrawablesWithIntrinsicBounds( null, diff --git a/health-sdk/sdk/src/main/res/layout/ghs_fragment_review.xml b/health-sdk/sdk/src/main/res/layout/ghs_fragment_review.xml index 86264558a5..9ceee5aa5f 100644 --- a/health-sdk/sdk/src/main/res/layout/ghs_fragment_review.xml +++ b/health-sdk/sdk/src/main/res/layout/ghs_fragment_review.xml @@ -187,7 +187,7 @@ android:id="@+id/payment" android:layout_width="0dp" android:layout_height="wrap_content" - style="@style/GiniHealthTheme.Widget.Button.OutlinedButton.Picker" + style="@style/GiniHealthTheme.Widget.Button.OutlinedButton" android:enabled="false" android:text="@string/ghs_pay_button" app:layout_constraintEnd_toEndOf="parent" diff --git a/health-sdk/sdk/src/main/res/layout/ghs_item_payment_provider_app.xml b/health-sdk/sdk/src/main/res/layout/ghs_item_payment_provider_app.xml index 44be2efe9f..90b1650139 100644 --- a/health-sdk/sdk/src/main/res/layout/ghs_item_payment_provider_app.xml +++ b/health-sdk/sdk/src/main/res/layout/ghs_item_payment_provider_app.xml @@ -6,12 +6,11 @@ android:background="@drawable/ghs_selectable_payment_provider_background" > - \ No newline at end of file diff --git a/health-sdk/sdk/src/main/res/layout/ghs_payment_provider_picker_button.xml b/health-sdk/sdk/src/main/res/layout/ghs_payment_provider_picker_button.xml new file mode 100644 index 0000000000..9ecaef57fa --- /dev/null +++ b/health-sdk/sdk/src/main/res/layout/ghs_payment_provider_picker_button.xml @@ -0,0 +1,30 @@ + + +