Merge pull request #9987 from AlexSyt/fix_text_overlapping_9984

#9984 Fix overlapping text
This commit is contained in:
Vitaliy 2020-10-08 16:28:08 +03:00 committed by GitHub
commit 31d0d2371c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -6,33 +6,37 @@
android:layout_width="match_parent"
android:layout_height="match_parent">
<FrameLayout
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:gravity="center_vertical"
android:paddingLeft="@dimen/content_padding"
android:paddingRight="@dimen/content_padding">
<net.osmand.plus.widgets.TextViewEx
android:id="@android:id/title"
android:layout_width="wrap_content"
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_gravity="start"
osmand:typeface="@string/font_roboto_regular"
android:layout_weight="1"
android:textColor="?android:textColorPrimary"
android:textSize="@dimen/default_list_text_size"
tools:text="title"/>
osmand:typeface="@string/font_roboto_regular"
tools:text="Some very long title to check overlapped texts" />
<Space
android:layout_width="@dimen/content_padding"
android:layout_height="match_parent" />
<net.osmand.plus.widgets.TextViewEx
android:id="@android:id/summary"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="end"
osmand:typeface="@string/font_roboto_medium"
android:textColor="?attr/active_color_basic"
android:textSize="@dimen/default_list_text_size"
tools:text="summary"/>
osmand:typeface="@string/font_roboto_medium"
tools:text="summary" />
</FrameLayout>
</LinearLayout>
<com.google.android.material.slider.Slider
android:id="@+id/slider"