mirror of
https://github.com/skyline-emu/skyline.git
synced 2024-09-30 15:38:38 +02:00
7f78a679c3
This commit adds performance statistics to the emulator that can be toggled in preferences. The layout of `EmulationActivity` was also changed from `ConstraintLayout` to `RelativeLayout` due to poor performance of the former.
26 lines
965 B
XML
26 lines
965 B
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
|
xmlns:tools="http://schemas.android.com/tools"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
tools:context=".EmulationActivity">
|
|
|
|
<SurfaceView
|
|
android:id="@+id/game_view"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
android:layout_alignParentStart="true"
|
|
android:layout_alignParentTop="true" />
|
|
|
|
<TextView
|
|
android:id="@+id/perf_stats"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_alignParentStart="true"
|
|
android:layout_alignParentTop="true"
|
|
android:layout_marginStart="5dp"
|
|
android:layout_marginTop="5dp"
|
|
android:textColor="#5fffffff" />
|
|
|
|
</RelativeLayout>
|