Merge pull request #422 from veyndan/debug-string-placeholder

Place placeholder strings in separate strings xml file
This commit is contained in:
Adam Jones 2017-03-12 01:05:46 +00:00 committed by GitHub
commit 1dcc501f79
2 changed files with 9 additions and 3 deletions

View file

@ -0,0 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<resources>
<string name="placeholder_place_distance">Overlay</string>
<string name="placeholder_place_name">Name</string>
<string name="placeholder_place_description">Description</string>
</resources>

View file

@ -29,7 +29,7 @@
style="?android:textAppearanceSmallInverse"
android:textColor="#ffffff"
android:background="@color/text_background"
tools:text="Overlay"
tools:text="@string/placeholder_place_distance"
/>
<TextView
@ -44,7 +44,7 @@
android:maxLines="1"
android:ellipsize="none"
style="?android:textAppearanceMedium"
tools:text="Name"
tools:text="@string/placeholder_place_name"
/>
<TextView
@ -58,7 +58,7 @@
android:ellipsize="none"
android:maxLines="4"
style="?android:textAppearanceSmall"
tools:text="Description"
tools:text="@string/placeholder_place_description"
/>
</RelativeLayout>