2018-09-24 15:21:47 +02:00
|
|
|
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
2019-02-14 22:23:52 +01:00
|
|
|
xmlns:tools="http://schemas.android.com/tools"
|
2018-05-03 19:47:34 +02:00
|
|
|
android:id="@+id/exams_subitem_container"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
2019-02-14 22:23:52 +01:00
|
|
|
android:background="?attr/selectableItemBackground"
|
|
|
|
tools:context=".ui.modules.exam.ExamItem">
|
2018-05-03 19:47:34 +02:00
|
|
|
|
2018-09-24 15:21:47 +02:00
|
|
|
<TextView
|
|
|
|
android:id="@+id/examItemSubject"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_marginStart="20dp"
|
2018-10-14 22:16:58 +02:00
|
|
|
android:layout_marginLeft="20dp"
|
2018-09-24 15:21:47 +02:00
|
|
|
android:layout_marginTop="10dp"
|
|
|
|
android:text="@string/app_name"
|
|
|
|
android:textSize="15sp" />
|
2018-05-03 19:47:34 +02:00
|
|
|
|
2018-09-24 15:21:47 +02:00
|
|
|
<TextView
|
|
|
|
android:id="@+id/examItemType"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_below="@id/examItemSubject"
|
2018-10-14 22:16:58 +02:00
|
|
|
android:layout_alignStart="@id/examItemSubject"
|
|
|
|
android:layout_alignLeft="@id/examItemSubject"
|
2018-09-24 15:21:47 +02:00
|
|
|
android:layout_marginTop="5dp"
|
2018-10-14 22:16:58 +02:00
|
|
|
android:layout_marginBottom="5dp"
|
2018-09-24 15:21:47 +02:00
|
|
|
android:text="@string/app_name"
|
|
|
|
android:textSize="13sp" />
|
2018-05-03 19:47:34 +02:00
|
|
|
|
2018-09-24 15:21:47 +02:00
|
|
|
<TextView
|
|
|
|
android:id="@+id/examItemTeacher"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
2018-10-14 22:16:58 +02:00
|
|
|
android:layout_below="@id/examItemSubject"
|
2018-09-24 15:21:47 +02:00
|
|
|
android:layout_alignParentEnd="true"
|
|
|
|
android:layout_alignParentRight="true"
|
|
|
|
android:layout_marginStart="10dp"
|
2018-10-14 22:16:58 +02:00
|
|
|
android:layout_marginLeft="10dp"
|
2018-09-24 15:21:47 +02:00
|
|
|
android:layout_marginTop="5dp"
|
2018-10-14 22:16:58 +02:00
|
|
|
android:layout_marginEnd="20dp"
|
|
|
|
android:layout_marginRight="20dp"
|
|
|
|
android:layout_marginBottom="10dp"
|
2018-09-24 15:21:47 +02:00
|
|
|
android:layout_toEndOf="@id/examItemType"
|
|
|
|
android:layout_toRightOf="@id/examItemType"
|
|
|
|
android:gravity="end"
|
|
|
|
android:text="@string/app_name"
|
|
|
|
android:textSize="13sp" />
|
|
|
|
</RelativeLayout>
|