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

61 lines
2.4 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"
android:layout_width="@dimen/feed_profile_size"
android:layout_height="@dimen/feed_profile_size"
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: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
<awais.instagrabber.customviews.RamboTextView
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"
2020-07-27 19:48:26 +00:00
android:textColor="@color/feed_text_primary_color"
2020-08-29 08:01:42 +00:00
tools:text="username" />
2020-07-27 19:48:26 +00:00
<awais.instagrabber.customviews.RamboTextView
android:id="@+id/location"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_below="@+id/title"
android:gravity="center_vertical"
2020-08-29 08:01:42 +00:00
android:textAppearance="@style/TextAppearance.AppCompat.Subhead"
2020-07-27 19:48:26 +00:00
android:textColor="@color/feed_text_primary_color"
2020-08-30 14:06:15 +00:00
android:textSize="15sp" />
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"
2020-08-29 08:01:42 +00:00
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:layout_gravity="center"
2020-07-01 17:08:28 +00:00
android:background="?selectableItemBackgroundBorderless"
2020-08-29 08:01:42 +00:00
app:srcCompat="@drawable/ic_open_in_new_24"
app:tint="?android:textColorPrimary" />
2020-07-01 17:08:28 +00:00
</LinearLayout>