mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-24 14:49:42 -06:00
[Android] Implement a very basic version of the input overlay configuration screen.
Still a bit of a mess, but this will get cleaned up during finalizations.
This commit is contained in:
@ -11,4 +11,12 @@
|
||||
android:focusable="false"
|
||||
android:focusableInTouchMode="false"/>
|
||||
|
||||
<!-- This is the onscreen input overlay -->
|
||||
<org.dolphinemu.dolphinemu.emulation.overlay.InputOverlay
|
||||
android:id="@+id/emulationControlOverlay"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_width="match_parent"
|
||||
android:focusable="true"
|
||||
android:focusableInTouchMode="true"/>
|
||||
|
||||
</merge>
|
32
Source/Android/res/layout/input_overlay_config_layout.xml
Normal file
32
Source/Android/res/layout/input_overlay_config_layout.xml
Normal file
@ -0,0 +1,32 @@
|
||||
<RelativeLayout
|
||||
xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:id="@+id/inputLayout"
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_height="fill_parent" >
|
||||
|
||||
<org.dolphinemu.dolphinemu.settings.input.InputOverlayConfigButton
|
||||
android:id="@+id/buttonA"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_alignParentLeft="true"
|
||||
android:layout_alignParentTop="true"
|
||||
android:background="@drawable/button_a" />
|
||||
|
||||
<org.dolphinemu.dolphinemu.settings.input.InputOverlayConfigButton
|
||||
android:id="@+id/buttonStart"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_alignBottom="@+id/buttonB"
|
||||
android:layout_alignParentTop="true"
|
||||
android:layout_centerHorizontal="true"
|
||||
android:background="@drawable/button_start" />
|
||||
|
||||
<org.dolphinemu.dolphinemu.settings.input.InputOverlayConfigButton
|
||||
android:id="@+id/buttonB"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_alignParentTop="true"
|
||||
android:layout_toLeftOf="@+id/buttonStart"
|
||||
android:background="@drawable/button_b" />
|
||||
|
||||
</RelativeLayout>
|
Reference in New Issue
Block a user