Advertisement
Guest User

Untitled

a guest
Dec 20th, 2014
147
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.76 KB | None | 0 0
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <!--
  3. /**
  4. * Copyright (c) 2007, Google Inc.
  5. *
  6. * Licensed under the Apache License, Version 2.0 (the "License");
  7. * you may not use this file except in compliance with the License.
  8. * You may obtain a copy of the License at
  9. *
  10. * http://www.apache.org/licenses/LICENSE-2.0
  11. *
  12. * Unless required by applicable law or agreed to in writing, software
  13. * distributed under the License is distributed on an "AS IS" BASIS,
  14. * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  15. * See the License for the specific language governing permissions and
  16. * limitations under the License.
  17. */
  18. -->
  19.  
  20. <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
  21. android:layout_width="fill_parent"
  22. android:layout_height="fill_parent"
  23. android:orientation="vertical">
  24.  
  25. <AbsoluteLayout
  26. android:layout_width="wrap_content"
  27. android:layout_height="0px"
  28. android:layout_weight="1">
  29.  
  30. <!-- ImageView android:id="@+id/bkgnd"
  31. android:layout_width="fill_parent"
  32. android:layout_height="fill_parent"
  33. android:scaleType="centerCrop"
  34. android:src="@drawable/bkgnd" -->
  35.  
  36. <com.ringdroid.WaveformView android:id="@+id/waveform"
  37. android:layout_width="fill_parent"
  38. android:layout_height="fill_parent" />
  39.  
  40. <com.ringdroid.MarkerView android:id="@+id/startmarker"
  41. android:nextFocusDown="@+id/endmarker"
  42. android:layout_width="wrap_content"
  43. android:layout_height="wrap_content"
  44. android:src="@drawable/marker_left"
  45. android:contentDescription="@string/start_marker" />
  46.  
  47. <com.ringdroid.MarkerView android:id="@+id/endmarker"
  48. android:nextFocusUp="@+id/startmarker"
  49. android:nextFocusDown="@+id/info"
  50. android:layout_width="wrap_content"
  51. android:layout_height="wrap_content"
  52. android:src="@drawable/marker_right"
  53. android:contentDescription="@string/end_marker" />
  54.  
  55. </AbsoluteLayout>
  56.  
  57. <TextView android:id="@+id/info"
  58. android:nextFocusUp="@+id/endmarker"
  59. android:nextFocusDown="@+id/play"
  60. android:layout_width="fill_parent"
  61. android:layout_height="wrap_content"
  62. style="@style/AudioFileInfoOverlayText"
  63. android:gravity="center" />
  64.  
  65. <LinearLayout
  66. style="@style/ToolbarBackground"
  67. android:layout_width="fill_parent"
  68. android:layout_height="62dip"
  69. android:background="#000000"
  70. android:gravity="center" >
  71.  
  72. <ImageButton android:id="@+id/rew"
  73. android:layout_width="64dip"
  74. android:layout_height="52dip"
  75. android:layout_marginTop="6dip"
  76. android:layout_marginBottom="6dip"
  77. style="@android:style/MediaButton"
  78. android:contentDescription="@string/rewind"
  79. android:src="@android:drawable/ic_media_previous" />
  80.  
  81. <ImageButton android:id="@+id/play"
  82. android:layout_width="71dip"
  83. android:layout_height="52dip"
  84. android:layout_marginTop="6dip"
  85. android:layout_marginBottom="6dip"
  86. style="@android:style/MediaButton"
  87. android:contentDescription="@string/play"
  88. android:src="@android:drawable/ic_media_play" />
  89.  
  90. <ImageButton android:id="@+id/ffwd"
  91. android:layout_width="64dip"
  92. android:layout_height="52dip"
  93. android:layout_marginRight="5dip"
  94. android:layout_marginTop="6dip"
  95. android:layout_marginBottom="6dip"
  96. style="@android:style/MediaButton"
  97. android:contentDescription="@string/ffwd"
  98. android:src="@android:drawable/ic_media_next" />
  99.  
  100. </LinearLayout>
  101.  
  102. <LinearLayout style="@style/HorizontalDividerTop" />
  103. <LinearLayout style="@style/HorizontalDividerBottom" />
  104.  
  105. <LinearLayout
  106. style="@style/ToolbarBackground"
  107. android:layout_width="fill_parent"
  108. android:layout_height="62dip"
  109. android:background="#000000"
  110. android:gravity="center_vertical" >
  111.  
  112. <LinearLayout
  113. android:layout_width="fill_parent"
  114. android:layout_height="fill_parent"
  115. android:layout_marginTop="6dip"
  116. android:gravity="center"
  117. android:orientation="horizontal">
  118.  
  119. <TextView
  120. android:id="@+id/mark_start"
  121. android:text="@string/start_label"
  122. android:textColor="#ffffffff"
  123. android:textSize="14sp"
  124. android:textStyle="bold"
  125. android:clickable="true"
  126. android:gravity="center"
  127. android:layout_width="wrap_content"
  128. android:layout_height="31dip" />
  129.  
  130. <EditText android:id="@+id/starttext"
  131. android:textSize="16sp"
  132. android:inputType="number|numberDecimal"
  133. android:layout_marginLeft="10dip"
  134. android:layout_marginRight="30dip"
  135. android:layout_width="70dip"
  136. android:layout_height="31dip"
  137. android:gravity="center"
  138. android:contentDescription="@string/start_label" />
  139.  
  140. <TextView
  141. android:id="@+id/mark_end"
  142. android:text="@string/end_label"
  143. android:textColor="#ffffffff"
  144. android:textSize="14sp"
  145. android:textStyle="bold"
  146. android:clickable="true"
  147. android:gravity="center"
  148. android:layout_width="wrap_content"
  149. android:layout_height="31dip" />
  150.  
  151. <EditText android:id="@+id/endtext"
  152. android:textSize="16sp"
  153. android:inputType="number|numberDecimal"
  154. android:layout_width="70dip"
  155. android:layout_height="31dip"
  156. android:layout_marginLeft="10dip"
  157. android:gravity="center"
  158. android:contentDescription="@string/end_label" />
  159.  
  160. </LinearLayout>
  161.  
  162. </LinearLayout>
  163.  
  164. </LinearLayout>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement