mirror of
https://github.com/KokaKiwi/BarInsta
synced 2024-11-15 11:17:30 +00:00
39 lines
1.8 KiB
XML
39 lines
1.8 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<androidx.constraintlayout.motion.widget.MotionLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
|
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">
|
|
|
|
<androidx.recyclerview.widget.RecyclerView
|
|
android:id="@+id/header"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:background="?attr/toolbarColor"
|
|
android:clipToPadding="false"
|
|
android:orientation="horizontal"
|
|
app:layout_constraintBottom_toTopOf="@id/feed_swipe_refresh_layout"
|
|
app:layout_constraintTop_toTopOf="parent"
|
|
tools:layoutManager="androidx.recyclerview.widget.LinearLayoutManager"
|
|
tools:listitem="@layout/item_highlight" />
|
|
|
|
<androidx.swiperefreshlayout.widget.SwipeRefreshLayout
|
|
android:id="@+id/feed_swipe_refresh_layout"
|
|
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">
|
|
|
|
<awais.instagrabber.customviews.PostsRecyclerView
|
|
android:id="@+id/feed_recycler_view"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
android:clipToPadding="false"
|
|
tools:listitem="@layout/item_feed_grid" />
|
|
</androidx.swiperefreshlayout.widget.SwipeRefreshLayout>
|
|
</androidx.constraintlayout.motion.widget.MotionLayout> |