From dde4bc18bbead42d8d1c9c6c955bd7342a45abf6 Mon Sep 17 00:00:00 2001 From: androiddevkkotlin Date: Fri, 13 Nov 2020 14:03:54 +0200 Subject: [PATCH] Fix appearance --- OsmAnd/res/layout/send_gpx_fragment.xml | 19 ++++++++++++------- .../dialogs/SendGpxBottomSheetFragment.java | 1 + 2 files changed, 13 insertions(+), 7 deletions(-) diff --git a/OsmAnd/res/layout/send_gpx_fragment.xml b/OsmAnd/res/layout/send_gpx_fragment.xml index 333030a190..7981ad801f 100644 --- a/OsmAnd/res/layout/send_gpx_fragment.xml +++ b/OsmAnd/res/layout/send_gpx_fragment.xml @@ -41,7 +41,9 @@ android:id="@+id/message_field" android:layout_width="match_parent" android:layout_height="wrap_content" - android:imeOptions="actionDone" /> + android:imeOptions="actionDone" + android:background = "#E5E5E5" + android:paddingTop = "@dimen/empty_state_image_margin_bottom"/> + android:text="osmand" + android:background = "#E5E5E5" + android:paddingTop = "@dimen/empty_state_image_margin_bottom"/> @@ -86,7 +90,7 @@ android:paddingBottom="@dimen/context_menu_first_line_top_margin" android:text="@string/gpx_visibility_txt" android:textColor="?android:textColorPrimary" - android:textSize="@dimen/default_desc_text_size" + android:textSize="@dimen/default_list_text_size" osmand:typeface="@string/font_roboto_regular" /> diff --git a/OsmAnd/src/net/osmand/plus/osmedit/dialogs/SendGpxBottomSheetFragment.java b/OsmAnd/src/net/osmand/plus/osmedit/dialogs/SendGpxBottomSheetFragment.java index c47f757a92..35c6a6ec69 100644 --- a/OsmAnd/src/net/osmand/plus/osmedit/dialogs/SendGpxBottomSheetFragment.java +++ b/OsmAnd/src/net/osmand/plus/osmedit/dialogs/SendGpxBottomSheetFragment.java @@ -71,6 +71,7 @@ public class SendGpxBottomSheetFragment extends MenuBottomSheetDialogFragment { String fileName = gpxInfos[0].getFileName(); messageField.setText(Algorithms.getFileNameWithoutExtension(fileName)); + messageField.setSelection(messageField.getText().length()); final TextView visibilityName = sendOsmPoiView.findViewById(R.id.visibility_name); final TextView visibilityDescription = sendOsmPoiView.findViewById(R.id.visibility_description);