1
0

Change homework view to weekly (#284)

This commit is contained in:
Mikołaj Pich
2019-03-17 00:17:16 +01:00
committed by Rafał Borcz
parent 38aa26a3ff
commit d27d069ce2
12 changed files with 140 additions and 37 deletions

View File

@ -0,0 +1,33 @@
<?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:background="?colorControlHighlight"
android:minHeight="40dp"
android:orientation="horizontal"
android:paddingLeft="20dp"
android:paddingTop="10dp"
android:paddingRight="20dp"
android:paddingBottom="10dp"
tools:context=".ui.modules.homework.HomeworkHeader">
<TextView
android:id="@+id/homeworkHeaderDay"
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_weight="1"
android:textSize="18sp"
tools:text="@tools:sample/date/day_of_week" />
<TextView
android:id="@+id/homeworkHeaderDate"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginStart="10dp"
android:layout_marginLeft="10dp"
android:gravity="end"
android:textSize="13sp"
tools:text="@tools:sample/date/ddmmyy" />
</LinearLayout>