1
0
mirror of https://github.com/KokaKiwi/BarInsta synced 2024-11-14 02:37:30 +00:00
BarInsta/app/src/main/res/layout/item_feed_bottom.xml

124 lines
5.0 KiB
XML
Raw Normal View History

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-08-29 08:01:42 +00:00
<LinearLayout
android:id="@+id/videoViewsContainer"
2020-07-01 17:08:28 +00:00
android:layout_width="wrap_content"
android:layout_height="match_parent"
2020-08-29 08:01:42 +00:00
android:gravity="center"
android:orientation="horizontal">
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_views_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/tvVideoViews"
android:layout_width="wrap_content"
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
<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-07-01 17:08:28 +00:00
tools:text="690000" />
2020-08-29 08:01:42 +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="visible"
app:srcCompat="@drawable/ic_volume_up_24"
app:tint="?android:textColorPrimary" />
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
<ScrollView
android:layout_width="match_parent"
2020-08-29 08:01:42 +00:00
android:layout_height="0dp"
android:layout_weight="1"
2020-07-01 17:08:28 +00:00
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"
2020-08-29 08:01:42 +00:00
android:paddingStart="8dp"
android:paddingLeft="8dp"
android:paddingEnd="8dp"
android:paddingRight="8dp"
android:paddingBottom="8dp"
2020-07-01 17:08:28 +00:00
android:textAppearance="@style/TextAppearance.AppCompat.Body1"
tools:text="BOTTOM TEXT" />
2020-07-01 17:08:28 +00:00
</FrameLayout>
</ScrollView>
2020-08-29 08:01:42 +00:00
</LinearLayout>