1
0
mirror of https://github.com/KokaKiwi/BarInsta synced 2024-11-15 19:27:31 +00:00
BarInsta/app/src/main/res/layout/item_feed_top.xml

63 lines
2.5 KiB
XML
Raw Normal View History

2020-07-01 17:08:28 +00:00
<?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"
2020-08-29 08:01:42 +00:00
xmlns:tools="http://schemas.android.com/tools"
2020-07-01 17:08:28 +00:00
android:id="@+id/container"
android:layout_width="match_parent"
android:layout_height="wrap_content"
2020-08-29 08:01:42 +00:00
android:orientation="horizontal"
android:padding="8dp">
2020-07-01 17:08:28 +00:00
<com.facebook.drawee.view.SimpleDraweeView
2020-07-01 17:08:28 +00:00
android:id="@+id/ivProfilePic"
2020-10-17 10:07:03 +00:00
android:layout_width="@dimen/profile_pic_size_regular"
android:layout_height="@dimen/profile_pic_size_regular"
2020-08-29 08:01:42 +00:00
android:background="?selectableItemBackgroundBorderless"
app:roundAsCircle="true" />
2020-07-01 17:08:28 +00:00
2020-07-27 19:48:26 +00:00
<RelativeLayout
android:id="@+id/infoContainer"
android:layout_width="0dp"
2020-07-01 17:08:28 +00:00
android:layout_height="match_parent"
android:layout_weight="1"
2020-07-27 19:48:26 +00:00
android:animateLayoutChanges="true"
android:background="@null"
android:gravity="center"
2020-07-27 19:48:26 +00:00
android:orientation="vertical"
2020-08-29 08:01:42 +00:00
android:paddingStart="8dp"
android:paddingLeft="8dp"
android:paddingEnd="8dp"
android:paddingRight="8dp"
android:weightSum="2">
2020-07-27 19:48:26 +00:00
<androidx.appcompat.widget.AppCompatTextView
2020-07-27 19:48:26 +00:00
android:id="@+id/title"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:gravity="center_vertical"
2020-08-29 08:01:42 +00:00
android:textAppearance="@style/TextAppearance.AppCompat.Medium"
tools:text="username" />
2020-07-27 19:48:26 +00:00
<androidx.appcompat.widget.AppCompatTextView
2020-07-27 19:48:26 +00:00
android:id="@+id/location"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_below="@+id/title"
android:ellipsize="end"
2020-07-27 19:48:26 +00:00
android:gravity="center_vertical"
android:maxLines="1"
2020-08-29 08:01:42 +00:00
android:textAppearance="@style/TextAppearance.AppCompat.Subhead"
android:textSize="15sp"
android:visibility="visible"
2020-08-29 08:01:42 +00:00
tools:text="location" />
2020-07-27 19:48:26 +00:00
</RelativeLayout>
2020-07-01 17:08:28 +00:00
<!--<androidx.appcompat.widget.AppCompatImageView-->
<!-- android:id="@+id/viewStoryPost"-->
<!-- android:layout_width="wrap_content"-->
<!-- android:layout_height="match_parent"-->
<!-- android:layout_gravity="center"-->
<!-- android:background="?selectableItemBackgroundBorderless"-->
<!-- app:srcCompat="@drawable/ic_open_in_new_24"-->
<!-- app:tint="?android:textColorPrimary" />-->
2020-07-01 17:08:28 +00:00
</LinearLayout>