Infinity-For-Lemmy/app/src/main/res/layout/activity_main.xml

32 lines
1.2 KiB
XML
Raw Normal View History

2018-07-26 17:04:44 +02:00
<?xml version="1.0" encoding="utf-8"?>
2019-02-21 10:24:23 +01:00
<androidx.drawerlayout.widget.DrawerLayout xmlns:android="http://schemas.android.com/apk/res/android"
2018-07-26 17:04:44 +02:00
xmlns:tools="http://schemas.android.com/tools"
android:id="@+id/drawer_layout"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:fitsSystemWindows="true"
2019-10-03 14:31:55 +02:00
android:background="?attr/backgroundColor"
2018-07-26 17:04:44 +02:00
tools:openDrawer="start">
<include
layout="@layout/app_bar_main"
android:layout_width="match_parent"
android:layout_height="match_parent" />
<com.google.android.material.navigation.NavigationView
android:layout_width="wrap_content"
android:layout_height="match_parent"
2019-10-03 14:31:55 +02:00
android:layout_gravity="start"
android:background="?attr/backgroundColor">
<androidx.recyclerview.widget.RecyclerView
android:id="@+id/nav_drawer_recycler_view_main_activity"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:scrollbars="vertical"
android:clipToPadding="false" />
</com.google.android.material.navigation.NavigationView>
2018-07-26 17:04:44 +02:00
2019-02-21 10:24:23 +01:00
</androidx.drawerlayout.widget.DrawerLayout>