/ocr/translate/res/layout/translate.xml

http://eyes-free.googlecode.com/ · XML · 36 lines · 31 code · 5 blank · 0 comment · 0 complexity · b3074fca257cb7388b669e749c694462 MD5 · raw file

  1. <?xml version="1.0" encoding="utf-8"?>
  2. <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
  3. android:orientation="vertical"
  4. android:layout_width="fill_parent"
  5. android:layout_height="fill_parent">
  6. <ProgressBar android:id="@+id/progress_t"
  7. android:layout_height="wrap_content"
  8. android:layout_width="wrap_content"
  9. android:layout_centerInParent="true"
  10. android:indeterminate="true"
  11. android:minHeight="80sp"
  12. android:minWidth="80sp" />
  13. <TextView android:layout_height="wrap_content"
  14. android:layout_width="wrap_content"
  15. android:layout_below="@+id/progress_t"
  16. android:layout_centerHorizontal="true"
  17. android:layout_marginTop="10sp"
  18. android:text="Translating text..."
  19. android:textSize="20sp" />
  20. <TextView android:id="@+id/translate"
  21. android:layout_width="fill_parent"
  22. android:layout_height="wrap_content"
  23. android:textColor="#666666"
  24. android:textSize="14sp"/>
  25. <Button android:id="@+id/cancelTranslate"
  26. android:layout_height="wrap_content"
  27. android:layout_width="wrap_content"
  28. android:layout_alignParentLeft="true"
  29. android:layout_alignParentBottom="true"
  30. android:text="&lt; Cancel" />
  31. </RelativeLayout>