summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authort895 <clombardo169@gmail.com>2023-11-14 17:53:40 -0500
committert895 <clombardo169@gmail.com>2023-11-14 17:53:40 -0500
commit08296f151efacf6415e5aee7825b125df889b601 (patch)
treee6d8a5fed74f384f4477d1aa59163c1d7710d945
parenta134e924ff5dcefa1e2d572040c5bc09c49d199c (diff)
android: Add drop shadow to FPS counter
Also let the style control the text size
-rw-r--r--src/android/app/src/main/res/layout/fragment_emulation.xml5
1 files 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 cd6360b45..5252adf54 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>