p2play-app-android/app/src/main/res/layout/view_video.xml

73 lines
2.7 KiB
XML
Raw Normal View History

2018-08-18 07:04:31 +02:00
<?xml version="1.0" encoding="utf-8"?>
<android.support.constraint.ConstraintLayout 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"
2018-08-18 07:04:31 +02:00
android:layout_width="match_parent"
android:layout_height="wrap_content">
<LinearLayout
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">
<ImageView
android:id="@+id/thumb"
android:layout_width="match_parent"
android:layout_height="230dp"
app:srcCompat="@android:drawable/ic_menu_gallery" />
<LinearLayout
android:layout_width="match_parent"
android:layout_height="63dp"
2018-08-18 07:04:31 +02:00
android:orientation="horizontal">
<ImageView
android:id="@+id/userImg"
android:layout_width="140dp"
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"
android:maxLength="70"
2019-02-09 21:56:56 +01:00
android:textSize="14sp"
2018-08-18 07:04:31 +02:00
android:textStyle="bold" />
<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-08-18 07:04:31 +02:00
</LinearLayout>
<Space
android:layout_width="match_parent"
android:layout_height="15dp"
android:layout_weight="1"
app:layout_constraintTop_toBottomOf="@+id/linearLayout" />
2018-08-18 07:04:31 +02:00
</android.support.constraint.ConstraintLayout>