Skip to content

Commit b0b8eda

Browse files
committed
adjust sample text appearances
1 parent 1a85add commit b0b8eda

File tree

5 files changed

+7
-4
lines changed

5 files changed

+7
-4
lines changed

java-sample/src/main/res/layout/activity_main.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@
1616
android:layout_gravity="center"
1717
android:gravity="center"
1818
android:visibility="gone"
19+
android:textAppearance="?attr/textAppearanceBodyLarge"
1920
android:id="@+id/sdk_error" />
2021

2122
<FrameLayout

java-sample/src/main/res/layout/item_dropdown.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,4 @@
22
<TextView xmlns:android="http://schemas.android.com/apk/res/android"
33
android:layout_width="match_parent" android:layout_height="wrap_content"
44
android:padding="8dp"
5-
android:textSize="16sp"/>
5+
android:textAppearance="?attr/textAppearanceBodyLarge"/>

kotlin-sample/src/main/res/layout/activity_loading.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99
android:layout_width="wrap_content"
1010
android:layout_height="wrap_content"
1111
android:layout_gravity="center"
12+
android:textAppearance="?attr/textAppearanceBodyLarge"
1213
android:text="Loading" />
1314

1415
</FrameLayout>

kotlin-sample/src/main/res/layout/fragment_home.xml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
android:layout_marginTop="8dp"
1717
android:layout_marginEnd="8dp"
1818
android:textAlignment="center"
19-
android:textSize="20sp"
19+
android:textAppearance="?attr/textAppearanceBodyLarge"
2020
android:text="Welcome to the snabble SDK Sample!" />
2121

2222
<Button
@@ -27,5 +27,6 @@
2727
android:layout_marginTop="8dp"
2828
android:layout_marginEnd="8dp"
2929
android:textAlignment="center"
30+
android:textAppearance="?attr/textAppearanceBodyLarge"
3031
android:text="Show payment credentials"/>
3132
</LinearLayout>

kotlin-sample/src/main/res/layout/fragment_success.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,6 @@
1515
android:layout_marginEnd="8dp"
1616
android:textAlignment="center"
1717
android:layout_gravity="center"
18-
android:text="Custom success screen"
19-
android:textSize="20sp" />
18+
android:textAppearance="?attr/textAppearanceBodyLarge"
19+
android:text="Custom success screen" />
2020
</FrameLayout>

0 commit comments

Comments
 (0)