Skip to content

Commit

Permalink
Add textview to show FPS
Browse files Browse the repository at this point in the history
  • Loading branch information
Ishan09811 authored Jan 28, 2024
1 parent 0459d9e commit 4fb2e57
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion src/pandroid/app/src/main/res/layout/game_activity.xml
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,15 @@
android:layout_height="match_parent"
android:padding="25dp">

<TextView
android:id="@+id/fpsTextView"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="top|left"
android:layout_marginTop="5dp"
android:textColor="#FFFFFF"
tools:text="60 FPS" />

<CheckBox
android:id="@+id/hide_screen_controller"
android:layout_width="24dp"
Expand All @@ -54,4 +63,4 @@

<include layout="@layout/drawer_game_container"/>

</FrameLayout>
</FrameLayout>

0 comments on commit 4fb2e57

Please sign in to comment.