mirror of
https://github.com/KokaKiwi/BarInsta
synced 2024-11-12 17:57:29 +00:00
60 lines
2.6 KiB
XML
60 lines
2.6 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<androidx.coordinatorlayout.widget.CoordinatorLayout 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">
|
|
|
|
<com.google.android.material.appbar.AppBarLayout
|
|
android:id="@+id/app_bar_layout"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content">
|
|
|
|
<com.google.android.material.appbar.CollapsingToolbarLayout
|
|
android:id="@+id/collapsing_toolbar_layout"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
app:contentScrim="?attr/toolbarColor"
|
|
app:layout_scrollFlags="scroll|exitUntilCollapsed">
|
|
|
|
<FrameLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
app:layout_collapseMode="parallax">
|
|
|
|
<com.facebook.drawee.view.SimpleDraweeView
|
|
android:id="@+id/cover"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="200dp"
|
|
app:actualImageScaleType="centerCrop"
|
|
tools:background="@mipmap/ic_launcher" />
|
|
|
|
<View
|
|
android:id="@+id/background"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent" />
|
|
</FrameLayout>
|
|
|
|
<androidx.appcompat.widget.Toolbar
|
|
android:id="@+id/toolbar"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="?attr/actionBarSize"
|
|
android:background="@null"
|
|
app:layout_collapseMode="pin" />
|
|
</com.google.android.material.appbar.CollapsingToolbarLayout>
|
|
</com.google.android.material.appbar.AppBarLayout>
|
|
|
|
<androidx.swiperefreshlayout.widget.SwipeRefreshLayout
|
|
android:id="@+id/swipe_refresh_layout"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
app:layout_behavior="@string/appbar_scrolling_view_behavior">
|
|
|
|
<awais.instagrabber.customviews.PostsRecyclerView
|
|
android:id="@+id/posts"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
android:clipToPadding="false" />
|
|
</androidx.swiperefreshlayout.widget.SwipeRefreshLayout>
|
|
</androidx.coordinatorlayout.widget.CoordinatorLayout> |