/ocr/ocrservice/res/layout/blocking.xml

http://eyes-free.googlecode.com/ · XML · 49 lines · 35 code · 0 blank · 14 comment · 0 complexity · 01ca185528322f553a409c5472368f67 MD5 · raw file

  1. <?xml version="1.0" encoding="utf-8"?>
  2. <!-- Copyright (C) 2011 Google Inc.
  3. Licensed under the Apache License, Version 2.0 (the "License");
  4. you may not use this file except in compliance with the License.
  5. You may obtain a copy of the License at
  6. http://www.apache.org/licenses/LICENSE-2.0
  7. Unless required by applicable law or agreed to in writing, software
  8. distributed under the License is distributed on an "AS IS" BASIS,
  9. WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  10. See the License for the specific language governing permissions and
  11. limitations under the License.
  12. -->
  13. <RelativeLayout
  14. xmlns:android="http://schemas.android.com/apk/res/android"
  15. android:layout_width="fill_parent"
  16. android:layout_height="fill_parent">
  17. <ImageView
  18. android:id="@+id/preview"
  19. android:layout_width="fill_parent"
  20. android:layout_height="fill_parent" />
  21. <com.googlecode.eyesfree.ocr.intent.BlockingView
  22. android:id="@+id/blocking"
  23. android:layout_width="fill_parent"
  24. android:layout_height="fill_parent" />
  25. <Button
  26. android:id="@+id/clear"
  27. android:layout_width="wrap_content"
  28. android:layout_height="wrap_content"
  29. android:layout_alignParentLeft="true"
  30. android:layout_alignParentBottom="true"
  31. android:text="@string/clear" />
  32. <Button
  33. android:id="@+id/accept"
  34. android:layout_width="wrap_content"
  35. android:layout_height="wrap_content"
  36. android:layout_alignParentRight="true"
  37. android:layout_alignParentBottom="true"
  38. android:text="@string/accept" />
  39. <Button
  40. android:id="@+id/cancel"
  41. android:layout_width="wrap_content"
  42. android:layout_height="wrap_content"
  43. android:layout_toLeftOf="@id/accept"
  44. android:layout_alignParentBottom="true"
  45. android:text="@string/cancel" />
  46. </RelativeLayout>