2018-04-24 21:27:45 +02:00
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
|
|
|
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
2018-11-02 17:38:20 +01:00
|
|
|
android:id="@+id/timetableWidgetItemContainer"
|
2018-04-24 21:27:45 +02:00
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
2018-11-02 17:38:20 +01:00
|
|
|
android:background="@drawable/ic_all_divider"
|
2018-04-24 21:27:45 +02:00
|
|
|
android:minHeight="45dp"
|
|
|
|
android:orientation="horizontal">
|
|
|
|
|
|
|
|
<TextView
|
2018-11-02 17:38:20 +01:00
|
|
|
android:id="@+id/timetableWidgetItemNumber"
|
|
|
|
android:layout_width="55dp"
|
|
|
|
android:layout_height="45dp"
|
|
|
|
android:gravity="center"
|
|
|
|
android:text="0"
|
|
|
|
android:textSize="25sp" />
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:id="@+id/timetableWidgetItemTime"
|
2018-04-24 21:27:45 +02:00
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_alignParentTop="true"
|
|
|
|
android:layout_marginTop="5dp"
|
2018-11-02 17:38:20 +01:00
|
|
|
android:layout_toEndOf="@id/timetableWidgetItemNumber"
|
|
|
|
android:layout_toRightOf="@id/timetableWidgetItemNumber"
|
2018-04-24 21:27:45 +02:00
|
|
|
android:text="@string/app_name"
|
2018-11-29 19:07:44 +01:00
|
|
|
android:textColor="@color/second_text"
|
2018-11-02 17:38:20 +01:00
|
|
|
android:textSize="13sp" />
|
2018-04-24 21:27:45 +02:00
|
|
|
|
|
|
|
<TextView
|
2018-11-02 17:38:20 +01:00
|
|
|
android:id="@+id/timetableWidgetItemSubject"
|
2018-04-24 21:27:45 +02:00
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_marginStart="15dp"
|
2018-11-02 17:38:20 +01:00
|
|
|
android:layout_marginLeft="15dp"
|
2018-04-24 21:27:45 +02:00
|
|
|
android:layout_marginTop="5dp"
|
2018-11-02 17:38:20 +01:00
|
|
|
android:layout_marginEnd="25dp"
|
|
|
|
android:layout_marginRight="25dp"
|
|
|
|
android:layout_toEndOf="@id/timetableWidgetItemTime"
|
|
|
|
android:layout_toRightOf="@id/timetableWidgetItemTime"
|
2018-04-24 21:27:45 +02:00
|
|
|
android:text="@string/app_name"
|
2018-11-29 19:07:44 +01:00
|
|
|
android:textColor="@color/second_text"
|
2018-11-02 17:38:20 +01:00
|
|
|
android:textSize="13sp" />
|
2018-04-24 21:27:45 +02:00
|
|
|
|
|
|
|
<TextView
|
2018-11-02 17:38:20 +01:00
|
|
|
android:id="@+id/timetableWidgetItemDescription"
|
2018-04-24 21:27:45 +02:00
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
2018-11-02 17:38:20 +01:00
|
|
|
android:layout_below="@id/timetableWidgetItemSubject"
|
2018-04-24 21:27:45 +02:00
|
|
|
android:layout_marginStart="15dp"
|
2018-11-02 17:38:20 +01:00
|
|
|
android:layout_marginLeft="15dp"
|
2018-04-24 21:27:45 +02:00
|
|
|
android:layout_marginTop="3dp"
|
2018-11-02 17:38:20 +01:00
|
|
|
android:layout_marginEnd="25dp"
|
|
|
|
android:layout_marginRight="25dp"
|
|
|
|
android:layout_marginBottom="5dp"
|
|
|
|
android:layout_toEndOf="@id/timetableWidgetItemTime"
|
|
|
|
android:layout_toRightOf="@id/timetableWidgetItemTime"
|
2018-04-24 21:27:45 +02:00
|
|
|
android:text="@string/app_name"
|
|
|
|
android:textColor="@color/colorPrimaryDark"
|
|
|
|
android:textSize="12sp" />
|
|
|
|
|
|
|
|
<TextView
|
2018-11-02 17:38:20 +01:00
|
|
|
android:id="@+id/timetableWidgetItemRoom"
|
2018-04-24 21:27:45 +02:00
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
2018-11-02 17:38:20 +01:00
|
|
|
android:layout_below="@id/timetableWidgetItemTime"
|
2018-04-24 21:27:45 +02:00
|
|
|
android:layout_marginTop="3dp"
|
2018-11-02 17:38:20 +01:00
|
|
|
android:layout_marginBottom="5dp"
|
|
|
|
android:layout_toEndOf="@id/timetableWidgetItemNumber"
|
|
|
|
android:layout_toRightOf="@id/timetableWidgetItemNumber"
|
2018-04-24 21:27:45 +02:00
|
|
|
android:text="@string/app_name"
|
2018-11-29 19:07:44 +01:00
|
|
|
android:textColor="@color/second_text"
|
2018-04-24 21:27:45 +02:00
|
|
|
android:textSize="12sp" />
|
2018-08-26 00:18:31 +02:00
|
|
|
</RelativeLayout>
|