/ocr/ocrservice/res/layout/test.xml

http://eyes-free.googlecode.com/ · XML · 58 lines · 44 code · 0 blank · 14 comment · 0 complexity · 9c5d56ae2966797b138427fd303282ce 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. <LinearLayout
  14. xmlns:android="http://schemas.android.com/apk/res/android"
  15. android:layout_width="fill_parent"
  16. android:layout_height="fill_parent"
  17. android:orientation="horizontal">
  18. <ScrollView
  19. android:layout_width="0dp"
  20. android:layout_height="fill_parent"
  21. android:layout_weight="1.0">
  22. <TextView
  23. android:id="@+id/console"
  24. android:layout_width="fill_parent"
  25. android:layout_height="fill_parent" />
  26. </ScrollView>
  27. <LinearLayout
  28. android:layout_width="wrap_content"
  29. android:layout_height="fill_parent"
  30. android:orientation="vertical">
  31. <Button
  32. android:id="@+id/detect"
  33. android:layout_width="fill_parent"
  34. android:layout_height="wrap_content"
  35. android:text="DetectActivity" />
  36. <Button
  37. android:id="@+id/blocking"
  38. android:layout_width="fill_parent"
  39. android:layout_height="wrap_content"
  40. android:text="BlockingActivity"
  41. android:enabled="false" />
  42. <Button
  43. android:id="@+id/recognize"
  44. android:layout_width="fill_parent"
  45. android:layout_height="wrap_content"
  46. android:text="RecognizeActivity"
  47. android:enabled="false" />
  48. <Button
  49. android:id="@+id/optic_flow"
  50. android:layout_width="fill_parent"
  51. android:layout_height="wrap_content"
  52. android:text="OpticFlowActivity"
  53. android:enabled="true" />
  54. </LinearLayout>
  55. </LinearLayout>