mirror of
https://github.com/szkolny-eu/szkolny-android.git
synced 2025-03-14 22:03:59 +01:00
125 lines
4.9 KiB
XML
125 lines
4.9 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<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:id="@+id/widgetTimetableRoot"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:orientation="horizontal">
|
|
|
|
<ImageView
|
|
android:id="@+id/widgetTimetableBackground"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
android:scaleType="fitXY"
|
|
tools:srcCompat="@drawable/ic_rip" />
|
|
|
|
<TextView
|
|
android:id="@+id/widgetTimetableProfileName"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_gravity="center_vertical"
|
|
android:layout_margin="8dp"
|
|
android:gravity="center"
|
|
android:textColor="@color/primaryTextDark"
|
|
android:textSize="20sp"
|
|
android:visibility="gone"
|
|
tools:text="Władca Androida" />
|
|
|
|
<LinearLayout
|
|
android:id="@+id/widgetTimetableContent"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
android:orientation="horizontal">
|
|
|
|
<TextView
|
|
android:id="@+id/widgetTimetableTime"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_gravity="center_vertical"
|
|
android:layout_margin="8dp"
|
|
android:textColor="@color/primaryTextLight"
|
|
android:textSize="11sp"
|
|
tools:text="10:00 - 10:45" />
|
|
|
|
<LinearLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginTop="2dp"
|
|
android:layout_marginEnd="8dp"
|
|
android:layout_marginRight="8dp"
|
|
android:layout_marginBottom="2dp"
|
|
android:orientation="vertical">
|
|
|
|
<TextView
|
|
android:id="@+id/widgetTimetableOldSubjectName"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_weight="1"
|
|
android:textColor="@color/primaryTextLight"
|
|
android:textSize="11sp"
|
|
tools:text="informatyka" />
|
|
|
|
<TextView
|
|
android:id="@+id/widgetTimetableSubjectName"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_gravity="center_vertical"
|
|
android:layout_weight="1"
|
|
android:textColor="@color/primaryTextLight"
|
|
android:textSize="13sp"
|
|
tools:text="matematyka" />
|
|
|
|
<LinearLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_weight="1"
|
|
android:gravity="center_vertical"
|
|
android:orientation="horizontal">
|
|
|
|
<TextView
|
|
android:id="@+id/widgetTimetableClassroomName"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_gravity="center_vertical"
|
|
android:textColor="@color/primaryTextLight"
|
|
android:textSize="11sp"
|
|
tools:text="029 informatyczna" />
|
|
|
|
<LinearLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:gravity="end"
|
|
android:orientation="horizontal">
|
|
|
|
<ImageView
|
|
android:id="@+id/widgetTimetableEvent3"
|
|
android:layout_width="10dp"
|
|
android:layout_height="10dp"
|
|
android:layout_gravity="center|end"
|
|
android:layout_marginStart="3dp"
|
|
android:layout_marginLeft="3dp" />
|
|
|
|
<ImageView
|
|
android:id="@+id/widgetTimetableEvent2"
|
|
android:layout_width="10dp"
|
|
android:layout_height="10dp"
|
|
android:layout_gravity="center|end"
|
|
android:layout_marginStart="3dp"
|
|
android:layout_marginLeft="3dp" />
|
|
|
|
<ImageView
|
|
android:id="@+id/widgetTimetableEvent1"
|
|
android:layout_width="10dp"
|
|
android:layout_height="10dp"
|
|
android:layout_gravity="center|end"
|
|
android:layout_marginStart="3dp"
|
|
android:layout_marginLeft="3dp" />
|
|
</LinearLayout>
|
|
|
|
</LinearLayout>
|
|
|
|
</LinearLayout>
|
|
</LinearLayout>
|
|
|
|
</FrameLayout> |