szkolny/app/src/main/res/layout/activity_szkolny.xml
Kuba Szczodrzyński 10043cc62c
Some checks failed
Schedule/dispatch / Build nightly release (APK) (push) Has been skipped
Schedule/dispatch / Check new changes (push) Failing after 20s
[UI] Migrate to base fragment classes, restructure base modules (#206)
* Replace android:visibility with android:isVisible

* Move base dialogs and views to .ui.base

* Move uncategorized classes to ui.main

* Fix view classes in XML

* Add BaseFragment, use for LazyFragment

* Migrate fragments to BaseFragment

* Move activity setup from BaseFragment, recreate Job on attach

* Move BaseFragment initialization to onResume

* Add base PagerFragment, add TemplateFragment to drawer

* Support swipe-to-refresh in base fragments

* Remove SwipeRefreshLayout split implementation

* Rename onViewCreated to onViewReady

* Remove LazyFragment

* Save page selection in PagerFragment, migrate AttendanceFragment

* Migrate fragments to PagerFragment

* Migrate contributors to a fragment

* Migrate TimetableFragment to PagerFragment

* Fix disabling SwipeToRefresh on page scroll

* Fix crash in CrashActivity
2024-07-04 22:14:52 +02:00

37 lines
1.2 KiB
XML

<?xml version="1.0" encoding="utf-8"?>
<layout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
tools:context=".MainActivity"
tools:theme="@style/AppTheme.Black">
<FrameLayout
android:id="@+id/rootFrame"
android:layout_width="match_parent"
android:layout_height="match_parent">
<pl.szczodrzynski.navlib.NavView
android:id="@+id/navView"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:animateLayoutChanges="true">
<androidx.swiperefreshlayout.widget.SwipeRefreshLayout
android:id="@+id/swipeRefreshLayout"
android:layout_width="match_parent"
android:layout_height="match_parent">
<FrameLayout
android:id="@+id/fragment"
android:layout_width="match_parent"
android:layout_height="match_parent">
<include layout="@layout/fragment_loading" />
</FrameLayout>
</androidx.swiperefreshlayout.widget.SwipeRefreshLayout>
</pl.szczodrzynski.navlib.NavView>
</FrameLayout>
</layout>