2020-01-20 15:18:26 -06:00
|
|
|
<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">
|
2020-01-20 15:18:26 -06:00
|
|
|
|
|
|
|
<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"
|
2020-03-02 15:45:56 -06:00
|
|
|
android:layout_marginTop="1dp"
|
2020-01-20 15:18:26 -06:00
|
|
|
android:layout_toEndOf="@id/timetableSmallItemNumber"
|
|
|
|
android:textColor="?android:textColorSecondary"
|
2020-03-02 15:45:56 -06:00
|
|
|
android:textSize="13sp"
|
2020-01-20 15:18:26 -06:00
|
|
|
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"
|
2020-03-02 15:45:56 -06:00
|
|
|
android:layout_marginTop="1dp"
|
2020-01-20 15:18:26 -06:00
|
|
|
android:layout_toEndOf="@+id/timetableSmallItemSubject"
|
|
|
|
android:maxLines="1"
|
|
|
|
android:textColor="?android:textColorSecondary"
|
2020-03-02 15:45:56 -06:00
|
|
|
android:textSize="13sp"
|
2020-01-20 15:18:26 -06:00
|
|
|
tools:text="22" />
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:id="@+id/timetableSmallItemTeacher"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_marginStart="10dp"
|
2020-03-02 15:45:56 -06:00
|
|
|
android:layout_marginTop="1dp"
|
2020-01-20 15:18:26 -06:00
|
|
|
android:layout_toEndOf="@id/timetableSmallItemRoom"
|
|
|
|
android:ellipsize="end"
|
|
|
|
android:maxLines="1"
|
|
|
|
android:textColor="?android:textColorSecondary"
|
2020-03-02 15:45:56 -06:00
|
|
|
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" />
|
2020-01-20 15:18:26 -06:00
|
|
|
|
|
|
|
</RelativeLayout>
|