mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-23 14:19:46 -06:00
Collapse layouts with a framelayout root then another viewgroup.
There's no point to this, and it just slow things down (technically).
This commit is contained in:
@ -1,15 +1,7 @@
|
|||||||
<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
<SurfaceView 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="org.dolphinemu.dolphinemu.fragments.EmulationFragment">
|
|
||||||
|
|
||||||
<!-- This is what everything is rendered to during emulation -->
|
|
||||||
<SurfaceView
|
|
||||||
android:id="@+id/surface_emulation"
|
android:id="@+id/surface_emulation"
|
||||||
android:layout_height="match_parent"
|
android:layout_height="match_parent"
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:focusable="false"
|
android:focusable="false"
|
||||||
android:focusableInTouchMode="false"/>
|
android:focusableInTouchMode="false"
|
||||||
|
/>
|
||||||
</FrameLayout>
|
|
@ -1,17 +1,11 @@
|
|||||||
<?xml version="1.0" encoding="utf-8"?>
|
<GridLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||||
<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
|
||||||
android:layout_width="match_parent"
|
|
||||||
android:layout_height="match_parent"
|
|
||||||
android:background="#af000000"
|
|
||||||
android:orientation="vertical">
|
|
||||||
|
|
||||||
<GridLayout
|
|
||||||
android:id="@+id/grid_state_slots"
|
android:id="@+id/grid_state_slots"
|
||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:columnCount="3"
|
android:columnCount="3"
|
||||||
android:rowCount="2"
|
android:rowCount="2"
|
||||||
android:layout_gravity="center">
|
android:layout_gravity="center"
|
||||||
|
android:background="#af000000">
|
||||||
|
|
||||||
<Button
|
<Button
|
||||||
android:id="@+id/loadsave_state_button_1"
|
android:id="@+id/loadsave_state_button_1"
|
||||||
@ -56,5 +50,3 @@
|
|||||||
style="@style/OverlayInGameMenuOption"/>
|
style="@style/OverlayInGameMenuOption"/>
|
||||||
|
|
||||||
</GridLayout>
|
</GridLayout>
|
||||||
|
|
||||||
</FrameLayout>
|
|
||||||
|
Reference in New Issue
Block a user