Skip to content

Commit

Permalink
Update activity_virtual_controller_mapper.xml
Browse files Browse the repository at this point in the history
  • Loading branch information
WINDROID-EMU authored Sep 1, 2024
1 parent ac601f1 commit 8612481
Showing 1 changed file with 49 additions and 2 deletions.
51 changes: 49 additions & 2 deletions app/src/main/res/layout/activity_virtual_controller_mapper.xml
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@
<androidx.drawerlayout.widget.DrawerLayout
xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
xmlns:app="http://schemas.android.com/apk/res-auto"
android:id="@+id/virtualControllerMapperDrawerLayout"
android:layout_width="match_parent"
android:layout_height="match_parent"
xmlns:app="http://schemas.android.com/apk/res-auto"
android:gravity="bottom"
android:orientation="vertical"
android:theme="@style/Theme.MiceWine"
Expand All @@ -15,6 +15,53 @@
android:id="@+id/overlayView"
android:layout_width="match_parent"
android:layout_height="match_parent">

<!-- Botão de Pulo -->
<Button
android:id="@+id/button_jump"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="Pulo"
android:layout_gravity="center_vertical|end"
android:layout_marginEnd="20dp"/>

<!-- Botão de Corrida -->
<Button
android:id="@+id/button_run"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="Correr"
android:layout_gravity="center_vertical|start"
android:layout_marginStart="20dp"/>

<!-- Botão de Movimentação de Câmera -->
<Button
android:id="@+id/button_camera"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="Câmera"
android:layout_gravity="bottom|center_horizontal"
android:layout_marginBottom="20dp"/>

<!-- Botão Start (Enter) -->
<Button
android:id="@+id/button_start"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="Start"
android:layout_gravity="top|end"
android:layout_marginEnd="20dp"
android:layout_marginTop="20dp"/>

<!-- Botão Select (ESC) -->
<Button
android:id="@+id/button_select"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="Select"
android:layout_gravity="top|start"
android:layout_marginStart="20dp"
android:layout_marginTop="20dp"/>
</com.micewine.emu.views.OverlayViewCreator>

<com.google.android.material.navigation.NavigationView
Expand All @@ -26,4 +73,4 @@
app:menu="@menu/virtual_controllers_drawer">
</com.google.android.material.navigation.NavigationView>

</androidx.drawerlayout.widget.DrawerLayout>
</androidx.drawerlayout.widget.DrawerLayout>

0 comments on commit 8612481

Please sign in to comment.