mirror of
https://github.com/KokaKiwi/BarInsta
synced 2024-11-08 15:57:29 +00:00
bdcb32395b
Use new download flow. Fix blank space at top when scrolling. Fix animated media.
64 lines
2.6 KiB
XML
64 lines
2.6 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<LinearLayout 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"
|
|
android:orientation="horizontal">
|
|
|
|
<awais.instagrabber.customviews.CircularImageView
|
|
android:id="@+id/ivProfilePic"
|
|
android:layout_width="@dimen/profile_pic_size_regular"
|
|
android:layout_height="@dimen/profile_pic_size_regular"
|
|
android:layout_gravity="top|start"
|
|
android:layout_marginStart="4dp"
|
|
android:layout_marginEnd="4dp"
|
|
tools:background="@mipmap/ic_launcher" />
|
|
|
|
<LinearLayout
|
|
android:id="@+id/content_container"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_margin="4dp"
|
|
android:gravity="end"
|
|
android:orientation="vertical">
|
|
|
|
<androidx.appcompat.widget.AppCompatTextView
|
|
android:id="@+id/tvUsername"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:ellipsize="end"
|
|
android:singleLine="true"
|
|
android:textColor="?android:textColorPrimary"
|
|
tools:text="@string/app_name" />
|
|
|
|
<androidx.cardview.widget.CardView
|
|
android:id="@+id/messageCard"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:foreground="?android:selectableItemBackground"
|
|
app:cardCornerRadius="@dimen/dm_message_card_radius"
|
|
app:cardElevation="2dp"
|
|
app:cardUseCompatPadding="true"
|
|
tools:background="@mipmap/ic_launcher" />
|
|
|
|
<androidx.cardview.widget.CardView
|
|
android:id="@+id/liked_container"
|
|
android:layout_width="50dp"
|
|
android:layout_height="50dp"
|
|
android:layout_marginTop="-25dp"
|
|
android:layout_marginEnd="-10dp"
|
|
app:cardCornerRadius="25dp"
|
|
app:cardElevation="4dp"
|
|
app:cardUseCompatPadding="true">
|
|
|
|
<androidx.appcompat.widget.AppCompatImageView
|
|
android:id="@+id/liked"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
android:padding="4dp"
|
|
app:srcCompat="@drawable/ic_like"
|
|
app:tint="@color/btn_red_background" />
|
|
</androidx.cardview.widget.CardView>
|
|
</LinearLayout>
|
|
</LinearLayout> |