forked from github/szkolny
107 lines
4.2 KiB
XML
107 lines
4.2 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<!--
|
|
~ Copyright (c) Kuba Szczodrzyński 2020-4-3.
|
|
-->
|
|
|
|
<layout xmlns:tools="http://schemas.android.com/tools"
|
|
xmlns:android="http://schemas.android.com/apk/res/android"
|
|
tools:ignore="HardcodedText">
|
|
|
|
<data>
|
|
<variable name="app" type="pl.szczodrzynski.edziennik.App"/>
|
|
</data>
|
|
|
|
<ScrollView
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent">
|
|
|
|
<LinearLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginHorizontal="8dp"
|
|
android:layout_marginVertical="8dp"
|
|
android:orientation="vertical">
|
|
|
|
<!--<com.google.android.material.tabs.TabLayout
|
|
android:id="@+id/tabLayout"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:background="@color/colorSurface_6dp"
|
|
app:tabIndicatorColor="?colorPrimary"
|
|
app:tabMode="auto"
|
|
app:tabSelectedTextColor="?colorPrimary"
|
|
app:tabTextColor="?android:textColorPrimary" />-->
|
|
|
|
<!--<pl.szczodrzynski.edziennik.ui.modules.base.lazypager.LazyViewPager
|
|
android:id="@+id/viewPager"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
app:layout_behavior="@string/appbar_scrolling_view_behavior" />-->
|
|
|
|
<Button
|
|
android:id="@+id/last10unseen"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:text="Set last 10 as unseen"
|
|
android:textAllCaps="false" />
|
|
|
|
<Button
|
|
android:id="@+id/fullSync"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginTop="24dp"
|
|
android:text="Full sync and empty profile"
|
|
android:textAllCaps="false" />
|
|
|
|
<Button
|
|
android:id="@+id/clearProfile"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginBottom="24dp"
|
|
android:text="Clear all profile data"
|
|
android:textAllCaps="false" />
|
|
|
|
<Button
|
|
android:id="@+id/rodo"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:text="Duh rodo button"
|
|
android:textAllCaps="false" />
|
|
|
|
<Button
|
|
android:id="@+id/removeHomework"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:text="Remove all homework body (null)"
|
|
android:textAllCaps="false" />
|
|
|
|
<TextView
|
|
android:id="@+id/cookies"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:fontFamily="monospace"
|
|
tools:text="Cookies:\n\nsynergia.librus.pl\n DZIENNIKSID=L01~1234567890abcdef"/>
|
|
|
|
<Button
|
|
android:id="@+id/unarchive"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginTop="24dp"
|
|
android:text="Unarchive this profile"
|
|
android:textAllCaps="false" />
|
|
|
|
<pl.szczodrzynski.edziennik.utils.TextInputDropDown
|
|
android:id="@+id/profile"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
style="@style/Widget.MaterialComponents.TextInputLayout.OutlinedBox" />
|
|
|
|
<com.google.android.material.checkbox.MaterialCheckBox
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:checked="@={app.config.archiverEnabled}"
|
|
android:text="Archiver enabled" />
|
|
</LinearLayout>
|
|
</ScrollView>
|
|
</layout>
|