Skip to content

Commit

Permalink
add a short text to tactile paving quest (fixes #762)
Browse files Browse the repository at this point in the history
  • Loading branch information
westnordost committed Jan 14, 2018
1 parent 358789e commit f505c2a
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 4 deletions.
14 changes: 10 additions & 4 deletions app/src/main/res/layout/quest_tactile_paving.xml
Original file line number Diff line number Diff line change
@@ -1,16 +1,22 @@
<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout
<LinearLayout
xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:gravity="bottom">
android:orientation="vertical">

<TextView
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:text="@string/quest_generic_looks_like_this"/>

<ImageView
android:id="@+id/tactilePavingImage"
android:layout_width="wrap_content"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:adjustViewBounds="true"
android:cropToPadding="false"
android:scaleType="centerCrop"
android:src="@drawable/tactile_paving_illustration" />

</RelativeLayout>
</LinearLayout>
1 change: 1 addition & 0 deletions app/src/main/res/values/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -450,4 +450,5 @@ Otherwise, you can download another keyboard in the app store. Popular keyboards
<string name="invalidation_dialog_message">Invalidating the cache causes the quests to be updated next time they are downloaded each. The quest cache is invalidated automatically after one week and immediately when a quest you solved turns out to be already answered by someone else.</string>
<string name="quest_openingHours_emptyAnswer">You need to describe what is on the sign. If there is no sign, you should ask for the opening hours inside.</string>
<string name="quest_cycleway_value_none_but_no_oneway">none, but cyclists may use road in both directions</string>
<string name="quest_generic_looks_like_this">Usually looks like this:</string>
</resources>

0 comments on commit f505c2a

Please sign in to comment.