90 lines
4.0 KiB
XML
90 lines
4.0 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<FrameLayout xmlns:app="http://schemas.android.com/apk/res-auto"
|
|
xmlns:tools="http://schemas.android.com/tools"
|
|
android:id="@+id/main_container"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
xmlns:android="http://schemas.android.com/apk/res/android">
|
|
|
|
<androidx.constraintlayout.widget.ConstraintLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent">
|
|
|
|
<androidx.coordinatorlayout.widget.CoordinatorLayout
|
|
android:layout_width="0dp"
|
|
android:layout_height="match_parent"
|
|
app:layout_constraintBottom_toBottomOf="parent"
|
|
app:layout_constraintEnd_toEndOf="parent"
|
|
app:layout_constraintStart_toEndOf="@+id/home_drawer"
|
|
app:layout_constraintTop_toTopOf="parent"
|
|
tools:context=".feed.ui.FeedFragment">
|
|
|
|
|
|
|
|
<FrameLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent">
|
|
|
|
<androidx.constraintlayout.widget.ConstraintLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
android:orientation="vertical"
|
|
android:id="@+id/linearLayout">
|
|
|
|
<com.google.android.material.appbar.AppBarLayout
|
|
android:id="@+id/topAppBar_layout"
|
|
android:layout_width="0dp"
|
|
android:layout_height="wrap_content"
|
|
app:layout_constraintEnd_toEndOf="parent"
|
|
app:layout_constraintStart_toStartOf="parent"
|
|
app:layout_constraintTop_toTopOf="parent"
|
|
tools:layout_conversion_absoluteHeight="64dp"
|
|
tools:layout_conversion_absoluteWidth="531dp">
|
|
|
|
<com.google.android.material.appbar.MaterialToolbar
|
|
android:id="@+id/topAppBar"
|
|
style="@style/Theme.Isolaatti"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
app:title="@string/app_name"
|
|
app:titleCentered="true"
|
|
tools:layout_conversion_absoluteHeight="64dp"
|
|
tools:layout_conversion_absoluteWidth="531dp"
|
|
tools:layout_editor_absoluteX="360dp"
|
|
tools:layout_editor_absoluteY="0dp" />
|
|
|
|
|
|
</com.google.android.material.appbar.AppBarLayout>
|
|
|
|
<androidx.recyclerview.widget.RecyclerView
|
|
android:id="@+id/feed_recycler_view"
|
|
android:layout_width="0dp"
|
|
android:layout_height="0dp"
|
|
app:layout_constraintBottom_toBottomOf="parent"
|
|
app:layout_constraintEnd_toEndOf="parent"
|
|
app:layout_constraintStart_toStartOf="parent"
|
|
app:layout_constraintTop_toBottomOf="@+id/topAppBar_layout"
|
|
tools:layout_conversion_absoluteHeight="242dp"
|
|
tools:layout_conversion_absoluteWidth="531dp" />
|
|
</androidx.constraintlayout.widget.ConstraintLayout>
|
|
|
|
</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:layout_constraintBottom_toBottomOf="parent"
|
|
app:layout_constraintStart_toStartOf="parent"
|
|
app:layout_constraintTop_toTopOf="parent"
|
|
app:menu="@menu/home_drawer_menu" />
|
|
|
|
|
|
</androidx.constraintlayout.widget.ConstraintLayout>
|
|
|
|
</FrameLayout>
|