activity_ocr.xml 838 B

12345678910111213141516171819202122232425
  1. <FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
  2. xmlns:tools="http://schemas.android.com/tools"
  3. xmlns:opencv="http://schemas.android.com/apk/res-auto"
  4. android:layout_width="match_parent"
  5. android:layout_height="match_parent"
  6. android:background="#FFFFFF"
  7. tools:context="com.app.gokitchen.OCRActivity" >
  8. <org.opencv.android.JavaCameraView
  9. android:layout_width="match_parent"
  10. android:layout_height="match_parent"
  11. android:visibility="gone"
  12. android:id="@+id/surface_view"
  13. opencv:show_fps="true"
  14. opencv:camera_id="any" />
  15. <EditText
  16. android:id="@+id/field"
  17. android:layout_width="match_parent"
  18. android:layout_height="wrap_content"
  19. android:hint="@string/text_hint"
  20. android:background="#FFFFFF" />
  21. </FrameLayout>