activity_tess_ocr.xml 2.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455
  1. <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
  2. xmlns:tools="http://schemas.android.com/tools"
  3. android:layout_width="match_parent"
  4. android:layout_height="match_parent"
  5. android:background="#111111"
  6. tools:context="${packageName}.${activityClass}"
  7. tools:ignore="HardcodedText,ContentDescription,PxUsage" >
  8. <ImageView
  9. android:id="@+id/imageView1"
  10. android:layout_width="100px"
  11. android:layout_height="100px"
  12. android:layout_alignParentLeft="true"
  13. android:layout_alignParentTop="true"
  14. android:layout_marginLeft="69dp"
  15. android:clickable="true"
  16. android:src="@drawable/ic_action_camera" />
  17. <ImageView
  18. android:id="@+id/imageView2"
  19. android:layout_width="100px"
  20. android:layout_height="100px"
  21. android:layout_alignParentRight="true"
  22. android:layout_alignTop="@+id/imageView1"
  23. android:layout_marginRight="56dp"
  24. android:clickable="true"
  25. android:src="@drawable/ic_action_picture" />
  26. <ImageView
  27. android:id="@+id/editedImage"
  28. android:layout_width="wrap_content"
  29. android:layout_height="300px"
  30. android:layout_above="@+id/button1"
  31. android:layout_alignParentLeft="true"
  32. android:layout_alignParentRight="true"
  33. android:layout_below="@+id/imageView1"
  34. android:layout_marginTop="18dp"
  35. android:src="@drawable/abc_ab_bottom_solid_dark_holo" />
  36. <Button
  37. android:id="@+id/button1"
  38. android:layout_width="wrap_content"
  39. android:layout_height="wrap_content"
  40. android:layout_alignParentBottom="true"
  41. android:layout_alignParentLeft="true"
  42. android:layout_alignParentRight="true"
  43. android:layout_marginBottom="28dp"
  44. android:layout_marginTop="10px"
  45. android:text="OCR"
  46. android:textColor="#ffffff"
  47. android:layout_margin="10px"/>
  48. </RelativeLayout>