2020-07-01 17:08:28 +00:00
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
2020-08-29 08:01:42 +00:00
|
|
|
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
2020-07-01 17:08:28 +00:00
|
|
|
xmlns:app="http://schemas.android.com/apk/res-auto"
|
|
|
|
xmlns:tools="http://schemas.android.com/tools"
|
|
|
|
android:layout_width="match_parent"
|
2020-08-29 08:01:42 +00:00
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:orientation="vertical">
|
2020-07-01 17:08:28 +00:00
|
|
|
|
|
|
|
<LinearLayout
|
2020-08-29 08:01:42 +00:00
|
|
|
android:id="@+id/top_container"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
2020-07-01 17:08:28 +00:00
|
|
|
android:orientation="horizontal">
|
|
|
|
|
2020-08-29 08:01:42 +00:00
|
|
|
<LinearLayout
|
|
|
|
android:id="@+id/btnComments"
|
|
|
|
android:layout_width="wrap_content"
|
2020-07-01 17:08:28 +00:00
|
|
|
android:layout_height="match_parent"
|
2020-08-29 08:01:42 +00:00
|
|
|
android:background="?android:selectableItemBackground"
|
|
|
|
android:gravity="center"
|
|
|
|
android:orientation="horizontal"
|
|
|
|
android:padding="4dp">
|
2020-07-01 17:08:28 +00:00
|
|
|
|
2020-08-29 08:01:42 +00:00
|
|
|
<androidx.appcompat.widget.AppCompatImageView
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:padding="4dp"
|
|
|
|
app:srcCompat="@drawable/ic_outline_comments_24"
|
|
|
|
app:tint="?android:textColorPrimary" />
|
2020-07-01 17:08:28 +00:00
|
|
|
|
2020-08-29 08:01:42 +00:00
|
|
|
<androidx.appcompat.widget.AppCompatTextView
|
|
|
|
android:id="@+id/commentsCount"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
android:gravity="center_vertical"
|
|
|
|
android:textAppearance="?attr/textAppearanceButton"
|
|
|
|
tools:text="690000" />
|
|
|
|
</LinearLayout>
|
2020-07-01 17:08:28 +00:00
|
|
|
|
2020-10-24 09:10:21 +00:00
|
|
|
<androidx.appcompat.widget.AppCompatTextView
|
|
|
|
android:id="@+id/tvVideoViews"
|
2020-07-01 17:08:28 +00:00
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="match_parent"
|
2020-10-24 09:10:21 +00:00
|
|
|
android:gravity="center_vertical"
|
|
|
|
android:textAppearance="?attr/textAppearanceCaption"
|
|
|
|
tools:text="690000 views" />
|
2020-07-01 17:08:28 +00:00
|
|
|
|
|
|
|
<androidx.appcompat.widget.AppCompatTextView
|
|
|
|
android:id="@+id/tvPostDate"
|
2020-08-29 08:01:42 +00:00
|
|
|
android:layout_width="0dp"
|
2020-07-01 17:08:28 +00:00
|
|
|
android:layout_height="match_parent"
|
2020-08-29 08:01:42 +00:00
|
|
|
android:layout_weight="1"
|
2020-07-01 17:08:28 +00:00
|
|
|
android:gravity="center_vertical"
|
2020-08-29 08:01:42 +00:00
|
|
|
android:maxLines="1"
|
|
|
|
android:padding="8dp"
|
|
|
|
android:textAppearance="@style/TextAppearance.AppCompat.Caption"
|
2020-10-24 09:10:21 +00:00
|
|
|
tools:text="2020-01-01 12:00:00" />
|
2020-07-01 17:08:28 +00:00
|
|
|
|
2020-10-24 09:10:21 +00:00
|
|
|
<!--<androidx.appcompat.widget.AppCompatImageView-->
|
|
|
|
<!-- android:id="@+id/btnMute"-->
|
|
|
|
<!-- android:layout_width="wrap_content"-->
|
|
|
|
<!-- android:layout_height="match_parent"-->
|
|
|
|
<!-- android:background="?selectableItemBackgroundBorderless"-->
|
|
|
|
<!-- android:padding="4dp"-->
|
|
|
|
<!-- android:visibility="gone"-->
|
|
|
|
<!-- app:srcCompat="@drawable/ic_volume_up_24"-->
|
|
|
|
<!-- app:tint="?android:textColorPrimary"-->
|
|
|
|
<!-- tools:visibility="visible" />-->
|
2020-07-01 17:08:28 +00:00
|
|
|
|
2020-08-29 08:01:42 +00:00
|
|
|
<androidx.appcompat.widget.AppCompatImageView
|
|
|
|
android:id="@+id/btnDownload"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
android:background="?selectableItemBackgroundBorderless"
|
|
|
|
android:padding="4dp"
|
|
|
|
app:srcCompat="@drawable/ic_download"
|
|
|
|
app:tint="?android:textColorPrimary" />
|
|
|
|
</LinearLayout>
|
2020-07-01 17:08:28 +00:00
|
|
|
|
2020-10-24 09:10:21 +00:00
|
|
|
<awais.instagrabber.customviews.RamboTextViewV2
|
|
|
|
android:id="@+id/viewerCaption"
|
2020-07-01 17:08:28 +00:00
|
|
|
android:layout_width="match_parent"
|
2020-10-24 09:10:21 +00:00
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:background="?android:selectableItemBackground"
|
|
|
|
android:clickable="true"
|
|
|
|
android:clipToPadding="false"
|
|
|
|
android:ellipsize="end"
|
|
|
|
android:focusable="true"
|
|
|
|
android:maxLines="5"
|
|
|
|
android:paddingStart="8dp"
|
|
|
|
android:paddingLeft="8dp"
|
|
|
|
android:paddingEnd="8dp"
|
|
|
|
android:paddingRight="8dp"
|
|
|
|
android:paddingBottom="8dp"
|
|
|
|
android:textAppearance="@style/TextAppearance.AppCompat.Body1"
|
|
|
|
tools:text="Bottom text with hashtags etc." />
|
2020-08-29 08:01:42 +00:00
|
|
|
</LinearLayout>
|