Advertisement
Guest User

Untitled

a guest
Oct 23rd, 2014
123
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.07 KB | None | 0 0
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
  3. android:layout_width="fill_parent"
  4. android:layout_height="fill_parent"
  5. android:baselineAligned="false"
  6. android:orientation="vertical" >
  7.  
  8. <FrameLayout
  9. android:id="@+id/player_frame"
  10. android:layout_width="fill_parent"
  11. android:layout_height="fill_parent"
  12. android:layout_above="@+id/buttonLayout" >
  13.  
  14. <FrameLayout
  15. android:id="@+id/player_surface_frame"
  16. android:layout_width="fill_parent"
  17. android:layout_height="fill_parent"
  18. android:layout_gravity="center" >
  19.  
  20. <SurfaceView
  21. android:id="@+id/player_surface"
  22. android:layout_width="fill_parent"
  23. android:layout_height="fill_parent"
  24. android:layout_gravity="center" />
  25. </FrameLayout>
  26. </FrameLayout>
  27.  
  28. <LinearLayout
  29. android:layout_width="match_parent"
  30. android:layout_height="wrap_content"
  31. android:layout_alignParentTop="true"
  32. android:orientation="vertical" >
  33.  
  34. <LinearLayout
  35. android:layout_width="fill_parent"
  36. android:layout_height="wrap_content" >
  37.  
  38. <Button
  39. android:id="@+id/findCameraButton"
  40. android:layout_width="0dp"
  41. android:layout_height="match_parent"
  42. android:layout_weight="4"
  43. android:text="@string/label_find_camera" />
  44.  
  45. <Button
  46. android:id="@+id/SettingButton"
  47. android:layout_width="0dp"
  48. android:layout_height="match_parent"
  49. android:layout_weight="4"
  50. android:text="@string/Camera_WiFi_setup" />
  51.  
  52. <ImageButton
  53. android:id="@+id/FileSavebutton"
  54. android:layout_width="0dp"
  55. android:layout_height="match_parent"
  56. android:layout_weight="4"
  57. android:background="@drawable/save_in_camera" />
  58. </LinearLayout>
  59.  
  60. <LinearLayout
  61. android:layout_width="match_parent"
  62. android:layout_height="wrap_content" >
  63. <TextView
  64. android:id="@+id/TimeStampLabel"
  65. android:layout_width="wrap_content"
  66. android:layout_height="wrap_content"
  67. android:layout_margin="10dip"
  68. android:text=""
  69. android:textColor="#ffff00"
  70. android:textAppearance="?android:attr/textAppearanceMedium" />
  71. </LinearLayout>
  72.  
  73. </LinearLayout>
  74.  
  75. <LinearLayout
  76. android:layout_width="match_parent"
  77. android:layout_height="wrap_content"
  78. android:layout_alignParentBottom="true"
  79. android:orientation="vertical" >
  80.  
  81. <LinearLayout
  82. android:layout_width="fill_parent"
  83. android:layout_height="wrap_content" >
  84.  
  85. <Button
  86. android:id="@+id/snapshotButton"
  87. android:layout_width="0dp"
  88. android:layout_height="wrap_content"
  89. android:layout_weight="4"
  90. android:text="@string/label_app_snapshot" />
  91.  
  92. <Button
  93. android:id="@+id/recordButton"
  94. android:layout_width="0dp"
  95. android:layout_height="wrap_content"
  96. android:layout_weight="4"
  97. android:text="@string/label_app_record" />
  98.  
  99. <ImageButton
  100. android:id="@+id/photo_record_mode"
  101. android:layout_width="0dp"
  102. android:layout_height="match_parent"
  103. android:layout_weight="4"
  104. android:background="@drawable/turn_to_photomode"/>
  105.  
  106. </LinearLayout>
  107. </LinearLayout>
  108.  
  109. </RelativeLayout>
  110.  
  111. <ImageButton
  112. android:id="@+id/photo_record_mode"
  113. android:layout_width="0dp"
  114. android:layout_height="match_parent"
  115. android:layout_weight="4"
  116. android:background="@drawable/turn_to_photomode"
  117. android:scaleType="fitXY"/>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement