Configure map small tweak.

This commit is contained in:
GaidamakUA 2016-04-07 13:20:31 +03:00
parent 4c3bf8a0d5
commit 4f0de12515
2 changed files with 4 additions and 2 deletions

View file

@ -51,8 +51,10 @@
android:id="@+id/description"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:ellipsize="end"
android:lines="1"
android:textSize="@dimen/default_desc_text_size"
tools:text="Some subtitle text"/>
tools:text="Some very long subtitle text, that won't fit into one line"/>
<View
android:layout_width="0dp"

View file

@ -58,7 +58,7 @@ public class GpxSelectionHelper {
File file = new File(selectedGPXFiles.get(0).getGpxFile().path);
return Algorithms.getFileNameWithoutExtension(file);
} else if (selectedGPXFiles.size() == 0) {
return app.getResources().getString(R.string.shared_string_none);
return null;
} else {
return app.getResources().getString(R.string.number_of_gpx_files_selected_pattern,
selectedGPXFiles.size());