1
0
mirror of https://github.com/KokaKiwi/BarInsta synced 2024-09-28 05:37:29 +00:00
BarInsta/app/src/main/res/layout/fragment_profile.xml

64 lines
2.7 KiB
XML
Raw Normal View History

2020-08-29 08:01:42 +00:00
<?xml version="1.0" encoding="utf-8"?>
<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"
android:background="?attr/colorSurface"
app:layoutDescription="@xml/header_list_scene">
2020-08-29 08:01:42 +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
android:id="@+id/swipe_refresh_layout"
2020-08-29 08:01:42 +00:00
android:layout_width="match_parent"
android:layout_height="0dp"
android:clipToPadding="false"
android:paddingBottom="?attr/actionBarSize"
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
<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"
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:gravity="center"
android:orientation="vertical"
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"
android:layout_width="@dimen/private_page_size"
android:layout_height="@dimen/private_page_size"
2021-05-14 19:00:31 +00:00
android:visibility="gone"
tools:visibility="visible"
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"
2021-05-14 19:00:31 +00:00
android:visibility="gone"
tools:visibility="visible"
2020-08-29 08:01:42 +00:00
android:text="@string/priv_acc"
android:textAppearance="@style/TextAppearance.AppCompat.Large" />
</LinearLayout>
</androidx.constraintlayout.motion.widget.MotionLayout>