2023-02-06 13:44:27 -06:00
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
2023-07-08 17:11:55 -06:00
|
|
|
<FrameLayout xmlns:app="http://schemas.android.com/apk/res-auto"
|
|
|
|
|
xmlns:tools="http://schemas.android.com/tools"
|
2023-07-08 02:17:19 -06:00
|
|
|
android:id="@+id/main_container"
|
2023-02-06 13:44:27 -06:00
|
|
|
android:layout_width="match_parent"
|
2023-07-08 02:17:19 -06:00
|
|
|
android:layout_height="match_parent"
|
|
|
|
|
xmlns:android="http://schemas.android.com/apk/res/android">
|
|
|
|
|
<androidx.drawerlayout.widget.DrawerLayout
|
|
|
|
|
android:id="@+id/drawer_layout"
|
2023-02-06 13:44:27 -06:00
|
|
|
android:layout_width="match_parent"
|
2023-07-08 02:17:19 -06:00
|
|
|
android:layout_height="match_parent">
|
2023-02-06 13:44:27 -06:00
|
|
|
|
2023-07-08 02:17:19 -06:00
|
|
|
<androidx.coordinatorlayout.widget.CoordinatorLayout
|
2023-02-06 13:44:27 -06:00
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="match_parent"
|
2023-07-15 20:58:57 -06:00
|
|
|
tools:context=".home.FeedFragment">
|
2023-02-06 13:44:27 -06:00
|
|
|
|
2023-07-31 00:25:25 -06:00
|
|
|
<com.google.android.material.appbar.AppBarLayout
|
|
|
|
|
android:id="@+id/topAppBar_layout"
|
2023-07-08 02:17:19 -06:00
|
|
|
android:layout_width="match_parent"
|
2023-07-31 00:25:25 -06:00
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
app:liftOnScroll="true">
|
2023-02-11 23:41:23 -06:00
|
|
|
|
2023-07-31 00:25:25 -06:00
|
|
|
<com.google.android.material.appbar.MaterialToolbar
|
|
|
|
|
android:id="@+id/topAppBar"
|
2023-02-11 23:41:23 -06:00
|
|
|
android:layout_width="match_parent"
|
2023-07-31 00:25:25 -06:00
|
|
|
android:layout_height="?attr/actionBarSize"
|
|
|
|
|
android:theme="@style/Theme.Isolaatti"
|
|
|
|
|
app:navigationIcon="@drawable/baseline_menu_24"
|
|
|
|
|
app:navigationIconTint="@color/on_surface"
|
|
|
|
|
app:menu="@menu/new_menu"
|
|
|
|
|
app:title="@string/app_name"
|
|
|
|
|
app:titleCentered="true" />
|
2023-02-06 13:44:27 -06:00
|
|
|
|
|
|
|
|
|
2023-07-31 00:25:25 -06:00
|
|
|
</com.google.android.material.appbar.AppBarLayout>
|
2023-07-08 17:11:55 -06:00
|
|
|
|
2023-07-31 00:25:25 -06:00
|
|
|
<androidx.swiperefreshlayout.widget.SwipeRefreshLayout
|
|
|
|
|
android:id="@+id/swipe_to_refresh"
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
|
app:layout_behavior="com.google.android.material.appbar.AppBarLayout$ScrollingViewBehavior">
|
|
|
|
|
<androidx.recyclerview.widget.RecyclerView
|
|
|
|
|
android:id="@+id/feed_recycler_view"
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="match_parent" />
|
|
|
|
|
</androidx.swiperefreshlayout.widget.SwipeRefreshLayout>
|
2023-07-08 02:17:19 -06:00
|
|
|
|
2023-08-06 22:11:28 -06:00
|
|
|
|
|
|
|
|
|
2023-07-08 02:17:19 -06:00
|
|
|
</androidx.coordinatorlayout.widget.CoordinatorLayout>
|
|
|
|
|
|
|
|
|
|
<com.google.android.material.navigation.NavigationView
|
|
|
|
|
android:id="@+id/home_drawer"
|
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
|
android:layout_gravity="start"
|
|
|
|
|
app:headerLayout="@layout/header_drawer_home"
|
|
|
|
|
app:menu="@menu/home_drawer_menu" />
|
2023-02-06 13:44:27 -06:00
|
|
|
|
|
|
|
|
|
2023-07-08 02:17:19 -06:00
|
|
|
</androidx.drawerlayout.widget.DrawerLayout>
|
|
|
|
|
</FrameLayout>
|