Fixed font sizes for textviews containing only emojis

This commit is contained in:
Daniele Verducci 2024-11-16 18:26:58 +01:00
parent afabb0c711
commit 49c6a13271

View File

@ -16,7 +16,7 @@
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:text="@string/title" android:text="@string/title"
android:textSize="30dp" android:textSize="30sp"
android:gravity="center_horizontal"/> android:gravity="center_horizontal"/>
<TextView <TextView
@ -38,7 +38,7 @@
android:layout_margin="10dp" android:layout_margin="10dp"
android:background="@drawable/button_background" android:background="@drawable/button_background"
android:gravity="center_horizontal" android:gravity="center_horizontal"
android:textSize="50sp" android:textSize="50dp"
android:text="@string/event_bottle_type"/> android:text="@string/event_bottle_type"/>
<TextView <TextView
@ -49,7 +49,7 @@
android:layout_margin="10dp" android:layout_margin="10dp"
android:background="@drawable/button_background" android:background="@drawable/button_background"
android:gravity="center_horizontal" android:gravity="center_horizontal"
android:textSize="50sp" android:textSize="50dp"
android:text="@string/event_scale_type"/> android:text="@string/event_scale_type"/>
</LinearLayout> </LinearLayout>
@ -66,7 +66,7 @@
android:layout_weight="1" android:layout_weight="1"
android:background="@drawable/button_background" android:background="@drawable/button_background"
android:gravity="center_horizontal" android:gravity="center_horizontal"
android:textSize="30sp" android:textSize="30dp"
android:text="🤱⬅️"/> android:text="🤱⬅️"/>
<TextView <TextView
@ -77,7 +77,7 @@
android:layout_weight="1" android:layout_weight="1"
android:background="@drawable/button_background" android:background="@drawable/button_background"
android:gravity="center_horizontal" android:gravity="center_horizontal"
android:textSize="30sp" android:textSize="30dp"
android:text="🤱↔️"/> android:text="🤱↔️"/>
<TextView <TextView
@ -88,7 +88,7 @@
android:layout_weight="1" android:layout_weight="1"
android:background="@drawable/button_background" android:background="@drawable/button_background"
android:gravity="center_horizontal" android:gravity="center_horizontal"
android:textSize="30sp" android:textSize="30dp"
android:text="🤱➡️️"/> android:text="🤱➡️️"/>
</LinearLayout> </LinearLayout>
@ -105,7 +105,7 @@
android:layout_weight="1" android:layout_weight="1"
android:background="@drawable/button_background" android:background="@drawable/button_background"
android:gravity="center_horizontal" android:gravity="center_horizontal"
android:textSize="30sp" android:textSize="30dp"
android:text="🚼 💩"/> android:text="🚼 💩"/>
<TextView <TextView
@ -116,7 +116,7 @@
android:layout_weight="1" android:layout_weight="1"
android:background="@drawable/button_background" android:background="@drawable/button_background"
android:gravity="center_horizontal" android:gravity="center_horizontal"
android:textSize="30sp" android:textSize="30dp"
android:text="🚼 💧"/> android:text="🚼 💧"/>
</LinearLayout> </LinearLayout>