isolaatti-android/app/src/main/res/layout/fragment_feed.xml

75 lines
3.2 KiB
XML
Raw Normal View History

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-08 02:17:19 -06:00
tools:context=".feed.ui.FeedFragment">
2023-02-06 13:44:27 -06:00
2023-02-11 23:41:23 -06:00
2023-07-08 02:17:19 -06:00
<FrameLayout
android:layout_width="match_parent"
android:layout_height="match_parent"
2023-07-08 17:11:55 -06:00
android:layout_marginBottom="0dp">
2023-02-11 23:41:23 -06:00
2023-07-08 02:17:19 -06:00
<LinearLayout
2023-02-11 23:41:23 -06:00
android:layout_width="match_parent"
2023-07-08 02:17:19 -06:00
android:layout_height="match_parent"
android:orientation="vertical">
2023-07-08 17:11:55 -06:00
2023-07-08 02:17:19 -06:00
<com.google.android.material.appbar.AppBarLayout
android:id="@+id/topAppBar_layout"
2023-02-11 23:41:23 -06:00
android:layout_width="match_parent"
2023-07-08 02:17:19 -06:00
android:layout_height="wrap_content">
2023-02-11 23:41:23 -06:00
2023-07-08 02:17:19 -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-08 02:17:19 -06:00
android:layout_height="?attr/actionBarSize"
2023-07-08 17:11:55 -06:00
android:theme="@style/Theme.Isolaatti"
2023-07-08 02:17:19 -06:00
app:navigationIcon="@drawable/baseline_menu_24"
2023-07-08 17:11:55 -06:00
app:navigationIconTint="@color/on_surface"
app:title="@string/app_name"
app:titleCentered="true" />
2023-02-06 13:44:27 -06:00
2023-07-08 02:17:19 -06:00
</com.google.android.material.appbar.AppBarLayout>
2023-07-08 17:11:55 -06:00
2023-07-08 02:17:19 -06:00
<androidx.recyclerview.widget.RecyclerView
android:id="@+id/feed_recycler_view"
android:layout_width="match_parent"
android:layout_height="match_parent" />
</LinearLayout>
<com.google.android.material.floatingactionbutton.FloatingActionButton
android:id="@+id/floating_action_button"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="bottom|end"
android:layout_margin="16dp"
android:contentDescription=""
app:srcCompat="@drawable/baseline_add_24" />
</FrameLayout>
</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>