Fixed 1955 poi name no longer truncated to two lines.

This commit is contained in:
GaidamakUA 2015-12-01 13:41:43 +02:00
parent 1cb86ef930
commit 785c370229

View file

@ -28,7 +28,8 @@
<LinearLayout <LinearLayout
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="37dp" android:minHeight="44dp"
android:layout_height="wrap_content"
android:gravity="center"> android:gravity="center">
<net.osmand.plus.widgets.TextViewEx <net.osmand.plus.widgets.TextViewEx
@ -52,10 +53,12 @@
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_marginLeft="16dp" android:layout_marginLeft="16dp"
android:layout_marginRight="16dp" android:layout_marginRight="16dp"
android:layout_marginTop="4dp"
android:layout_marginBottom="4dp"
android:textColor="?android:attr/textColorPrimary" android:textColor="?android:attr/textColorPrimary"
android:textSize="@dimen/default_desc_text_size" android:textSize="@dimen/default_desc_text_size"
osmand:typeface="@string/font_roboto_medium" osmand:typeface="@string/font_roboto_medium"
tools:text="poi name"/> tools:text="very very very long poi name"/>
</LinearLayout> </LinearLayout>
<View <View
@ -65,7 +68,8 @@
<LinearLayout <LinearLayout
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="37dp" android:minHeight="44dp"
android:layout_height="wrap_content"
android:gravity="center"> android:gravity="center">
<net.osmand.plus.widgets.TextViewEx <net.osmand.plus.widgets.TextViewEx