szkolnyplus/app/src/main/res/layout/activity_szkolny.xml

54 lines
1.9 KiB
XML
Raw Normal View History

<?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">
2019-12-15 21:27:50 +01:00
<FrameLayout
android:id="@+id/rootFrame"
android:layout_width="match_parent"
2019-12-15 21:27:50 +01:00
android:layout_height="match_parent">
2019-12-15 21:27:50 +01:00
<pl.szczodrzynski.navlib.NavView
android:id="@+id/navView"
android:layout_width="match_parent"
2019-12-15 21:27:50 +01:00
android:layout_height="match_parent"
android:animateLayoutChanges="true">
2019-12-15 21:27:50 +01:00
<pl.szczodrzynski.edziennik.utils.SwipeRefreshLayoutNoTouch
android:id="@+id/swipeRefreshLayout"
android:layout_width="match_parent"
android:layout_height="match_parent">
2019-12-15 21:27:50 +01:00
<FrameLayout
android:id="@+id/fragment"
android:layout_width="match_parent"
android:layout_height="match_parent">
2019-12-15 21:27:50 +01:00
<include layout="@layout/fragment_loading" />
</FrameLayout>
2019-12-15 21:27:50 +01:00
</pl.szczodrzynski.edziennik.utils.SwipeRefreshLayoutNoTouch>
</pl.szczodrzynski.navlib.NavView>
<TextView
android:id="@+id/nightlyText"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="bottom|end"
android:layout_marginHorizontal="48dp"
android:layout_marginVertical="8dp"
android:background="@drawable/bg_rounded_4dp"
android:backgroundTint="#a0ff0000"
android:fontFamily="sans-serif-light"
android:gravity="center"
android:padding="4dp"
android:textAllCaps="true"
android:textSize="12sp"
android:textStyle="bold"
tools:text="Nightly\n20200503" />
2019-12-15 21:27:50 +01:00
</FrameLayout>
</layout>