2020-08-29 08:01:42 +00:00
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
2021-05-07 11:34:31 +00:00
|
|
|
<androidx.constraintlayout.motion.widget.MotionLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
2020-08-29 08:01:42 +00:00
|
|
|
xmlns:app="http://schemas.android.com/apk/res-auto"
|
|
|
|
xmlns:tools="http://schemas.android.com/tools"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="match_parent"
|
2021-05-07 11:34:31 +00:00
|
|
|
android:background="?attr/colorSurface"
|
|
|
|
app:layoutDescription="@xml/header_list_scene">
|
2020-08-29 08:01:42 +00:00
|
|
|
|
2021-05-07 11:34:31 +00:00
|
|
|
<include
|
|
|
|
android:id="@+id/header"
|
|
|
|
layout="@layout/layout_profile_details"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
app:layout_constraintBottom_toTopOf="@id/swipe_refresh_layout"
|
|
|
|
app:layout_constraintTop_toTopOf="parent" />
|
2020-08-29 08:01:42 +00:00
|
|
|
|
|
|
|
<androidx.swiperefreshlayout.widget.SwipeRefreshLayout
|
2020-10-27 11:33:21 +00:00
|
|
|
android:id="@+id/swipe_refresh_layout"
|
2020-08-29 08:01:42 +00:00
|
|
|
android:layout_width="match_parent"
|
2021-05-07 11:34:31 +00:00
|
|
|
android:layout_height="0dp"
|
|
|
|
app:layout_behavior="@string/appbar_scrolling_view_behavior"
|
|
|
|
app:layout_constraintBottom_toBottomOf="parent"
|
|
|
|
app:layout_constraintTop_toBottomOf="@id/header">
|
2020-08-29 08:01:42 +00:00
|
|
|
|
2020-10-27 11:33:21 +00:00
|
|
|
<awais.instagrabber.customviews.PostsRecyclerView
|
|
|
|
android:id="@+id/posts_recycler_view"
|
2020-08-29 08:01:42 +00:00
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
android:clipToPadding="false"
|
2021-05-07 11:34:31 +00:00
|
|
|
android:paddingBottom="?attr/actionBarSize"
|
2020-10-27 11:33:21 +00:00
|
|
|
tools:listitem="@layout/item_feed_photo" />
|
2020-08-29 08:01:42 +00:00
|
|
|
</androidx.swiperefreshlayout.widget.SwipeRefreshLayout>
|
|
|
|
|
|
|
|
<LinearLayout
|
|
|
|
android:id="@+id/privatePage"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
2020-11-30 17:29:41 +00:00
|
|
|
android:layout_gravity="top"
|
2020-08-29 08:01:42 +00:00
|
|
|
android:layout_marginTop="@dimen/private_page_margins"
|
|
|
|
android:gravity="center"
|
|
|
|
android:orientation="vertical"
|
2020-09-12 07:51:22 +00:00
|
|
|
android:visibility="gone"
|
2020-11-30 17:29:41 +00:00
|
|
|
tools:visibility="visible">
|
2020-08-29 08:01:42 +00:00
|
|
|
|
|
|
|
<androidx.appcompat.widget.AppCompatImageView
|
|
|
|
android:id="@+id/privatePage1"
|
2021-03-27 02:24:00 +00:00
|
|
|
android:layout_width="@dimen/private_page_size"
|
|
|
|
android:layout_height="@dimen/private_page_size"
|
2020-08-29 08:01:42 +00:00
|
|
|
app:srcCompat="@drawable/lock" />
|
|
|
|
|
|
|
|
<androidx.appcompat.widget.AppCompatTextView
|
|
|
|
android:id="@+id/privatePage2"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:gravity="center"
|
|
|
|
android:text="@string/priv_acc"
|
|
|
|
android:textAppearance="@style/TextAppearance.AppCompat.Large" />
|
|
|
|
</LinearLayout>
|
2021-05-07 11:34:31 +00:00
|
|
|
</androidx.constraintlayout.motion.widget.MotionLayout>
|