mirror of
https://github.com/XFox111/GUTSchedule.git
synced 2026-04-22 06:58:01 +03:00
Added scroll viewer to main layout and rearranged some buttons
This commit is contained in:
@@ -1,161 +1,182 @@
|
|||||||
<?xml version="1.0" encoding="utf-8"?>
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
<ScrollView xmlns:android="http://schemas.android.com/apk/res/android"
|
||||||
xmlns:app="http://schemas.android.com/apk/res-auto"
|
xmlns:app="http://schemas.android.com/apk/res-auto"
|
||||||
xmlns:tools="http://schemas.android.com/tools"
|
xmlns:tools="http://schemas.android.com/tools"
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="match_parent"
|
android:layout_height="match_parent"
|
||||||
android:orientation="vertical"
|
|
||||||
app:layout_behavior="@string/appbar_scrolling_view_behavior"
|
app:layout_behavior="@string/appbar_scrolling_view_behavior"
|
||||||
android:padding="10dp">
|
android:paddingBottom="50dp">
|
||||||
|
|
||||||
<TextView
|
<LinearLayout
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:text="Параметры расписания"
|
android:orientation="vertical"
|
||||||
android:textStyle="bold"
|
android:layout_margin="10dp">
|
||||||
android:textSize="16dp"/>
|
|
||||||
|
|
||||||
<TextView
|
<TextView
|
||||||
android:layout_width="match_parent"
|
|
||||||
android:layout_height="wrap_content"
|
|
||||||
android:text="Факультет"/>
|
|
||||||
|
|
||||||
<Spinner
|
|
||||||
android:id="@+id/faculty"
|
|
||||||
android:layout_width="match_parent"
|
|
||||||
android:layout_height="wrap_content"/>
|
|
||||||
|
|
||||||
<TextView
|
|
||||||
android:layout_width="match_parent"
|
|
||||||
android:layout_height="wrap_content"
|
|
||||||
android:text="Курс"/>
|
|
||||||
|
|
||||||
<Spinner
|
|
||||||
android:id="@+id/course"
|
|
||||||
android:layout_width="match_parent"
|
|
||||||
android:layout_height="wrap_content"/>
|
|
||||||
|
|
||||||
<TextView
|
|
||||||
android:layout_width="match_parent"
|
|
||||||
android:layout_height="wrap_content"
|
|
||||||
android:text="Группа"/>
|
|
||||||
|
|
||||||
<Spinner
|
|
||||||
android:id="@+id/group"
|
|
||||||
android:layout_width="match_parent"
|
|
||||||
android:layout_height="wrap_content"/>
|
|
||||||
|
|
||||||
<TextView
|
|
||||||
android:layout_width="match_parent"
|
|
||||||
android:layout_height="wrap_content"
|
|
||||||
android:text="Параметры экспорта"
|
|
||||||
android:textStyle="bold"
|
|
||||||
android:textSize="16dp"/>
|
|
||||||
|
|
||||||
<TextView
|
|
||||||
android:layout_width="match_parent"
|
|
||||||
android:layout_height="wrap_content"
|
|
||||||
android:text="Диапазон экспорта"/>
|
|
||||||
|
|
||||||
<TableLayout
|
|
||||||
android:layout_width="match_parent"
|
|
||||||
android:layout_height="wrap_content"
|
|
||||||
android:stretchColumns="*"
|
|
||||||
android:shrinkColumns="*">
|
|
||||||
|
|
||||||
<TableRow
|
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="wrap_content">
|
android:layout_height="wrap_content"
|
||||||
|
android:text="Параметры расписания"
|
||||||
|
android:textStyle="bold"
|
||||||
|
android:textSize="16dp"/>
|
||||||
|
|
||||||
<Button
|
<TextView
|
||||||
android:id="@+id/start"
|
android:layout_width="match_parent"
|
||||||
android:layout_width="match_parent"
|
android:layout_height="wrap_content"
|
||||||
android:layout_height="wrap_content"
|
android:text="Факультет"/>
|
||||||
android:text="20-Dec-2019"/>
|
|
||||||
|
|
||||||
<LinearLayout
|
<Spinner
|
||||||
android:layout_width="match_parent"
|
android:id="@+id/faculty"
|
||||||
android:layout_height="wrap_content"
|
android:layout_width="match_parent"
|
||||||
android:orientation="vertical">
|
android:layout_height="wrap_content"/>
|
||||||
|
|
||||||
|
<TextView
|
||||||
|
android:layout_width="match_parent"
|
||||||
|
android:layout_height="wrap_content"
|
||||||
|
android:text="Курс"/>
|
||||||
|
|
||||||
|
<Spinner
|
||||||
|
android:id="@+id/course"
|
||||||
|
android:layout_width="match_parent"
|
||||||
|
android:layout_height="wrap_content"/>
|
||||||
|
|
||||||
|
<TextView
|
||||||
|
android:layout_width="match_parent"
|
||||||
|
android:layout_height="wrap_content"
|
||||||
|
android:text="Группа"/>
|
||||||
|
|
||||||
|
<Spinner
|
||||||
|
android:id="@+id/group"
|
||||||
|
android:layout_width="match_parent"
|
||||||
|
android:layout_height="wrap_content"/>
|
||||||
|
|
||||||
|
<TextView
|
||||||
|
android:layout_width="match_parent"
|
||||||
|
android:layout_height="wrap_content"
|
||||||
|
android:text="Параметры экспорта"
|
||||||
|
android:textStyle="bold"
|
||||||
|
android:textSize="16dp"/>
|
||||||
|
|
||||||
|
<TextView
|
||||||
|
android:layout_width="match_parent"
|
||||||
|
android:layout_height="wrap_content"
|
||||||
|
android:text="Диапазон экспорта"/>
|
||||||
|
|
||||||
|
<TableLayout
|
||||||
|
android:layout_width="match_parent"
|
||||||
|
android:layout_height="wrap_content"
|
||||||
|
android:stretchColumns="*"
|
||||||
|
android:shrinkColumns="*">
|
||||||
|
|
||||||
|
<TableRow
|
||||||
|
android:layout_width="match_parent"
|
||||||
|
android:layout_height="wrap_content">
|
||||||
|
|
||||||
|
<Button
|
||||||
|
android:id="@+id/start"
|
||||||
|
android:layout_width="match_parent"
|
||||||
|
android:layout_height="wrap_content"
|
||||||
|
android:text="20-Dec-2019"/>
|
||||||
|
|
||||||
<Button
|
<Button
|
||||||
android:id="@+id/end"
|
android:id="@+id/end"
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:text="31-Dec-2019"/>
|
android:text="31-Dec-2019"/>
|
||||||
<Button
|
</TableRow>
|
||||||
android:id="@+id/forDay"
|
|
||||||
android:layout_width="match_parent"
|
<TableRow
|
||||||
android:layout_height="wrap_content"
|
android:layout_width="match_parent"
|
||||||
android:text="На день"/>
|
android:layout_height="wrap_content"
|
||||||
<Button
|
android:layout_marginTop="10dp">
|
||||||
android:id="@+id/forWeek"
|
|
||||||
android:layout_width="match_parent"
|
<LinearLayout
|
||||||
android:layout_height="wrap_content"
|
android:layout_width="match_parent"
|
||||||
android:text="На неделю"/>
|
android:layout_height="wrap_content"
|
||||||
<Button
|
android:orientation="vertical">
|
||||||
android:id="@+id/forMonth"
|
|
||||||
android:layout_width="match_parent"
|
<Button
|
||||||
android:layout_height="wrap_content"
|
android:id="@+id/forDay"
|
||||||
android:text="На месяц"/>
|
android:layout_width="match_parent"
|
||||||
<Button
|
android:layout_height="wrap_content"
|
||||||
android:id="@+id/forSemester"
|
android:text="На день"/>
|
||||||
android:layout_width="match_parent"
|
<Button
|
||||||
android:layout_height="wrap_content"
|
android:id="@+id/forWeek"
|
||||||
android:text="На семестр"/>
|
android:layout_width="match_parent"
|
||||||
|
android:layout_height="wrap_content"
|
||||||
|
android:text="На неделю"/>
|
||||||
</LinearLayout>
|
</LinearLayout>
|
||||||
</TableRow>
|
|
||||||
</TableLayout>
|
|
||||||
|
|
||||||
<TextView
|
<LinearLayout
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:text="Напоминать за"/>
|
android:orientation="vertical">
|
||||||
|
|
||||||
<Spinner
|
<Button
|
||||||
android:id="@+id/reminder"
|
android:id="@+id/forMonth"
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="wrap_content"/>
|
android:layout_height="wrap_content"
|
||||||
|
android:text="На месяц"/>
|
||||||
|
<Button
|
||||||
|
android:id="@+id/forSemester"
|
||||||
|
android:layout_width="match_parent"
|
||||||
|
android:layout_height="wrap_content"
|
||||||
|
android:text="На семестр"/>
|
||||||
|
</LinearLayout>
|
||||||
|
</TableRow>
|
||||||
|
</TableLayout>
|
||||||
|
|
||||||
<CheckBox
|
<TextView
|
||||||
android:id="@+id/groupTitle"
|
android:layout_width="match_parent"
|
||||||
android:layout_width="match_parent"
|
android:layout_height="wrap_content"
|
||||||
android:layout_height="wrap_content"
|
android:text="Напоминать за"/>
|
||||||
android:text="Добавить номер группы в заголовок"/>
|
|
||||||
|
|
||||||
<TextView
|
<Spinner
|
||||||
android:layout_width="match_parent"
|
android:id="@+id/reminder"
|
||||||
android:layout_height="wrap_content"
|
android:layout_width="match_parent"
|
||||||
android:text="Конечный календарь"/>
|
android:layout_height="wrap_content"/>
|
||||||
|
|
||||||
<Spinner
|
<CheckBox
|
||||||
android:id="@+id/calendar"
|
android:id="@+id/groupTitle"
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="wrap_content"/>
|
android:layout_height="wrap_content"
|
||||||
|
android:text="Добавить номер группы в заголовок"/>
|
||||||
|
|
||||||
<TextView
|
<TextView
|
||||||
android:id="@+id/error"
|
android:layout_width="match_parent"
|
||||||
android:layout_width="match_parent"
|
android:layout_height="wrap_content"
|
||||||
android:layout_height="wrap_content"
|
android:text="Конечный календарь"/>
|
||||||
android:textColor="#FF0000"
|
|
||||||
android:text="Error"
|
|
||||||
android:layout_marginVertical="5dp"
|
|
||||||
android:visibility="gone"
|
|
||||||
/>
|
|
||||||
|
|
||||||
<Button
|
<Spinner
|
||||||
android:id="@+id/export"
|
android:id="@+id/calendar"
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"/>
|
||||||
android:text="Добавить расписание"/>
|
|
||||||
|
|
||||||
<TextView
|
<TextView
|
||||||
android:layout_width="match_parent"
|
android:id="@+id/error"
|
||||||
android:layout_height="wrap_content"
|
android:layout_width="match_parent"
|
||||||
android:text="©2019 Михаил Гордеев ИКСС, ИКТ-907"/>
|
android:layout_height="wrap_content"
|
||||||
<TextView
|
android:textColor="#FF0000"
|
||||||
android:layout_width="match_parent"
|
android:text="Error"
|
||||||
android:layout_height="wrap_content"
|
android:layout_marginVertical="5dp"
|
||||||
android:text="Задонатить: +7 (996) 929-19-69 (Сбербанк)"/>
|
android:visibility="gone"
|
||||||
|
/>
|
||||||
|
|
||||||
</LinearLayout>
|
<Button
|
||||||
|
android:id="@+id/export"
|
||||||
|
android:layout_width="match_parent"
|
||||||
|
android:layout_height="wrap_content"
|
||||||
|
android:text="Добавить расписание"/>
|
||||||
|
|
||||||
|
<TextView
|
||||||
|
android:layout_width="match_parent"
|
||||||
|
android:layout_height="wrap_content"
|
||||||
|
android:text="©2019 Михаил Гордеев ИКСС, ИКТ-907"/>
|
||||||
|
<TextView
|
||||||
|
android:layout_width="match_parent"
|
||||||
|
android:layout_height="wrap_content"
|
||||||
|
android:text="Задонатить: +7 (996) 929-19-69 (Сбербанк)"/>
|
||||||
|
|
||||||
|
</LinearLayout>
|
||||||
|
|
||||||
|
</ScrollView>
|
||||||
Reference in New Issue
Block a user