forked from github/szkolny
54 lines
1.9 KiB
XML
54 lines
1.9 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">
|
|
|
|
<pl.szczodrzynski.edziennik.utils.SwipeRefreshLayoutNoTouch
|
|
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>
|
|
|
|
</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" />
|
|
</FrameLayout>
|
|
|
|
</layout>
|