mirror of
https://github.com/wulkanowy/wulkanowy.git
synced 2025-03-15 08:44:00 +01:00
196 lines
7.7 KiB
XML
196 lines
7.7 KiB
XML
![]() |
<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||
|
xmlns:app="http://schemas.android.com/apk/res-auto"
|
||
|
xmlns:tools="http://schemas.android.com/tools"
|
||
|
android:layout_width="match_parent"
|
||
|
android:layout_height="match_parent"
|
||
|
tools:context=".ui.modules.schoolandteachers.school.SchoolFragment">
|
||
|
|
||
|
<me.zhanghai.android.materialprogressbar.MaterialProgressBar
|
||
|
android:id="@+id/schoolProgress"
|
||
|
style="@style/Widget.MaterialProgressBar.ProgressBar"
|
||
|
android:layout_width="wrap_content"
|
||
|
android:layout_height="wrap_content"
|
||
|
android:layout_gravity="center"
|
||
|
android:indeterminate="true" />
|
||
|
|
||
|
<androidx.swiperefreshlayout.widget.SwipeRefreshLayout
|
||
|
android:id="@+id/schoolSwipe"
|
||
|
android:layout_width="match_parent"
|
||
|
android:layout_height="match_parent"
|
||
|
android:paddingStart="8dp"
|
||
|
android:paddingLeft="8dp"
|
||
|
android:paddingTop="8dp"
|
||
|
android:paddingEnd="12dp"
|
||
|
android:paddingRight="12dp"
|
||
|
android:paddingBottom="8dp">
|
||
|
|
||
|
<LinearLayout
|
||
|
android:id="@+id/schoolContent"
|
||
|
android:layout_width="match_parent"
|
||
|
android:layout_height="match_parent"
|
||
|
android:orientation="vertical">
|
||
|
|
||
|
<LinearLayout
|
||
|
android:layout_width="match_parent"
|
||
|
android:layout_height="wrap_content"
|
||
|
android:orientation="vertical"
|
||
|
android:paddingStart="12dp"
|
||
|
android:paddingLeft="12dp"
|
||
|
android:paddingTop="8dp"
|
||
|
android:paddingEnd="12dp"
|
||
|
android:paddingRight="12dp"
|
||
|
android:paddingBottom="8dp">
|
||
|
|
||
|
<TextView
|
||
|
android:layout_width="match_parent"
|
||
|
android:layout_height="wrap_content"
|
||
|
android:text="@string/school_name"
|
||
|
android:textColor="?android:textColorSecondary"
|
||
|
android:textSize="12sp" />
|
||
|
|
||
|
<TextView
|
||
|
android:id="@+id/schoolName"
|
||
|
android:layout_width="match_parent"
|
||
|
android:layout_height="wrap_content"
|
||
|
android:textIsSelectable="true"
|
||
|
android:textSize="17sp"
|
||
|
tools:text="@tools:sample/full_names" />
|
||
|
</LinearLayout>
|
||
|
|
||
|
<LinearLayout
|
||
|
android:layout_width="match_parent"
|
||
|
android:layout_height="wrap_content"
|
||
|
android:orientation="vertical"
|
||
|
android:paddingStart="12dp"
|
||
|
android:paddingLeft="12dp"
|
||
|
android:paddingTop="7dp"
|
||
|
android:paddingEnd="12dp"
|
||
|
android:paddingRight="12dp"
|
||
|
android:paddingBottom="7dp">
|
||
|
|
||
|
<TextView
|
||
|
android:layout_width="match_parent"
|
||
|
android:layout_height="wrap_content"
|
||
|
android:text="@string/school_address"
|
||
|
android:textColor="?android:textColorSecondary"
|
||
|
android:textSize="12sp" />
|
||
|
|
||
|
<TextView
|
||
|
android:id="@+id/schoolAddress"
|
||
|
android:layout_width="match_parent"
|
||
|
android:layout_height="wrap_content"
|
||
|
android:textIsSelectable="true"
|
||
|
android:textSize="17sp"
|
||
|
tools:text="@tools:sample/full_names" />
|
||
|
</LinearLayout>
|
||
|
|
||
|
<LinearLayout
|
||
|
android:layout_width="match_parent"
|
||
|
android:layout_height="wrap_content"
|
||
|
android:orientation="vertical"
|
||
|
android:paddingStart="12dp"
|
||
|
android:paddingLeft="12dp"
|
||
|
android:paddingTop="7dp"
|
||
|
android:paddingEnd="12dp"
|
||
|
android:paddingRight="12dp"
|
||
|
android:paddingBottom="7dp">
|
||
|
|
||
|
<TextView
|
||
|
android:layout_width="match_parent"
|
||
|
android:layout_height="wrap_content"
|
||
|
android:text="@string/school_telephone"
|
||
|
android:textColor="?android:textColorSecondary"
|
||
|
android:textSize="12sp" />
|
||
|
|
||
|
<TextView
|
||
|
android:id="@+id/schoolTelephone"
|
||
|
android:layout_width="match_parent"
|
||
|
android:layout_height="wrap_content"
|
||
|
android:textIsSelectable="true"
|
||
|
android:textSize="17sp"
|
||
|
tools:text="@tools:sample/full_names" />
|
||
|
</LinearLayout>
|
||
|
|
||
|
<LinearLayout
|
||
|
android:layout_width="match_parent"
|
||
|
android:layout_height="wrap_content"
|
||
|
android:orientation="vertical"
|
||
|
android:paddingStart="12dp"
|
||
|
android:paddingLeft="12dp"
|
||
|
android:paddingTop="7dp"
|
||
|
android:paddingEnd="12dp"
|
||
|
android:paddingRight="12dp"
|
||
|
android:paddingBottom="7dp">
|
||
|
|
||
|
<TextView
|
||
|
android:layout_width="match_parent"
|
||
|
android:layout_height="wrap_content"
|
||
|
android:text="@string/school_headmaster"
|
||
|
android:textColor="?android:textColorSecondary"
|
||
|
android:textSize="12sp" />
|
||
|
|
||
|
<TextView
|
||
|
android:id="@+id/schoolHeadmaster"
|
||
|
android:layout_width="match_parent"
|
||
|
android:layout_height="wrap_content"
|
||
|
android:textIsSelectable="true"
|
||
|
android:textSize="17sp"
|
||
|
tools:text="@tools:sample/full_names" />
|
||
|
</LinearLayout>
|
||
|
|
||
|
<LinearLayout
|
||
|
android:layout_width="match_parent"
|
||
|
android:layout_height="wrap_content"
|
||
|
android:orientation="vertical"
|
||
|
android:paddingStart="12dp"
|
||
|
android:paddingLeft="12dp"
|
||
|
android:paddingTop="7dp"
|
||
|
android:paddingEnd="12dp"
|
||
|
android:paddingRight="12dp"
|
||
|
android:paddingBottom="7dp">
|
||
|
|
||
|
<TextView
|
||
|
android:layout_width="match_parent"
|
||
|
android:layout_height="wrap_content"
|
||
|
android:text="@string/school_pedagogue"
|
||
|
android:textColor="?android:textColorSecondary"
|
||
|
android:textSize="12sp" />
|
||
|
|
||
|
<TextView
|
||
|
android:id="@+id/schoolPedagogue"
|
||
|
android:layout_width="match_parent"
|
||
|
android:layout_height="wrap_content"
|
||
|
android:textIsSelectable="true"
|
||
|
android:textSize="17sp"
|
||
|
tools:text="@tools:sample/full_names" />
|
||
|
</LinearLayout>
|
||
|
</LinearLayout>
|
||
|
</androidx.swiperefreshlayout.widget.SwipeRefreshLayout>
|
||
|
|
||
|
<LinearLayout
|
||
|
android:id="@+id/schoolEmpty"
|
||
|
android:layout_width="match_parent"
|
||
|
android:layout_height="match_parent"
|
||
|
android:gravity="center"
|
||
|
android:orientation="vertical"
|
||
|
android:padding="10dp"
|
||
|
android:visibility="gone"
|
||
|
tools:ignore="UseCompoundDrawables">
|
||
|
|
||
|
<ImageView
|
||
|
android:layout_width="100dp"
|
||
|
android:layout_height="100dp"
|
||
|
app:srcCompat="@drawable/ic_more_schoolandteachers"
|
||
|
app:tint="?colorOnBackground"
|
||
|
tools:ignore="contentDescription" />
|
||
|
|
||
|
<TextView
|
||
|
android:layout_width="wrap_content"
|
||
|
android:layout_height="wrap_content"
|
||
|
android:layout_marginTop="20dp"
|
||
|
android:gravity="center"
|
||
|
android:text="@string/teacher_no_items"
|
||
|
android:textSize="20sp" />
|
||
|
</LinearLayout>
|
||
|
</FrameLayout>
|