mirror of
https://github.com/KokaKiwi/BarInsta
synced 2024-11-08 15:57:29 +00:00
61 lines
2.4 KiB
XML
61 lines
2.4 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"
|
|
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" />
|
|
|
|
<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:text="@string/app_name"
|
|
android:textColor="?android:textColorPrimary" />
|
|
|
|
<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" />
|
|
|
|
<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> |