2020-07-01 17:08:28 +00:00
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
|
|
|
<RelativeLayout 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="wrap_content">
|
|
|
|
|
|
|
|
<LinearLayout
|
|
|
|
android:id="@+id/btnComments"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="48dp"
|
|
|
|
android:layout_alignParentStart="true"
|
|
|
|
android:layout_alignParentLeft="true"
|
|
|
|
android:background="?android:selectableItemBackground"
|
|
|
|
android:orientation="horizontal">
|
|
|
|
|
|
|
|
<androidx.appcompat.widget.AppCompatImageView
|
2020-08-07 21:02:31 +00:00
|
|
|
android:layout_width="32dp"
|
2020-07-01 17:08:28 +00:00
|
|
|
android:layout_height="48dp"
|
2020-08-24 15:05:54 +00:00
|
|
|
android:layout_marginStart="4dp"
|
|
|
|
android:layout_marginLeft="4dp"
|
2020-07-01 17:08:28 +00:00
|
|
|
app:srcCompat="@drawable/comments" />
|
|
|
|
|
|
|
|
<androidx.appcompat.widget.AppCompatTextView
|
|
|
|
android:id="@+id/commentsCount"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
android:gravity="center_vertical"
|
2020-08-07 21:02:31 +00:00
|
|
|
android:padding="2dp"
|
2020-07-01 17:08:28 +00:00
|
|
|
android:textAppearance="@style/TextAppearance.AppCompat.Medium"
|
|
|
|
android:textColor="?android:textColorPrimary"
|
|
|
|
tools:text="690000" />
|
|
|
|
</LinearLayout>
|
|
|
|
|
|
|
|
<LinearLayout
|
2020-08-24 15:05:54 +00:00
|
|
|
android:id="@+id/videoViewsContainer"
|
2020-07-01 17:08:28 +00:00
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="48dp"
|
|
|
|
android:layout_toEndOf="@id/btnComments"
|
|
|
|
android:layout_toRightOf="@id/btnComments"
|
|
|
|
android:orientation="horizontal">
|
|
|
|
|
|
|
|
<androidx.appcompat.widget.AppCompatImageView
|
2020-08-07 21:02:31 +00:00
|
|
|
android:layout_width="32dp"
|
2020-07-01 17:08:28 +00:00
|
|
|
android:layout_height="48dp"
|
|
|
|
app:srcCompat="@drawable/video_views" />
|
|
|
|
|
|
|
|
<androidx.appcompat.widget.AppCompatTextView
|
|
|
|
android:id="@+id/tvVideoViews"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
android:gravity="center_vertical"
|
2020-08-07 21:02:31 +00:00
|
|
|
android:padding="2dp"
|
2020-07-01 17:08:28 +00:00
|
|
|
android:textAppearance="@style/TextAppearance.AppCompat.Medium"
|
|
|
|
android:textColor="?android:textColorPrimary"
|
|
|
|
tools:text="690000" />
|
|
|
|
</LinearLayout>
|
|
|
|
|
|
|
|
<LinearLayout
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="48dp"
|
|
|
|
android:layout_alignEnd="@id/btnMute"
|
|
|
|
android:layout_alignRight="@id/btnMute"
|
|
|
|
android:layout_marginEnd="48dp"
|
|
|
|
android:layout_marginRight="48dp"
|
2020-08-24 15:05:54 +00:00
|
|
|
android:layout_toEndOf="@id/videoViewsContainer"
|
|
|
|
android:layout_toRightOf="@id/videoViewsContainer">
|
2020-07-01 17:08:28 +00:00
|
|
|
|
|
|
|
<View
|
|
|
|
android:layout_width="1dip"
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
android:layout_marginStart="2dp"
|
|
|
|
android:layout_marginLeft="2dp"
|
|
|
|
android:layout_marginEnd="2dp"
|
|
|
|
android:layout_marginRight="2dp"
|
|
|
|
android:background="?android:attr/dividerVertical" />
|
|
|
|
|
|
|
|
<androidx.appcompat.widget.AppCompatTextView
|
|
|
|
android:id="@+id/tvPostDate"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
android:gravity="center_vertical"
|
|
|
|
android:padding="4dp"
|
|
|
|
android:textAppearance="@style/TextAppearance.AppCompat.Medium"
|
|
|
|
android:textColor="?android:textColorPrimary"
|
|
|
|
tools:text="690000" />
|
|
|
|
</LinearLayout>
|
|
|
|
|
|
|
|
<androidx.appcompat.widget.AppCompatImageView
|
|
|
|
android:id="@+id/btnMute"
|
|
|
|
android:layout_width="48dp"
|
|
|
|
android:layout_height="48dp"
|
|
|
|
android:layout_alignWithParentIfMissing="true"
|
|
|
|
android:layout_toStartOf="@id/btnDownload"
|
|
|
|
android:layout_toLeftOf="@id/btnDownload"
|
|
|
|
android:background="?selectableItemBackgroundBorderless"
|
|
|
|
android:padding="8dp"
|
|
|
|
android:visibility="gone"
|
|
|
|
app:srcCompat="@drawable/vol" />
|
|
|
|
|
|
|
|
<androidx.appcompat.widget.AppCompatImageView
|
|
|
|
android:id="@+id/btnDownload"
|
|
|
|
android:layout_width="40dp"
|
|
|
|
android:layout_height="48dp"
|
|
|
|
android:layout_alignParentEnd="true"
|
|
|
|
android:layout_alignParentRight="true"
|
|
|
|
android:background="?selectableItemBackgroundBorderless"
|
|
|
|
android:padding="4dp"
|
|
|
|
app:srcCompat="@drawable/ic_download" />
|
|
|
|
|
|
|
|
<ScrollView
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
android:layout_below="@id/btnDownload"
|
|
|
|
android:isScrollContainer="true"
|
|
|
|
android:scrollbars="vertical"
|
|
|
|
android:scrollHorizontally="false">
|
|
|
|
|
|
|
|
<FrameLayout
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:background="?android:selectableItemBackground"
|
|
|
|
android:clickable="true"
|
|
|
|
android:focusable="true">
|
|
|
|
|
|
|
|
<awais.instagrabber.customviews.RamboTextView
|
|
|
|
android:id="@+id/viewerCaption"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
android:background="?android:selectableItemBackground"
|
|
|
|
android:clipToPadding="false"
|
|
|
|
android:padding="12dp"
|
|
|
|
android:textAppearance="@style/TextAppearance.AppCompat.Body1"
|
|
|
|
android:textSize="16sp"
|
2020-08-24 15:05:54 +00:00
|
|
|
tools:text="BOTTOM TEXT" />
|
2020-07-01 17:08:28 +00:00
|
|
|
</FrameLayout>
|
|
|
|
</ScrollView>
|
|
|
|
</RelativeLayout>
|