2018-08-18 07:04:31 +02:00
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
2024-03-21 04:04:16 +01:00
|
|
|
<androidx.constraintlayout.widget.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
2018-08-18 07:04:31 +02:00
|
|
|
xmlns:app="http://schemas.android.com/apk/res-auto"
|
2018-09-04 05:17:31 +02:00
|
|
|
xmlns:tools="http://schemas.android.com/tools"
|
2018-08-18 07:04:31 +02:00
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content">
|
|
|
|
|
|
|
|
<LinearLayout
|
2018-09-04 05:17:31 +02:00
|
|
|
android:id="@+id/linearLayout"
|
2018-08-18 07:04:31 +02:00
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:orientation="vertical"
|
|
|
|
app:layout_constraintEnd_toEndOf="parent"
|
|
|
|
app:layout_constraintStart_toStartOf="parent"
|
|
|
|
app:layout_constraintTop_toTopOf="parent">
|
|
|
|
|
2024-03-23 01:12:14 +01:00
|
|
|
<androidx.constraintlayout.widget.ConstraintLayout
|
2018-08-18 07:04:31 +02:00
|
|
|
android:layout_width="match_parent"
|
2024-03-29 01:41:49 +01:00
|
|
|
android:layout_height="wrap_content"
|
2024-03-26 01:53:01 +01:00
|
|
|
app:layout_constraintStart_toStartOf="parent"
|
|
|
|
app:layout_constraintTop_toTopOf="parent">
|
2024-03-23 01:12:14 +01:00
|
|
|
|
|
|
|
<ImageView
|
|
|
|
android:id="@+id/thumb"
|
|
|
|
android:layout_width="match_parent"
|
2024-03-29 01:41:49 +01:00
|
|
|
android:layout_height="205dp"
|
2024-03-26 01:53:01 +01:00
|
|
|
app:layout_constraintBottom_toBottomOf="parent"
|
2024-03-23 01:12:14 +01:00
|
|
|
app:layout_constraintEnd_toEndOf="parent"
|
|
|
|
app:layout_constraintStart_toStartOf="parent"
|
|
|
|
app:layout_constraintTop_toTopOf="parent"
|
|
|
|
app:srcCompat="@android:drawable/ic_menu_gallery" />
|
|
|
|
|
2024-03-26 02:57:49 +01:00
|
|
|
<TextView
|
|
|
|
android:id="@+id/isLive"
|
|
|
|
android:layout_width="65dp"
|
|
|
|
android:layout_height="19dp"
|
|
|
|
android:layout_marginStart="8dp"
|
|
|
|
android:layout_marginBottom="16dp"
|
|
|
|
android:background="@drawable/live_shape"
|
|
|
|
android:ems="10"
|
|
|
|
android:paddingHorizontal="3dp"
|
|
|
|
android:text="@string/is_live_video"
|
|
|
|
android:textAlignment="center"
|
|
|
|
android:textColor="@color/durationColor"
|
|
|
|
android:visibility="invisible"
|
|
|
|
app:layout_constraintBottom_toBottomOf="parent"
|
|
|
|
app:layout_constraintStart_toStartOf="parent"
|
|
|
|
tools:visibility="invisible" />
|
|
|
|
|
2024-03-23 01:12:14 +01:00
|
|
|
<TextView
|
|
|
|
android:id="@+id/duration"
|
|
|
|
android:layout_width="65dp"
|
|
|
|
android:layout_height="19dp"
|
|
|
|
android:layout_marginEnd="8dp"
|
|
|
|
android:layout_marginBottom="16dp"
|
|
|
|
android:background="@drawable/round_text"
|
|
|
|
android:ems="10"
|
|
|
|
android:paddingHorizontal="3dp"
|
2024-03-29 01:41:49 +01:00
|
|
|
android:text="00:00"
|
2024-03-23 01:12:14 +01:00
|
|
|
android:textAlignment="center"
|
2024-03-29 01:41:49 +01:00
|
|
|
android:textColor="?attr/colorOnSecondary"
|
2024-03-23 01:12:14 +01:00
|
|
|
app:layout_constraintBottom_toBottomOf="parent"
|
|
|
|
app:layout_constraintEnd_toEndOf="parent" />
|
|
|
|
</androidx.constraintlayout.widget.ConstraintLayout>
|
2018-08-18 07:04:31 +02:00
|
|
|
|
|
|
|
<LinearLayout
|
|
|
|
android:layout_width="match_parent"
|
2024-03-29 01:41:49 +01:00
|
|
|
android:layout_height="55dp"
|
2018-08-18 07:04:31 +02:00
|
|
|
android:orientation="horizontal">
|
|
|
|
|
|
|
|
<ImageView
|
|
|
|
android:id="@+id/userImg"
|
2024-03-29 01:41:49 +01:00
|
|
|
android:layout_width="120dp"
|
2018-08-18 07:04:31 +02:00
|
|
|
android:layout_height="match_parent"
|
|
|
|
android:layout_weight="1"
|
|
|
|
android:adjustViewBounds="false"
|
|
|
|
android:clickable="false"
|
|
|
|
android:cropToPadding="false"
|
|
|
|
android:padding="5dp"
|
2024-03-19 01:45:04 +01:00
|
|
|
android:scaleType="fitCenter"
|
2018-08-18 07:04:31 +02:00
|
|
|
app:srcCompat="@drawable/default_avatar" />
|
|
|
|
|
|
|
|
<LinearLayout
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
android:layout_weight="1"
|
2019-02-10 23:28:14 +01:00
|
|
|
android:gravity="center"
|
2018-08-18 07:04:31 +02:00
|
|
|
android:orientation="vertical">
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:id="@+id/tittleTxt"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
2018-09-04 05:17:31 +02:00
|
|
|
android:maxLength="70"
|
2019-02-09 21:56:56 +01:00
|
|
|
android:textSize="14sp"
|
2024-03-22 00:47:54 +01:00
|
|
|
android:textStyle="bold"
|
2024-03-29 01:41:49 +01:00
|
|
|
android:theme="@style/MaterialAlertDialog.MaterialComponents.Title.Text" />
|
2018-08-18 07:04:31 +02:00
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:id="@+id/descriptionTxt"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
2019-02-09 21:56:56 +01:00
|
|
|
android:textColor="@android:color/darker_gray"
|
|
|
|
android:textSize="12sp" />
|
2018-08-18 07:04:31 +02:00
|
|
|
</LinearLayout>
|
|
|
|
|
|
|
|
</LinearLayout>
|
2018-09-04 05:17:31 +02:00
|
|
|
|
2018-08-18 07:04:31 +02:00
|
|
|
</LinearLayout>
|
|
|
|
|
2024-03-21 04:04:16 +01:00
|
|
|
<androidx.legacy.widget.Space
|
2018-09-04 05:17:31 +02:00
|
|
|
android:layout_width="match_parent"
|
2024-03-29 01:41:49 +01:00
|
|
|
android:layout_height="5dp"
|
2018-09-04 05:17:31 +02:00
|
|
|
android:layout_weight="1"
|
|
|
|
app:layout_constraintTop_toBottomOf="@+id/linearLayout" />
|
|
|
|
|
2024-03-21 04:04:16 +01:00
|
|
|
</androidx.constraintlayout.widget.ConstraintLayout>
|