Skip to content

Commit

Permalink
Merge pull request #707 from Adyen/fix/simple-text-style
Browse files Browse the repository at this point in the history
SimpleTextItemView: Fix not building because of missing style
  • Loading branch information
ozgur00 authored May 27, 2022
2 parents a208fd5 + 37b62e0 commit 44e7055
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
2 changes: 1 addition & 1 deletion ui-core/src/main/res/layout/simple_text_item_view.xml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@

<androidx.appcompat.widget.AppCompatTextView
android:id="@+id/textView_text"
style="@style/AdyenCheckout.InstallmentOptionTextView"
style="@style/AdyenCheckout.SimpleTextItemTextView"
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_weight="1"
Expand Down
6 changes: 6 additions & 0 deletions ui-core/src/main/res/values/styles.xml
Original file line number Diff line number Diff line change
Expand Up @@ -154,4 +154,10 @@
<item name="android:layout_marginEnd">@dimen/standard_margin</item>
</style>

<style name="AdyenCheckout.SimpleTextItemTextView" parent="AdyenCheckout.TextAppearance">
<item name="android:textColor">@color/textColor</item>
<item name="android:textSize">16sp</item>
<item name="android:layout_gravity">center_vertical</item>
</style>

</resources>

0 comments on commit 44e7055

Please sign in to comment.