From 08296f151efacf6415e5aee7825b125df889b601 Mon Sep 17 00:00:00 2001 From: t895 <clombardo169@gmail.com> Date: Tue, 14 Nov 2023 17:53:40 -0500 Subject: [PATCH] android: Add drop shadow to FPS counter Also let the style control the text size --- src/android/app/src/main/res/layout/fragment_emulation.xml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/android/app/src/main/res/layout/fragment_emulation.xml b/src/android/app/src/main/res/layout/fragment_emulation.xml index cd6360b45f..5252adf54d 100644 --- a/src/android/app/src/main/res/layout/fragment_emulation.xml +++ b/src/android/app/src/main/res/layout/fragment_emulation.xml @@ -139,7 +139,7 @@ <com.google.android.material.textview.MaterialTextView android:id="@+id/show_fps_text" - style="@style/TextAppearance.Material3.BodyMedium" + style="@style/TextAppearance.Material3.BodySmall" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_gravity="left" @@ -147,7 +147,8 @@ android:focusable="false" android:paddingHorizontal="20dp" android:textColor="@android:color/white" - android:textSize="12sp" + android:shadowColor="@android:color/black" + android:shadowRadius="3" tools:ignore="RtlHardcoded" /> </FrameLayout>