Advertisement
Guest User

Untitled

a guest
Jul 20th, 2017
107
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.42 KB | None | 0 0
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <LinearLayout
  3. xmlns:android="http://schemas.android.com/apk/res/android"
  4.  
  5. android:orientation="vertical" android:layout_width="match_parent"
  6. android:layout_height="match_parent">
  7. <LinearLayout
  8. android:layout_width="match_parent"
  9. android:layout_height="wrap_content"
  10. android:gravity="center"
  11. android:paddingTop="4dp"
  12. android:orientation="horizontal">
  13.  
  14. <ImageButton android:id="@id/exo_prev"
  15. style="@style/ExoMediaButton.Previous"/>
  16.  
  17. <ImageButton android:id="@id/exo_rew"
  18. style="@style/ExoMediaButton.Rewind"/>
  19.  
  20. <ImageButton android:id="@id/exo_play"
  21. style="@style/ExoMediaButton.Play"/>
  22.  
  23. <ImageButton android:id="@id/exo_pause"
  24. style="@style/ExoMediaButton.Pause"/>
  25.  
  26. <ImageButton android:id="@id/exo_ffwd"
  27. style="@style/ExoMediaButton.FastForward"/>
  28.  
  29. <ImageButton android:id="@id/exo_next"
  30. style="@style/ExoMediaButton.Next"/>
  31.  
  32. // This is the custom button
  33. <ImageButton
  34. android:id="@+id/exo_fullscreen_button"
  35. style="@style/ExoMediaButton"
  36. android:src="@drawable/ic_fullscreen"/>
  37. </LinearLayout>
  38.  
  39. <LinearLayout
  40. android:layout_width="match_parent"
  41. android:layout_height="wrap_content"
  42. android:layout_marginTop="4dp"
  43. android:gravity="center_vertical"
  44. android:orientation="horizontal">
  45.  
  46. <TextView android:id="@id/exo_position"
  47. android:layout_width="wrap_content"
  48. android:layout_height="wrap_content"
  49. android:textSize="14sp"
  50. android:textStyle="bold"
  51. android:paddingLeft="4dp"
  52. android:paddingRight="4dp"
  53. android:includeFontPadding="false"
  54. android:textColor="#FFBEBEBE"/>
  55.  
  56. <SeekBar android:id="@id/exo_progress"
  57. android:layout_width="0dp"
  58. android:layout_weight="1"
  59. android:layout_height="32dp"
  60. android:focusable="false"
  61. style="?android:attr/progressBarStyleHorizontal"/>
  62.  
  63. <TextView android:id="@id/exo_duration"
  64. android:layout_width="wrap_content"
  65. android:layout_height="wrap_content"
  66. android:textSize="14sp"
  67. android:textStyle="bold"
  68. android:paddingLeft="4dp"
  69. android:paddingRight="4dp"
  70. android:includeFontPadding="false"
  71. android:textColor="#FFBEBEBE"/>
  72.  
  73. </LinearLayout>
  74.  
  75. Error:(15, 34) No resource found that matches the given name (at 'id' with value '@id/exo_rew').
  76. Error:(18, 34) No resource found that matches the given name (at 'id' with value '@id/exo_play').
  77. Error:(19, 20) No resource found that matches the given name (at 'style' with value '@style/ExoMediaButton.Play').
  78. Error:(21, 34) No resource found that matches the given name (at 'id' with value '@id/exo_pause').
  79. Error:(22, 20) No resource found that matches the given name (at 'style' with value '@style/ExoMediaButton.Pause').
  80. Error:(24, 34) No resource found that matches the given name (at 'id' with value '@id/exo_ffwd').
  81. Error:(27, 34) No resource found that matches the given name (at 'id' with value '@id/exo_next').
  82. Error:(44, 31) No resource found that matches the given name (at 'id' with value '@id/exo_position').
  83. Error:(54, 30) No resource found that matches the given name (at 'id' with value '@id/exo_progress').
  84. Error:(61, 31) No resource found that matches the given name (at 'id' with value '@id/exo_duration').
  85. Error:Execution failed for task ':app:processDebugResources'.
  86. > com.android.ide.common.process.ProcessException: Failed to execute aapt
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement