szkolny/app/src/main/res/layout/row_teacher_absence_item.xml

36 lines
1.3 KiB
XML
Raw Normal View History

2019-09-28 18:17:08 -05:00
<androidx.cardview.widget.CardView android:id="@+id/teacherAbsenceCard"
android:layout_width="match_parent"
android:layout_height="wrap_content"
tools:cardBackgroundColor="@color/blue_selected"
app:cardCornerRadius="5dp"
xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
xmlns:app="http://schemas.android.com/apk/res-auto">
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="horizontal"
android:padding="10dp">
<TextView
2019-09-28 18:17:08 -05:00
android:id="@+id/teacherAbsenceText"
android:layout_width="0dp"
android:layout_height="match_parent"
android:layout_weight="1"
android:gravity="center_vertical"
android:textAppearance="@style/NavView.TextView.Medium"
2019-09-28 18:17:08 -05:00
android:text="@string/agenda_teacher_absence" />
<TextView
2019-09-28 18:17:08 -05:00
android:id="@+id/teacherAbsenceCount"
android:layout_width="wrap_content"
android:layout_height="match_parent"
android:gravity="center"
android:textSize="20sp"
tools:text="3" />
</LinearLayout>
2019-09-28 18:17:08 -05:00
</androidx.cardview.widget.CardView>