pdf_file_select.xml 2.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <LinearLayout 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. >
  7. <!-- filename -->
  8. <TextView
  9. android:layout_width="wrap_content" android:layout_height="wrap_content"
  10. android:layout_weight="0"
  11. android:paddingBottom="0dip"
  12. android:text="PDF-File:"/>
  13. <EditText
  14. android:id="@+id/filename"
  15. android:layout_width="fill_parent"
  16. android:layout_height="wrap_content"
  17. android:paddingBottom="0dip"
  18. android:text=""
  19. android:hint="please enter a filename (e.g. /sdcard/download/test.pdf)" />
  20. <!-- Show Images -->
  21. <CheckBox android:id="@+id/cbAntiAlias"
  22. android:paddingBottom="24sp"
  23. android:paddingTop="24sp"
  24. android:layout_width="wrap_content"
  25. android:layout_height="wrap_content"
  26. android:text="antialias" />
  27. <!-- Button 'Show' -->
  28. <LinearLayout android:layout_width="fill_parent" android:layout_height="wrap_content" android:gravity="center_horizontal" android:orientation="horizontal" >
  29. <Button android:id="@+id/btShow" android:layout_width="120px" android:layout_height="40px" android:text="Show"></Button>
  30. <Button android:id="@+id/btExit" android:layout_width="120px" android:layout_height="40px" android:text="Exit"></Button>
  31. </LinearLayout>
  32. <!-- Output -->
  33. <EditText android:id="@+id/output"
  34. android:layout_width="fill_parent" android:autoText="true"
  35. android:capitalize="sentences"
  36. android:layout_weight="1"
  37. android:freezesText="true" android:layout_height="0dip"
  38. android:text="[enter filename and press 'show']">
  39. <requestFocus />
  40. </EditText>
  41. <ListView
  42. android:layout_width="wrap_content"
  43. android:layout_height="wrap_content"
  44. android:id="@android:id/list"
  45. android:visibility="invisible"
  46. />
  47. </LinearLayout>