mirror of
https://github.com/wulkanowy/wulkanowy.git
synced 2025-03-15 05:23:59 +01:00
42 lines
1.7 KiB
XML
42 lines
1.7 KiB
XML
![]() |
<androidx.constraintlayout.widget.ConstraintLayout 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="wrap_content"
|
||
|
android:background="?selectableItemBackground"
|
||
|
android:paddingStart="8dp"
|
||
|
android:paddingTop="6dp"
|
||
|
android:paddingEnd="12dp"
|
||
|
android:paddingBottom="6dp"
|
||
|
tools:context=".ui.modules.timetable.additional.AdditionalLessonsAdapter">
|
||
|
|
||
|
<TextView
|
||
|
android:id="@+id/additionalLessonItemSubject"
|
||
|
android:layout_width="0dp"
|
||
|
android:layout_height="wrap_content"
|
||
|
android:layout_marginStart="8dp"
|
||
|
android:layout_marginEnd="16dp"
|
||
|
android:ellipsize="end"
|
||
|
android:maxLines="1"
|
||
|
android:textColor="?android:textColorPrimary"
|
||
|
android:textSize="15sp"
|
||
|
app:layout_constraintEnd_toEndOf="parent"
|
||
|
app:layout_constraintStart_toStartOf="parent"
|
||
|
app:layout_constraintTop_toTopOf="parent"
|
||
|
tools:text="@tools:sample/lorem" />
|
||
|
|
||
|
<TextView
|
||
|
android:id="@+id/additionalLessonItemTime"
|
||
|
android:layout_width="wrap_content"
|
||
|
android:layout_height="wrap_content"
|
||
|
android:layout_marginStart="8dp"
|
||
|
android:layout_marginTop="4dp"
|
||
|
android:maxLines="1"
|
||
|
android:textColor="?android:textColorSecondary"
|
||
|
android:textSize="13sp"
|
||
|
app:layout_constraintStart_toStartOf="parent"
|
||
|
app:layout_constraintTop_toBottomOf="@id/additionalLessonItemSubject"
|
||
|
tools:text="11:11 - 12:12" />
|
||
|
|
||
|
</androidx.constraintlayout.widget.ConstraintLayout>
|