adding displaying FPS
This commit is contained in:
@@ -1,12 +1,16 @@
|
||||
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
xmlns:tools="http://schemas.android.com/tools"
|
||||
<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
tools:context="${relativePackage}.${activityClass}" >
|
||||
android:layout_height="match_parent" >
|
||||
|
||||
<org.opencv.samples.tutorial4.MyGLSurfaceView
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:id="@+id/my_gl_surface_view" />
|
||||
|
||||
<TextView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="@string/app_name" />
|
||||
android:id="@+id/fps_text_view"
|
||||
android:text="FPS:" />
|
||||
|
||||
</RelativeLayout>
|
||||
</FrameLayout>
|
||||
|
Reference in New Issue
Block a user