Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?xml version="1.0" encoding="utf-8"?>
- <ScrollView xmlns:android="http://schemas.android.com/apk/res/android"
- xmlns:app="http://schemas.android.com/apk/res-auto"
- xmlns:tools="http://schemas.android.com/tools"
- android:layout_width="match_parent"
- android:layout_height="match_parent"
- tools:context=".menus.videokajian.DetailVideoKajianActivity">
- <androidx.constraintlayout.widget.ConstraintLayout
- android:layout_width="match_parent"
- android:layout_height="wrap_content">
- <com.pierfrancescosoffritti.androidyoutubeplayer.core.player.views.YouTubePlayerView
- android:id="@+id/player_video"
- android:layout_width="match_parent"
- android:layout_height="250dp"
- app:autoPlay="false"
- app:layout_constraintEnd_toEndOf="parent"
- app:layout_constraintStart_toStartOf="parent"
- app:layout_constraintTop_toTopOf="parent"/>
- <androidx.appcompat.widget.AppCompatTextView
- android:id="@+id/tv_channel"
- android:layout_width="0dp"
- android:layout_height="wrap_content"
- android:layout_marginLeft="16dp"
- android:layout_marginTop="8dp"
- android:layout_marginRight="24dp"
- android:ellipsize="end"
- android:fontFamily="@font/poppins_light"
- android:lines="1"
- android:maxLines="1"
- android:textColor="@color/colorGreyChannel"
- app:layout_constraintEnd_toStartOf="@id/iv_share"
- app:layout_constraintStart_toStartOf="parent"
- app:layout_constraintTop_toBottomOf="@id/player_video"/>
- <androidx.appcompat.widget.AppCompatTextView
- android:id="@+id/tv_speaker"
- android:layout_width="0dp"
- android:layout_height="wrap_content"
- android:layout_marginLeft="16dp"
- android:layout_marginRight="24dp"
- android:ellipsize="end"
- android:fontFamily="@font/poppins_medium"
- android:lines="1"
- android:maxLines="1"
- android:textColor="@color/colorPrimary"
- app:layout_constraintEnd_toStartOf="@id/iv_share"
- app:layout_constraintStart_toStartOf="parent"
- app:layout_constraintTop_toBottomOf="@id/tv_channel"/>
- <androidx.appcompat.widget.AppCompatTextView
- android:id="@+id/tv_title"
- android:layout_width="0dp"
- android:layout_height="wrap_content"
- android:layout_marginLeft="16dp"
- android:layout_marginRight="24dp"
- android:ellipsize="end"
- android:fontFamily="@font/poppins_medium"
- android:lines="1"
- android:maxLines="1"
- android:textColor="@color/colorDarkGrey"
- app:layout_constraintEnd_toStartOf="@id/iv_share"
- app:layout_constraintStart_toStartOf="parent"
- app:layout_constraintTop_toBottomOf="@id/tv_speaker"/>
- <androidx.appcompat.widget.AppCompatImageView
- android:id="@+id/iv_share"
- android:layout_width="50dp"
- android:layout_height="50dp"
- android:layout_marginEnd="24dp"
- android:padding="14dp"
- android:src="@drawable/ic_baseline_share_24"
- app:layout_constraintBottom_toBottomOf="@id/tv_title"
- app:layout_constraintEnd_toEndOf="parent"
- app:layout_constraintTop_toTopOf="@id/tv_channel"/>
- <View
- android:id="@+id/divider"
- android:layout_width="match_parent"
- android:layout_height="3dp"
- android:layout_marginTop="16dp"
- android:background="@color/colorGrey"
- app:layout_constraintTop_toBottomOf="@id/tv_title"/>
- <androidx.appcompat.widget.AppCompatTextView
- android:id="@+id/tv_summary"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:layout_marginHorizontal="16dp"
- android:layout_marginTop="16dp"
- android:fontFamily="@font/poppins_medium"
- android:textColor="@color/colorDarkGrey"
- android:textSize="16sp"
- app:layout_constraintEnd_toEndOf="parent"
- app:layout_constraintStart_toStartOf="parent"
- app:layout_constraintTop_toBottomOf="@id/divider"/>
- </androidx.constraintlayout.widget.ConstraintLayout>
- </ScrollView>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement