mirror of
https://github.com/commons-app/apps-android-commons.git
synced 2025-10-26 20:33:53 +01:00
Merge pull request #422 from veyndan/debug-string-placeholder
Place placeholder strings in separate strings xml file
This commit is contained in:
commit
1dcc501f79
2 changed files with 9 additions and 3 deletions
6
app/src/debug/res/values/placeholder_strings.xml
Normal file
6
app/src/debug/res/values/placeholder_strings.xml
Normal 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>
|
||||
|
|
@ -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>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue