fork download
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <android.support.constraint.ConstraintLayout xmlns:android="http://s...content-available-to-author-only...d.com/apk/res/android"
  3. xmlns:app="http://s...content-available-to-author-only...d.com/apk/res-auto"
  4. xmlns:tools="http://s...content-available-to-author-only...d.com/tools"
  5. android:layout_width="match_parent"
  6. android:layout_height="match_parent">
  7.  
  8. <LinearLayout
  9. android:id="@+id/progressBar2"
  10. android:background="@color/black"
  11. android:layout_width="0dp"
  12. android:layout_height="0dp"
  13. app:layout_constraintLeft_toLeftOf="parent"
  14. app:layout_constraintTop_toTopOf="parent"
  15. tools:layout_constraintBottom_creator="1"
  16. tools:layout_constraintLeft_creator="1"
  17. tools:layout_constraintRight_creator="1"
  18. tools:layout_constraintTop_creator="1"
  19. android:gravity="center"
  20. android:clickable="false"
  21. app:layout_constraintBottom_toBottomOf="parent"
  22. app:layout_constraintRight_toRightOf="parent">
  23. <ProgressBar
  24. style="?android:attr/progressBarStyle"
  25. android:layout_width="wrap_content"
  26. android:layout_height="wrap_content"
  27. android:visibility="visible"/>
  28. </LinearLayout>
  29.  
  30. <ImageView
  31. android:id="@+id/course_video_intro_img"
  32. android:layout_width="0dp"
  33. android:layout_height="140dp"
  34. android:adjustViewBounds="true"
  35. android:contentDescription="@string/course_intro_image"
  36. android:scaleType="centerCrop"
  37. android:src="@drawable/profile_image2"
  38. app:layout_constraintLeft_toLeftOf="parent"
  39. app:layout_constraintRight_toRightOf="parent"
  40. app:layout_constraintTop_toTopOf="parent"
  41. tools:layout_constraintRight_creator="1"
  42. tools:layout_constraintLeft_creator="1"/>
  43.  
  44. <TextView
  45. android:id="@+id/titleText"
  46. android:layout_width="0dp"
  47. android:layout_height="wrap_content"
  48. android:ellipsize="end"
  49. android:maxLines="1"
  50. android:padding="8dp"
  51. android:gravity="center"
  52. tools:text="asdasadadadadsa"
  53. android:textSize="16sp"
  54. android:textStyle="bold"
  55. app:layout_constraintLeft_toLeftOf="parent"
  56. app:layout_constraintRight_toRightOf="parent"
  57. app:layout_constraintTop_toBottomOf="@+id/course_video_intro_img"
  58. tools:layout_constraintRight_creator="1"
  59. tools:layout_constraintLeft_creator="1"/>
  60.  
  61. <android.support.design.widget.TabLayout
  62. android:id="@+id/tabLayout"
  63. android:paddingStart="8dp"
  64. android:paddingEnd="8dp"
  65. style="@style/MyCustomTabLayout"
  66. android:layout_width="0dp"
  67. android:layout_height="50dp"
  68. android:layout_below="@+id/titleText"
  69. android:layout_marginEnd="8dp"
  70. android:layout_marginLeft="8dp"
  71. android:layout_marginRight="8dp"
  72. android:layout_marginStart="8dp"
  73. app:layout_constraintLeft_toLeftOf="parent"
  74. app:layout_constraintRight_toRightOf="parent"
  75. app:layout_constraintTop_toBottomOf="@+id/titleText"
  76. tools:layout_constraintRight_creator="1"
  77. tools:layout_constraintLeft_creator="1"/>
  78.  
  79. <TextView
  80. android:id="@+id/textView3"
  81. android:layout_width="0dp"
  82. android:layout_height="1dp"
  83. android:layout_marginLeft="16dp"
  84. android:layout_marginRight="16dp"
  85. android:background="@color/lightGrayBg"
  86. app:layout_constraintHorizontal_bias="0.0"
  87. app:layout_constraintLeft_toLeftOf="parent"
  88. app:layout_constraintRight_toRightOf="parent"
  89. app:layout_constraintTop_toBottomOf="@+id/tabLayout"
  90. android:layout_marginStart="16dp"
  91. android:layout_marginEnd="16dp"
  92. tools:layout_constraintRight_creator="1"
  93. tools:layout_constraintLeft_creator="1"/>
  94.  
  95. <ImageView
  96. android:id="@+id/play_video_btn"
  97. android:layout_width="80dp"
  98. android:layout_height="80dp"
  99. app:layout_constraintBottom_toBottomOf="@+id/course_video_intro_img"
  100. app:layout_constraintLeft_toLeftOf="parent"
  101. app:layout_constraintRight_toRightOf="parent"
  102. app:layout_constraintTop_toTopOf="@+id/course_video_intro_img"
  103. app:srcCompat="@drawable/icon_play"
  104. tools:layout_constraintTop_creator="1"
  105. tools:layout_constraintRight_creator="1"
  106. tools:layout_constraintBottom_creator="1"
  107. tools:layout_constraintLeft_creator="1"/>
  108.  
  109. <android.support.v4.view.ViewPager
  110. android:id="@+id/viewPager"
  111. android:layout_width="wrap_content"
  112. android:layout_height="0dp"
  113. android:layout_above="@+id/layout"
  114. android:layout_below="@+id/tabLayout"
  115. android:layout_marginEnd="8dp"
  116. android:layout_marginLeft="8dp"
  117. android:layout_marginRight="8dp"
  118. android:layout_marginStart="8dp"
  119. android:paddingBottom="8dp"
  120. android:paddingStart="16dp"
  121. android:paddingEnd="16dp"
  122. android:paddingTop="8dp"
  123. app:layout_constraintLeft_toLeftOf="parent"
  124. app:layout_constraintRight_toRightOf="parent"
  125. app:layout_constraintTop_toBottomOf="@+id/textView3"
  126. app:layout_constraintBottom_toBottomOf="parent"
  127. tools:layout_constraintTop_creator="1"
  128. tools:layout_constraintBottom_creator="1"/>
  129.  
  130. </android.support.constraint.ConstraintLayout>
Compilation error #stdin compilation error #stdout 0s 0KB
stdin
Standard input is empty
compilation info
Main.java:1: error: class, interface, or enum expected
<?xml version="1.0" encoding="utf-8"?>
^
Main.java:1: error: class, interface, or enum expected
<?xml version="1.0" encoding="utf-8"?>
 ^
Main.java:1: error: class, interface, or enum expected
<?xml version="1.0" encoding="utf-8"?>
  ^
3 errors
stdout
Standard output is empty