forked from github/wulkanowy-mirror
Fix crash in timetable on api < 21 (#816)
This commit is contained in:
parent
4f0ff5f49c
commit
7850412ba9
@ -1,6 +1,5 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<shape xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<solid android:color="?colorPrimary"/>
|
||||
<corners android:radius="3dp"/>
|
||||
<padding android:left="0dp" android:top="0dp" android:right="0dp" android:bottom="0dp" />
|
||||
</shape>
|
@ -117,9 +117,6 @@
|
||||
android:id="@+id/timetableItemTimeUntil"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_alignTop="@id/timetableItemSubject"
|
||||
android:layout_alignBottom="@id/timetableItemSubject"
|
||||
android:layout_alignParentEnd="true"
|
||||
android:layout_marginStart="4dp"
|
||||
android:ellipsize="end"
|
||||
android:gravity="center"
|
||||
@ -138,22 +135,21 @@
|
||||
android:id="@+id/timetableItemTimeLeft"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_alignTop="@id/timetableItemSubject"
|
||||
android:layout_alignBottom="@id/timetableItemSubject"
|
||||
android:layout_alignParentEnd="true"
|
||||
android:layout_marginStart="4dp"
|
||||
android:background="@drawable/background_timetable_time_left"
|
||||
android:ellipsize="end"
|
||||
android:gravity="center"
|
||||
android:maxLines="1"
|
||||
android:includeFontPadding="false"
|
||||
android:maxLines="1"
|
||||
android:paddingLeft="7dp"
|
||||
android:paddingRight="7dp"
|
||||
android:paddingTop="2dp"
|
||||
android:paddingRight="7dp"
|
||||
android:paddingBottom="2dp"
|
||||
android:textColor="?colorOnPrimary"
|
||||
android:textSize="13sp"
|
||||
android:visibility="gone"
|
||||
app:backgroundTint="?colorPrimary"
|
||||
app:layout_constraintEnd_toEndOf="parent"
|
||||
app:layout_constraintTop_toTopOf="parent"
|
||||
tools:text="jeszcze 15 min"
|
||||
|
Loading…
x
Reference in New Issue
Block a user