activity.xml 960 B

1234567891011121314151617181920212223242526
  1. <FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
  2. android:layout_width="match_parent"
  3. android:layout_height="match_parent" >
  4. <org.opencv.samples.tutorial4.MyGLSurfaceView
  5. android:layout_width="match_parent"
  6. android:layout_height="match_parent"
  7. android:id="@+id/my_gl_surface_view" />
  8. <LinearLayout
  9. android:layout_width="match_parent"
  10. android:layout_height="match_parent"
  11. android:orientation = "vertical" >
  12. <TextView
  13. android:layout_width="wrap_content"
  14. android:layout_height="wrap_content"
  15. android:id="@+id/fps_text_view"
  16. android:text="FPS:" />
  17. <TextView
  18. android:layout_width="wrap_content"
  19. android:layout_height="wrap_content"
  20. android:id="@+id/proc_mode_text_view"
  21. android:text="Processing mode:" />
  22. </LinearLayout>
  23. </FrameLayout>