activity_camera_print_preview.xml 3.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
  3. android:focusableInTouchMode="false"
  4. android:layout_width="match_parent"
  5. android:layout_height="match_parent">
  6. <include layout="@layout/navigationbar" />
  7. <com.epson.cameracopy.printlayout.PreviewView
  8. android:id="@+id/previewImageView"
  9. android:background="@color/all_white"
  10. android:layout_width="match_parent"
  11. android:layout_height="match_parent"
  12. android:layout_above="@+id/preview_papersetting"
  13. android:layout_below="@+id/navigation_bar" />
  14. <LinearLayout
  15. android:id="@+id/function_bar"
  16. style="@style/FunctionBar">
  17. <Button
  18. android:id="@+id/rotate_button"
  19. android:text="@string/rotate_button"
  20. style="@style/FunctionButton.Normal" />
  21. <Button
  22. android:id="@+id/paper_size_button"
  23. android:text="@string/paper_size_button"
  24. style="@style/FunctionButton.Normal" />
  25. <TextView
  26. android:layout_width="0dp"
  27. android:layout_height="wrap_content"
  28. android:layout_weight="1" />
  29. <Button
  30. android:id="@+id/print_button"
  31. android:text="@string/print_button"
  32. style="@style/FunctionButton.Execute" />
  33. </LinearLayout>
  34. <RelativeLayout
  35. android:id="@+id/preview_papersetting"
  36. android:background="@color/background_preview"
  37. android:layout_width="match_parent"
  38. android:layout_height="wrap_content"
  39. android:layout_above="@+id/function_bar">
  40. <ImageView
  41. android:id="@+id/icon_papermissmatch"
  42. android:background="@drawable/ic_exclamation"
  43. android:visibility="invisible"
  44. android:layout_width="24dp"
  45. android:layout_height="24dp"
  46. android:layout_alignParentLeft="true"
  47. android:contentDescription="paper mismatch" />
  48. <LinearLayout
  49. android:orientation="vertical"
  50. android:layout_width="wrap_content"
  51. android:layout_height="wrap_content"
  52. android:layout_toRightOf="@+id/icon_papermissmatch">
  53. <TextView
  54. android:textSize="12sp"
  55. android:textColor="@color/all_black"
  56. android:id="@+id/paper_size_text"
  57. android:paddingLeft="5dp"
  58. android:paddingRight="5dp"
  59. android:layout_width="wrap_content"
  60. android:layout_height="wrap_content"
  61. android:text="Paper:"
  62. android:singleLine="true" />
  63. <TextView
  64. android:textSize="12sp"
  65. android:textColor="@color/all_black"
  66. android:id="@+id/printtarget_size_text"
  67. android:paddingLeft="5dp"
  68. android:paddingRight="5dp"
  69. android:layout_width="wrap_content"
  70. android:layout_height="wrap_content"
  71. android:text="Manuscript: "
  72. android:singleLine="true" />
  73. <TextView
  74. android:textSize="12sp"
  75. android:textColor="@color/all_black"
  76. android:id="@+id/scale_text"
  77. android:paddingLeft="5dp"
  78. android:paddingRight="5dp"
  79. android:layout_width="wrap_content"
  80. android:layout_height="wrap_content"
  81. android:text="Scale:"
  82. android:singleLine="true" />
  83. </LinearLayout>
  84. </RelativeLayout>
  85. </RelativeLayout>