encode.xml 2.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <!--
  3. Copyright (C) 2008 ZXing authors
  4. Licensed under the Apache License, Version 2.0 (the "License");
  5. you may not use this file except in compliance with the License.
  6. You may obtain a copy of the License at
  7. http://www.apache.org/licenses/LICENSE-2.0
  8. Unless required by applicable law or agreed to in writing, software
  9. distributed under the License is distributed on an "AS IS" BASIS,
  10. WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  11. See the License for the specific language governing permissions and
  12. limitations under the License.
  13. -->
  14. <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
  15. android:layout_width="fill_parent"
  16. android:layout_height="fill_parent"
  17. android:background="#cc000000"
  18. android:orientation="vertical" >
  19. <LinearLayout
  20. android:layout_width="fill_parent"
  21. android:layout_height="fill_parent"
  22. android:fillViewport="true"
  23. android:gravity="center"
  24. android:orientation="vertical" >
  25. <FrameLayout android:layout_width="fill_parent"
  26. android:layout_height="wrap_content">
  27. <ImageView
  28. android:id="@+id/image_view"
  29. android:layout_width="fill_parent"
  30. android:layout_height="wrap_content"
  31. android:layout_gravity="center_horizontal"
  32. android:scaleType="center" />
  33. <ImageView
  34. android:layout_width="20dp"
  35. android:layout_height="20dp"
  36. android:scaleType="center"
  37. android:layout_gravity="center"
  38. android:background="#00000000"/>
  39. </FrameLayout>
  40. <ScrollView
  41. android:layout_width="fill_parent"
  42. android:layout_height="wrap_content"
  43. android:layout_gravity="center_horizontal"
  44. android:gravity="center" >
  45. <TextView
  46. android:id="@+id/contents_text_view"
  47. android:layout_width="fill_parent"
  48. android:layout_height="wrap_content"
  49. android:layout_gravity="center_horizontal"
  50. android:gravity="center"
  51. android:paddingTop="8dp"
  52. android:paddingBottom="8dp"
  53. android:paddingLeft="8dp"
  54. android:paddingRight="8dp"
  55. android:textColor="@color/white" />
  56. </ScrollView>
  57. </LinearLayout>
  58. </LinearLayout>