2020-07-01 16:36:08 +02:00
|
|
|
<?xml version="1.0" encoding="utf-8"?><!--
|
|
|
|
Copyright 2020 Thomas Schneider
|
|
|
|
|
|
|
|
This file is a part of TubeLab
|
|
|
|
|
|
|
|
This program is free software; you can redistribute it and/or modify it under the terms of the
|
|
|
|
GNU General Public License as published by the Free Software Foundation; either version 3 of the
|
|
|
|
License, or (at your option) any later version.
|
|
|
|
|
|
|
|
TubeLab is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even
|
|
|
|
the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
|
|
|
|
Public License for more details.
|
|
|
|
|
|
|
|
You should have received a copy of the GNU General Public License along with TubeLab; if not,
|
|
|
|
see <http://www.gnu.org/licenses>.
|
|
|
|
-->
|
2020-06-26 08:50:49 +02:00
|
|
|
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
|
|
|
android:id="@+id/main_container"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:divider="?android:dividerHorizontal"
|
|
|
|
android:orientation="vertical"
|
2020-07-09 17:57:01 +02:00
|
|
|
android:gravity="bottom"
|
2020-06-26 08:50:49 +02:00
|
|
|
android:showDividers="end">
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:id="@+id/header_title"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_gravity="center"
|
|
|
|
android:layout_marginTop="5dp"
|
|
|
|
android:layout_marginBottom="5dp"
|
|
|
|
android:background="?colorAccent"
|
|
|
|
android:gravity="center"
|
|
|
|
android:paddingTop="10dp"
|
|
|
|
android:paddingBottom="10dp"
|
2020-06-27 11:21:25 +02:00
|
|
|
android:textColor="@android:color/white"
|
2020-06-26 08:50:49 +02:00
|
|
|
android:textSize="18sp"
|
|
|
|
android:textStyle="bold"
|
|
|
|
android:visibility="gone" />
|
|
|
|
|
|
|
|
<ImageView
|
|
|
|
android:id="@+id/peertube_video_image"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="200dp"
|
|
|
|
android:contentDescription="@string/image_preview"
|
|
|
|
android:gravity="center"
|
|
|
|
android:scaleType="centerCrop" />
|
|
|
|
|
|
|
|
<LinearLayout
|
|
|
|
android:id="@+id/bottom_container"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
2020-06-28 19:11:39 +02:00
|
|
|
android:layout_marginStart="@dimen/fab_margin"
|
|
|
|
android:layout_marginEnd="@dimen/fab_margin"
|
2020-06-26 08:50:49 +02:00
|
|
|
android:orientation="horizontal">
|
|
|
|
|
|
|
|
<ImageView
|
|
|
|
android:id="@+id/peertube_profile"
|
|
|
|
android:layout_width="40dp"
|
|
|
|
android:layout_height="40dp"
|
|
|
|
android:layout_marginTop="10dp"
|
|
|
|
android:contentDescription="@string/profile_picture"
|
|
|
|
android:gravity="center"
|
|
|
|
android:scaleType="fitCenter" />
|
|
|
|
|
|
|
|
<LinearLayout
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_marginStart="10dp"
|
|
|
|
android:layout_marginTop="10dp"
|
|
|
|
android:layout_marginBottom="10dp"
|
|
|
|
android:orientation="vertical">
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:id="@+id/peertube_title"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_gravity="center_vertical"
|
|
|
|
android:textColor="?colorAccent"
|
|
|
|
android:textStyle="bold" />
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:id="@+id/peertube_account_name"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_gravity="center_vertical" />
|
|
|
|
|
|
|
|
<LinearLayout
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:orientation="horizontal">
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:id="@+id/peertube_duration"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content" />
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:id="@+id/peertube_views"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_marginStart="5dp" />
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:id="@+id/peertube_date"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_marginStart="5dp" />
|
|
|
|
</LinearLayout>
|
|
|
|
</LinearLayout>
|
|
|
|
</LinearLayout>
|
|
|
|
</LinearLayout>
|