New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. Weβll occasionally send you account related emails.
Already on GitHub? Sign in to your account
User can view shipping countries from pledge screen #517
Conversation
Added API call. Added CenterSpan to center shrunken currency. Added ShippingRule model. Style updates.
β¦oid-oss into reward-shipping
β¦into reward-shipping
β¦oid-oss into reward-shipping
β¦oid-oss into reward-shipping
β¦into reward-shipping
β¦e called multiple times
β¦into reward-shipping
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
android:layout_width="@dimen/plus_sign_width" | ||
android:layout_height="@dimen/plus_sign_height" | ||
android:backgroundTint="@color/ksr_grey_500" | ||
android:src="@drawable/ic_add" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I fixed the color! Also the abstract has properties of 20dp for height
and 9dp for width
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
A drawable has intrinsic padding so when you said a fixed size and not a scaletype, it doesn't take that into account. It's too small.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The positioning is also off.
β¦into reward-shipping
β¦o be affected by the keyboard
β¦ing rule selected.
β¦into reward-shipping
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I noticed a bug where when the user is refreshed, the shipping rule is changed but we can address that in a separate PR. Just have to merge some conflicts π
# Conflicts: # app/src/main/java/com/kickstarter/libs/KSCurrency.java # app/src/main/java/com/kickstarter/ui/fragments/PledgeFragment.kt # app/src/main/java/com/kickstarter/viewmodels/HorizontalRewardViewHolderViewModel.kt # app/src/main/java/com/kickstarter/viewmodels/PledgeFragmentViewModel.kt # app/src/main/java/com/kickstarter/viewmodels/RewardViewModel.java # app/src/test/java/com/kickstarter/KSCurrencyTest.java
What β
native checkout
feature.How to QA? π€
native checkout feature flag
enabled -> select a reward -> on the pledge screenStory π
User can view shipping countries from pledge screen
See π