Configure map small tweak.
This commit is contained in:
parent
4c3bf8a0d5
commit
4f0de12515
2 changed files with 4 additions and 2 deletions
|
@ -51,8 +51,10 @@
|
||||||
android:id="@+id/description"
|
android:id="@+id/description"
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
|
android:ellipsize="end"
|
||||||
|
android:lines="1"
|
||||||
android:textSize="@dimen/default_desc_text_size"
|
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
|
<View
|
||||||
android:layout_width="0dp"
|
android:layout_width="0dp"
|
||||||
|
|
|
@ -58,7 +58,7 @@ public class GpxSelectionHelper {
|
||||||
File file = new File(selectedGPXFiles.get(0).getGpxFile().path);
|
File file = new File(selectedGPXFiles.get(0).getGpxFile().path);
|
||||||
return Algorithms.getFileNameWithoutExtension(file);
|
return Algorithms.getFileNameWithoutExtension(file);
|
||||||
} else if (selectedGPXFiles.size() == 0) {
|
} else if (selectedGPXFiles.size() == 0) {
|
||||||
return app.getResources().getString(R.string.shared_string_none);
|
return null;
|
||||||
} else {
|
} else {
|
||||||
return app.getResources().getString(R.string.number_of_gpx_files_selected_pattern,
|
return app.getResources().getString(R.string.number_of_gpx_files_selected_pattern,
|
||||||
selectedGPXFiles.size());
|
selectedGPXFiles.size());
|
||||||
|
|
Loading…
Reference in a new issue