Fix appearance
This commit is contained in:
parent
5380837e63
commit
dde4bc18bb
2 changed files with 13 additions and 7 deletions
|
@ -41,7 +41,9 @@
|
||||||
android:id="@+id/message_field"
|
android:id="@+id/message_field"
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:imeOptions="actionDone" />
|
android:imeOptions="actionDone"
|
||||||
|
android:background = "#E5E5E5"
|
||||||
|
android:paddingTop = "@dimen/empty_state_image_margin_bottom"/>
|
||||||
</com.google.android.material.textfield.TextInputLayout>
|
</com.google.android.material.textfield.TextInputLayout>
|
||||||
|
|
||||||
<com.google.android.material.textfield.TextInputLayout
|
<com.google.android.material.textfield.TextInputLayout
|
||||||
|
@ -60,7 +62,9 @@
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:imeOptions="actionDone"
|
android:imeOptions="actionDone"
|
||||||
android:text="osmand"/>
|
android:text="osmand"
|
||||||
|
android:background = "#E5E5E5"
|
||||||
|
android:paddingTop = "@dimen/empty_state_image_margin_bottom"/>
|
||||||
</com.google.android.material.textfield.TextInputLayout>
|
</com.google.android.material.textfield.TextInputLayout>
|
||||||
|
|
||||||
</LinearLayout>
|
</LinearLayout>
|
||||||
|
@ -86,7 +90,7 @@
|
||||||
android:paddingBottom="@dimen/context_menu_first_line_top_margin"
|
android:paddingBottom="@dimen/context_menu_first_line_top_margin"
|
||||||
android:text="@string/gpx_visibility_txt"
|
android:text="@string/gpx_visibility_txt"
|
||||||
android:textColor="?android:textColorPrimary"
|
android:textColor="?android:textColorPrimary"
|
||||||
android:textSize="@dimen/default_desc_text_size"
|
android:textSize="@dimen/default_list_text_size"
|
||||||
osmand:typeface="@string/font_roboto_regular" />
|
osmand:typeface="@string/font_roboto_regular" />
|
||||||
|
|
||||||
<net.osmand.plus.widgets.TextViewEx
|
<net.osmand.plus.widgets.TextViewEx
|
||||||
|
@ -125,6 +129,7 @@
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:letterSpacing="@dimen/description_letter_spacing"
|
android:letterSpacing="@dimen/description_letter_spacing"
|
||||||
|
android:lineSpacingExtra="@dimen/map_widget_text_small_bottom_margin"
|
||||||
android:paddingLeft="@dimen/content_padding"
|
android:paddingLeft="@dimen/content_padding"
|
||||||
android:paddingTop="@dimen/context_menu_first_line_top_margin"
|
android:paddingTop="@dimen/context_menu_first_line_top_margin"
|
||||||
android:paddingRight="@dimen/content_padding"
|
android:paddingRight="@dimen/content_padding"
|
||||||
|
@ -178,8 +183,8 @@
|
||||||
android:letterSpacing="@dimen/text_button_letter_spacing"
|
android:letterSpacing="@dimen/text_button_letter_spacing"
|
||||||
android:singleLine="true"
|
android:singleLine="true"
|
||||||
android:text="@string/login_account"
|
android:text="@string/login_account"
|
||||||
android:textColor="?android:textColorPrimary"
|
android:textColor="?android:textColorSecondary"
|
||||||
android:textSize="@dimen/default_list_text_size"
|
android:textSize="@dimen/default_desc_text_size"
|
||||||
osmand:typeface="@string/font_roboto_regular" />
|
osmand:typeface="@string/font_roboto_regular" />
|
||||||
|
|
||||||
<net.osmand.plus.widgets.TextViewEx
|
<net.osmand.plus.widgets.TextViewEx
|
||||||
|
@ -188,8 +193,8 @@
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:letterSpacing="@dimen/description_letter_spacing"
|
android:letterSpacing="@dimen/description_letter_spacing"
|
||||||
android:maxLines="4"
|
android:maxLines="4"
|
||||||
android:textColor="?android:textColorSecondary"
|
android:textColor="?android:textColorPrimary"
|
||||||
android:textSize="@dimen/default_desc_text_size"
|
android:textSize="@dimen/default_list_text_size"
|
||||||
osmand:typeface="@string/font_roboto_regular" />
|
osmand:typeface="@string/font_roboto_regular" />
|
||||||
|
|
||||||
</LinearLayout>
|
</LinearLayout>
|
||||||
|
|
|
@ -71,6 +71,7 @@ public class SendGpxBottomSheetFragment extends MenuBottomSheetDialogFragment {
|
||||||
|
|
||||||
String fileName = gpxInfos[0].getFileName();
|
String fileName = gpxInfos[0].getFileName();
|
||||||
messageField.setText(Algorithms.getFileNameWithoutExtension(fileName));
|
messageField.setText(Algorithms.getFileNameWithoutExtension(fileName));
|
||||||
|
messageField.setSelection(messageField.getText().length());
|
||||||
|
|
||||||
final TextView visibilityName = sendOsmPoiView.findViewById(R.id.visibility_name);
|
final TextView visibilityName = sendOsmPoiView.findViewById(R.id.visibility_name);
|
||||||
final TextView visibilityDescription = sendOsmPoiView.findViewById(R.id.visibility_description);
|
final TextView visibilityDescription = sendOsmPoiView.findViewById(R.id.visibility_description);
|
||||||
|
|
Loading…
Reference in a new issue