wulkanowy-mod/app/src/main/res/layout/item_timetable_small.xml

84 lines
3.1 KiB
XML
Raw Normal View History

<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:background="?selectableItemBackground"
2020-05-01 10:38:19 -05:00
tools:context=".ui.modules.timetable.TimetableAdapter">
<TextView
android:id="@+id/timetableSmallItemNumber"
android:layout_width="40dp"
android:layout_height="wrap_content"
android:layout_marginStart="8dp"
android:gravity="center"
android:maxLength="2"
android:textColor="?android:textColorPrimary"
android:textSize="15sp"
tools:text="5" />
<TextView
android:id="@+id/timetableSmallItemTimeStart"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_alignTop="@id/timetableSmallItemNumber"
android:layout_marginStart="8dp"
android:layout_marginTop="1dp"
android:layout_toEndOf="@id/timetableSmallItemNumber"
android:textColor="?android:textColorSecondary"
android:textSize="13sp"
tools:text="11:11" />
<TextView
android:id="@+id/timetableSmallItemSubject"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_alignParentTop="true"
android:layout_marginStart="10dp"
android:layout_toEndOf="@+id/timetableSmallItemTimeStart"
android:ellipsize="end"
android:maxLines="1"
android:textColor="?android:textColorPrimary"
android:textSize="15sp"
tools:text="Sieci komputerowe" />
<TextView
android:id="@+id/timetableSmallItemRoom"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginStart="10dp"
android:layout_marginTop="1dp"
android:layout_toEndOf="@+id/timetableSmallItemSubject"
android:maxLines="1"
android:textColor="?android:textColorSecondary"
android:textSize="13sp"
tools:text="22" />
<TextView
android:id="@+id/timetableSmallItemTeacher"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginStart="10dp"
android:layout_marginTop="1dp"
android:layout_toEndOf="@id/timetableSmallItemRoom"
android:ellipsize="end"
android:maxLines="1"
android:textColor="?android:textColorSecondary"
android:textSize="13sp"
tools:text="Agata" />
<TextView
android:id="@+id/timetableSmallItemDescription"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginStart="10dp"
android:layout_marginTop="1dp"
android:layout_marginEnd="16dp"
android:layout_toEndOf="@id/timetableSmallItemTeacher"
android:ellipsize="end"
android:singleLine="true"
android:textColor="?android:textColorSecondary"
android:textSize="13sp"
tools:text="zastępstwo jakieś tam gdzieś tam" />
</RelativeLayout>