diff options
| author | 2023-11-14 17:53:40 -0500 | |
|---|---|---|
| committer | 2023-11-14 17:53:40 -0500 | |
| commit | 08296f151efacf6415e5aee7825b125df889b601 (patch) | |
| tree | e6d8a5fed74f384f4477d1aa59163c1d7710d945 | |
| parent | Merge pull request #12032 from liamwhite/fruit-compiler (diff) | |
| download | yuzu-08296f151efacf6415e5aee7825b125df889b601.tar.gz yuzu-08296f151efacf6415e5aee7825b125df889b601.tar.xz yuzu-08296f151efacf6415e5aee7825b125df889b601.zip | |
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.xml | 5 |
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 @@ | |||
| 139 | 139 | ||
| 140 | <com.google.android.material.textview.MaterialTextView | 140 | <com.google.android.material.textview.MaterialTextView |
| 141 | android:id="@+id/show_fps_text" | 141 | android:id="@+id/show_fps_text" |
| 142 | style="@style/TextAppearance.Material3.BodyMedium" | 142 | style="@style/TextAppearance.Material3.BodySmall" |
| 143 | android:layout_width="wrap_content" | 143 | android:layout_width="wrap_content" |
| 144 | android:layout_height="wrap_content" | 144 | android:layout_height="wrap_content" |
| 145 | android:layout_gravity="left" | 145 | android:layout_gravity="left" |
| @@ -147,7 +147,8 @@ | |||
| 147 | android:focusable="false" | 147 | android:focusable="false" |
| 148 | android:paddingHorizontal="20dp" | 148 | android:paddingHorizontal="20dp" |
| 149 | android:textColor="@android:color/white" | 149 | android:textColor="@android:color/white" |
| 150 | android:textSize="12sp" | 150 | android:shadowColor="@android:color/black" |
| 151 | android:shadowRadius="3" | ||
| 151 | tools:ignore="RtlHardcoded" /> | 152 | tools:ignore="RtlHardcoded" /> |
| 152 | 153 | ||
| 153 | </FrameLayout> | 154 | </FrameLayout> |