2020-04-18 02:16:09 +02:00
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
2020-10-03 12:09:35 +02:00
|
|
|
<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
2022-01-12 16:24:29 +01:00
|
|
|
xmlns:app="http://schemas.android.com/apk/res-auto"
|
|
|
|
xmlns:tools="http://schemas.android.com/tools"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
android:background="@android:color/black"
|
2022-03-28 10:58:10 +02:00
|
|
|
android:keepScreenOn="true"
|
|
|
|
tools:context=".EmulationActivity"
|
|
|
|
tools:ignore="RtlHardcoded">
|
2022-01-12 16:24:29 +01:00
|
|
|
|
|
|
|
<emu.skyline.views.FixedRatioSurfaceView
|
|
|
|
android:id="@+id/game_view"
|
2020-04-18 02:16:09 +02:00
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="match_parent"
|
2022-01-12 16:24:29 +01:00
|
|
|
android:layout_gravity="center" />
|
2020-10-03 12:09:35 +02:00
|
|
|
|
|
|
|
<emu.skyline.input.onscreen.OnScreenControllerView
|
2022-01-12 16:24:29 +01:00
|
|
|
android:id="@+id/on_screen_controller_view"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="match_parent" />
|
2020-04-18 02:16:09 +02:00
|
|
|
|
|
|
|
<TextView
|
2022-01-12 16:24:29 +01:00
|
|
|
android:id="@+id/perf_stats"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
2022-03-28 10:58:10 +02:00
|
|
|
android:layout_marginLeft="@dimen/onScreenItemHorizontalMargin"
|
2022-01-12 16:24:29 +01:00
|
|
|
android:layout_marginTop="5dp"
|
|
|
|
android:textColor="#9fffff00" />
|
2020-10-05 12:56:38 +02:00
|
|
|
|
|
|
|
<ImageButton
|
2022-01-12 16:24:29 +01:00
|
|
|
android:id="@+id/on_screen_controller_toggle"
|
2022-03-28 10:58:10 +02:00
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
2022-01-12 16:24:29 +01:00
|
|
|
android:layout_gravity="bottom|end"
|
2022-03-28 10:58:10 +02:00
|
|
|
android:layout_marginRight="@dimen/onScreenItemHorizontalMargin"
|
|
|
|
android:background="?android:attr/actionBarItemBackground"
|
|
|
|
android:padding="8dp"
|
2022-01-12 16:24:29 +01:00
|
|
|
android:src="@drawable/ic_show"
|
|
|
|
app:tint="#40FFFFFF"
|
|
|
|
tools:ignore="ContentDescription" />
|
2020-10-03 12:09:35 +02:00
|
|
|
</FrameLayout>
|