2019-09-18 22:29:09 +02:00
|
|
|
<?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=".HomeFragment">
|
|
|
|
|
|
|
|
<pl.szczodrzynski.edziennik.utils.SwipeRefreshLayoutNoIndicator
|
|
|
|
android:id="@+id/refreshLayout"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="match_parent">
|
|
|
|
<ScrollView
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="match_parent">
|
|
|
|
|
|
|
|
<LinearLayout
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:orientation="vertical"
|
2019-09-28 14:37:05 +02:00
|
|
|
tools:context=".ui.modules.home.HomeFragment">
|
2019-09-18 22:29:09 +02:00
|
|
|
|
|
|
|
<LinearLayout
|
|
|
|
android:id="@+id/cardInsertPoint"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:orientation="vertical" />
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:id="@+id/nextSync"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_margin="8dp"
|
|
|
|
tools:text="TextView" />
|
|
|
|
|
2019-11-03 15:01:12 +01:00
|
|
|
<LinearLayout
|
|
|
|
android:id="@+id/devMode"
|
2019-09-18 22:29:09 +02:00
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:visibility="gone"
|
2019-11-03 15:01:12 +01:00
|
|
|
android:orientation="vertical"
|
2019-11-05 21:42:16 +01:00
|
|
|
tools:visibility="visible"
|
|
|
|
tools:ignore="HardcodedText">
|
|
|
|
|
2019-11-06 22:49:26 +01:00
|
|
|
<com.google.android.material.button.MaterialButton
|
|
|
|
android:id="@+id/getLogs"
|
|
|
|
style="@style/Widget.MaterialComponents.Button"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_margin="8dp"
|
|
|
|
android:text="Save Debug Logs" />
|
|
|
|
|
2019-11-05 21:42:16 +01:00
|
|
|
<com.google.android.material.button.MaterialButton
|
|
|
|
android:id="@+id/librusCaptchaButton"
|
|
|
|
style="@style/Widget.MaterialComponents.Button"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_margin="8dp"
|
|
|
|
android:text="Librus Captcha" />
|
|
|
|
|
|
|
|
<com.google.android.material.button.MaterialButton
|
|
|
|
android:id="@+id/runChucker"
|
|
|
|
style="@style/Widget.MaterialComponents.Button"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_margin="8dp"
|
|
|
|
android:text="Launch Chucker" />
|
|
|
|
|
2019-11-03 15:01:12 +01:00
|
|
|
<LinearLayout
|
|
|
|
android:layout_width="match_parent"
|
2019-11-05 21:42:16 +01:00
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:gravity="center">
|
|
|
|
|
2019-11-03 15:01:12 +01:00
|
|
|
<com.google.android.material.button.MaterialButton
|
|
|
|
android:id="@+id/mobidziennikMessagesSwitch"
|
|
|
|
style="@style/Widget.MaterialComponents.Button.OutlinedButton"
|
2019-11-05 21:42:16 +01:00
|
|
|
android:layout_width="0dp"
|
2019-11-03 15:01:12 +01:00
|
|
|
android:layout_height="wrap_content"
|
2019-11-05 21:42:16 +01:00
|
|
|
android:layout_margin="8dp"
|
|
|
|
android:layout_weight="1"
|
2019-11-03 15:01:12 +01:00
|
|
|
android:text="Zmień moduł wiadomości" />
|
2019-09-18 22:29:09 +02:00
|
|
|
|
2019-11-03 15:01:12 +01:00
|
|
|
<com.google.android.material.button.MaterialButton
|
|
|
|
android:id="@+id/composeButton"
|
|
|
|
style="@style/Widget.MaterialComponents.Button"
|
2019-11-05 21:42:16 +01:00
|
|
|
android:layout_width="0dp"
|
2019-11-03 15:01:12 +01:00
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_margin="8dp"
|
2019-11-05 21:42:16 +01:00
|
|
|
android:layout_weight="1"
|
2019-11-03 15:01:12 +01:00
|
|
|
android:text="Compose" />
|
|
|
|
</LinearLayout>
|
2019-09-18 22:29:09 +02:00
|
|
|
|
2019-11-03 15:01:12 +01:00
|
|
|
<com.google.android.material.button.MaterialButton
|
|
|
|
android:id="@+id/pruneWorkButton"
|
|
|
|
style="@style/Widget.MaterialComponents.Button"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_margin="8dp"
|
|
|
|
android:text="Prune finished work" />
|
|
|
|
</LinearLayout>
|
2019-09-18 22:29:09 +02:00
|
|
|
</LinearLayout>
|
|
|
|
</ScrollView>
|
|
|
|
</pl.szczodrzynski.edziennik.utils.SwipeRefreshLayoutNoIndicator>
|
2019-09-28 14:37:05 +02:00
|
|
|
</layout>
|