Inside CardView, you need to have a LinearLayout with orientation vertical. You also need two more LinearLayout, one is to wrap all the item until the productQuantitiesTextView, and another used to wrap the item below productQuantitiesTextView.
Next, assign layout_weight to both of the LinearLayout.
Life is but a BREATH
posted 3 weeks ago
This is the result after changing my code with yours