forked from github/wulkanowy-mirror
100 lines
3.7 KiB
XML
100 lines
3.7 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
|
xmlns:tools="http://schemas.android.com/tools"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:orientation="vertical"
|
|
tools:context=".ui.modules.grade.summary.GradeSummaryItem">
|
|
|
|
<LinearLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:background="?colorControlHighlight"
|
|
android:orientation="horizontal"
|
|
android:paddingLeft="20dp"
|
|
android:paddingTop="7dp"
|
|
android:paddingRight="20dp"
|
|
android:paddingBottom="7dp">
|
|
|
|
<TextView
|
|
android:id="@+id/gradeSummaryItemTitle"
|
|
android:layout_width="0dp"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginEnd="40dp"
|
|
android:layout_marginRight="40dp"
|
|
android:layout_weight="1"
|
|
android:textSize="17sp"
|
|
tools:text="@tools:sample/lorem" />
|
|
|
|
<TextView
|
|
android:id="@+id/gradeSummaryItemAverage"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:gravity="end"
|
|
android:textSize="12sp"
|
|
tools:text="@string/aboutlibrary_lib_version" />
|
|
</LinearLayout>
|
|
|
|
<LinearLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:background="@drawable/ic_all_divider"
|
|
android:minHeight="35dp"
|
|
android:orientation="horizontal">
|
|
|
|
<TextView
|
|
android:layout_width="0dp"
|
|
android:layout_height="wrap_content"
|
|
android:layout_gravity="center_vertical"
|
|
android:layout_marginStart="20dp"
|
|
android:layout_marginLeft="20dp"
|
|
android:layout_weight="1"
|
|
android:text="@string/grade_summary_predicted_grade"
|
|
android:textSize="14sp" />
|
|
|
|
<TextView
|
|
android:id="@+id/gradeSummaryItemPredicted"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_gravity="center_vertical"
|
|
android:layout_marginStart="10dp"
|
|
android:layout_marginLeft="10dp"
|
|
android:layout_marginEnd="25dp"
|
|
android:layout_marginRight="25dp"
|
|
android:gravity="end"
|
|
android:textSize="12sp"
|
|
tools:text="@string/aboutlibrary_lib_version" />
|
|
</LinearLayout>
|
|
|
|
<LinearLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:background="@drawable/ic_all_divider"
|
|
android:minHeight="35dp"
|
|
android:orientation="horizontal">
|
|
|
|
<TextView
|
|
android:layout_width="0dp"
|
|
android:layout_height="wrap_content"
|
|
android:layout_gravity="center_vertical"
|
|
android:layout_marginStart="20dp"
|
|
android:layout_marginLeft="20dp"
|
|
android:layout_weight="1"
|
|
android:text="@string/grade_summary_final_grade"
|
|
android:textSize="14sp" />
|
|
|
|
<TextView
|
|
android:id="@+id/gradeSummaryItemFinal"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_gravity="center_vertical"
|
|
android:layout_marginStart="10dp"
|
|
android:layout_marginLeft="10dp"
|
|
android:layout_marginEnd="25dp"
|
|
android:layout_marginRight="25dp"
|
|
android:gravity="end"
|
|
android:textSize="12sp"
|
|
tools:text="@string/aboutlibrary_lib_version" />
|
|
</LinearLayout>
|
|
</LinearLayout>
|