2017-08-29 07:22:55 -05:00
|
|
|
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
|
|
|
xmlns:app="http://schemas.android.com/apk/res-auto"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
2017-10-27 10:05:00 -05:00
|
|
|
android:background="@drawable/subject_border_1px"
|
|
|
|
android:foreground="?attr/selectableItemBackgroundBorderless"
|
|
|
|
android:padding="15dp">
|
2017-08-29 07:22:55 -05:00
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:id="@+id/subject_text"
|
2017-10-27 10:05:00 -05:00
|
|
|
android:layout_width="wrap_content"
|
2017-08-29 07:22:55 -05:00
|
|
|
android:layout_height="wrap_content"
|
2017-10-27 10:05:00 -05:00
|
|
|
android:layout_marginEnd="35dp"
|
|
|
|
android:layout_marginRight="35dp"
|
|
|
|
android:ellipsize="end"
|
|
|
|
android:maxLines="1"
|
2017-08-29 07:22:55 -05:00
|
|
|
android:text="@string/app_name"
|
2017-10-27 10:05:00 -05:00
|
|
|
android:textSize="17sp" />
|
2017-08-29 07:22:55 -05:00
|
|
|
|
2017-10-27 10:05:00 -05:00
|
|
|
<TextView
|
|
|
|
android:id="@+id/subject_grades_average"
|
2017-08-29 07:22:55 -05:00
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
2017-10-27 10:05:00 -05:00
|
|
|
android:layout_below="@+id/subject_text"
|
|
|
|
android:layout_marginTop="5dp"
|
|
|
|
android:text="@string/app_name"
|
|
|
|
android:textColor="#4C4C4C"
|
|
|
|
android:textSize="12sp" />
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:id="@+id/subject_number_of_grades"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_below="@id/subject_text"
|
|
|
|
android:layout_marginLeft="10dp"
|
|
|
|
android:layout_marginStart="10dp"
|
|
|
|
android:layout_marginTop="5dp"
|
|
|
|
android:layout_toEndOf="@+id/subject_grades_average"
|
|
|
|
android:layout_toRightOf="@+id/subject_grades_average"
|
|
|
|
android:text="@string/app_name"
|
|
|
|
android:textColor="#4C4C4C"
|
|
|
|
android:textSize="12sp" />
|
2017-08-29 07:22:55 -05:00
|
|
|
|
|
|
|
<ImageView
|
2017-10-27 10:05:00 -05:00
|
|
|
android:id="@+id/subject_new_grades_alert"
|
2017-08-29 07:22:55 -05:00
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_alignParentEnd="true"
|
|
|
|
android:layout_alignParentRight="true"
|
2017-10-27 10:05:00 -05:00
|
|
|
android:layout_marginTop="10dp"
|
|
|
|
app:srcCompat="@drawable/subject_alert_circle" />
|
2017-08-29 07:22:55 -05:00
|
|
|
</RelativeLayout>
|