adding displaying FPS

This commit is contained in:
Andrey Pavlenko
2015-07-31 01:52:10 +03:00
parent 0185cb27eb
commit 9ab291ea1c
4 changed files with 45 additions and 12 deletions

View File

@@ -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>