display hint in exam

This commit is contained in:
Milos Kozak 2019-09-07 11:32:24 +02:00
parent 88c263bb39
commit b5e4c044ac
2 changed files with 11 additions and 1 deletions

View file

@ -17,7 +17,7 @@
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_marginTop="16dp" android:layout_marginTop="16dp"
android:orientation="vertical" android:orientation="vertical"
app:layout_constraintTop_toBottomOf="@+id/objectives_exam_question" app:layout_constraintTop_toBottomOf="@+id/objectives_exam_hint"
tools:layout_editor_absoluteX="3dp"> tools:layout_editor_absoluteX="3dp">
</LinearLayout> </LinearLayout>
@ -81,6 +81,15 @@
app:layout_constraintStart_toStartOf="parent" app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@id/objectives_exam_name" /> app:layout_constraintTop_toBottomOf="@id/objectives_exam_name" />
<TextView
android:id="@+id/objectives_exam_hint"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginTop="16dp"
android:text="@string/objectives_hint"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@id/objectives_exam_question" />
<TextView <TextView
android:id="@+id/objectives_exam_name" android:id="@+id/objectives_exam_name"
android:layout_width="0dp" android:layout_width="0dp"

View file

@ -1638,6 +1638,7 @@
<string name="key_objectives_request_code" translatable="false">objectives_request_code</string> <string name="key_objectives_request_code" translatable="false">objectives_request_code</string>
<string name="requestcode">Request code: %1$s</string> <string name="requestcode">Request code: %1$s</string>
<string name="hypott_preventoversmb">to prevent SMB after a hypo rise from fast carbs</string> <string name="hypott_preventoversmb">to prevent SMB after a hypo rise from fast carbs</string>
<string name="objectives_hint">(check all correct answers)</string>
<plurals name="objective_days"> <plurals name="objective_days">
<item quantity="one">%1$d day</item> <item quantity="one">%1$d day</item>