forked from github/wulkanowy-mirror
50 lines
1.9 KiB
XML
50 lines
1.9 KiB
XML
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
|
xmlns:tools="http://schemas.android.com/tools"
|
|
android:id="@+id/exams_subitem_container"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:background="?selectableItemBackground"
|
|
tools:context=".ui.modules.exam.ExamItem">
|
|
|
|
<TextView
|
|
android:id="@+id/examItemSubject"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginStart="20dp"
|
|
android:layout_marginLeft="20dp"
|
|
android:layout_marginTop="10dp"
|
|
android:textSize="15sp"
|
|
tools:text="@tools:sample/lorem" />
|
|
|
|
<TextView
|
|
android:id="@+id/examItemType"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_below="@id/examItemSubject"
|
|
android:layout_alignStart="@id/examItemSubject"
|
|
android:layout_alignLeft="@id/examItemSubject"
|
|
android:layout_marginTop="5dp"
|
|
android:layout_marginBottom="5dp"
|
|
android:textSize="13sp"
|
|
tools:text="@tools:sample/lorem" />
|
|
|
|
<TextView
|
|
android:id="@+id/examItemTeacher"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_below="@id/examItemSubject"
|
|
android:layout_alignParentEnd="true"
|
|
android:layout_alignParentRight="true"
|
|
android:layout_marginStart="10dp"
|
|
android:layout_marginLeft="10dp"
|
|
android:layout_marginTop="5dp"
|
|
android:layout_marginEnd="20dp"
|
|
android:layout_marginRight="20dp"
|
|
android:layout_marginBottom="10dp"
|
|
android:layout_toEndOf="@id/examItemType"
|
|
android:layout_toRightOf="@id/examItemType"
|
|
android:gravity="end"
|
|
android:textSize="13sp"
|
|
tools:text="@tools:sample/lorem" />
|
|
</RelativeLayout>
|