Refactor input event handling in the Game activity

This commit is contained in:
Cameron Gutman
2022-10-03 21:25:43 -05:00
parent 539daf5789
commit 23bc4daf9f
2 changed files with 30 additions and 8 deletions

View File

@@ -14,7 +14,13 @@
android:id="@+id/surfaceView"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_gravity="center" />
android:layout_gravity="center"
android:focusable="true"
android:focusableInTouchMode="true"
android:focusedByDefault="true"
android:defaultFocusHighlightEnabled="false">
<requestFocus />
</com.limelight.ui.StreamView>
<TextView
android:id="@+id/performanceOverlay"