mirror of
https://github.com/szkolny-eu/szkolny-android.git
synced 2025-04-02 06:44:27 +02:00

* 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
37 lines
1.2 KiB
XML
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>
|